PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 8th, 2006, 01:49 PM   #1 (permalink)
Member
Verified Customer
 
rcull's Avatar
 
Join Date: Dec 2004
Posts: 230
charging for highlight, bold, italics

I know I have something screwed up...

I have paypal set up in "Payment Options".

I have prices in my "Edit Categories" for options "highlight, bold, italics"

When I ad a charge to the basic cost of the ad, it does not show up.

They do not show up when uploading ads, no (for an additional $2.00)

I have probably changed a file/files somewhere which is interfereing with the process. Which files should I check?

Most of my problems have been solved by going back to the originals...

Last edited by rcull; October 8th, 2006 at 02:02 PM.
rcull is offline   Reply With Quote
Old October 8th, 2006, 02:02 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Use Payment is that set to yes in edit usergroups?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 8th, 2006, 03:25 PM   #3 (permalink)
Member
Verified Customer
 
rcull's Avatar
 
Join Date: Dec 2004
Posts: 230
Allow Payment is set to "yes"

Last edited by rcull; October 8th, 2006 at 03:30 PM.
rcull is offline   Reply With Quote
Old October 8th, 2006, 03:45 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
I suggest you run unmodified files as I see no issues with this functionality in the default code
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 15th, 2008, 05:18 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Hi Chuck,
I've just upgraded to version 3.0 and have the same problem as above:
- I've added all new files.
- 'Registered Users' Usergroup has 'Allow Payment?' set to 'Yes'.
- Classified Category has 'Cost of highlighting' set to 1.00

But still no cost appears next to 'Check here to highlight your ad:' when a 'Registered User' is creating an Ad with uploadproduct.php,

Any ideas?

Many thanks
Ron
Ronseal is offline   Reply With Quote
Old March 15th, 2008, 07:52 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
I would have to see how you have it setup.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 15th, 2008, 07:57 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
I haven't changed any of the settings from version 2.6 Chuck, all I've done is upload the new files. What settings have you in mind?
Ronseal is offline   Reply With Quote
Old March 15th, 2008, 08:17 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
None of that was changed since 2.6 either either.

The code is quite simple we look to see a user requires payment and then setup the costs if there are costs.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2008, 01:34 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Hi Chuck,
The uploadproduct.php is unchanged from the 'pp-classifieds30' install files I uploaded yesterday. 'payment' and 'Highlight' in the 'usergroups' table are both set to 1 for 'Registered Users', and 'adhigh' is set to '2.00' in the 'categories' table for the specified category.

Everything appears perfectly in place any other ideas?

----------------------------- STOP -----------------------------
Just found out the difference!

In your code above the second line reads:
if ( $User['payment'] == 1 )

But in the new download it reads:
if ( $User['payment'] == 1 && $freecheck == "yes" )

I've just removed '&& $freecheck == "yes" ' and it works.

So what's this little extra piece of code for?
Ronseal is offline   Reply With Quote
Old March 16th, 2008, 11:00 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
No use the correct code freecheck is correct.

Make sure free ads is set to 0 in admin. See if your query fails to add payment then that tells me you have free ads set to something other than 0.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2008, 11:06 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
In the 'PhotoPost Classifieds UserGroup Editor' every usergroup has 'Free Ads?' set to '0' and it always has been.

And in he database all group in the 'usergroups' table has 'free' set to '0'

I'll go and add the above code back as you've requested.

Last edited by Ronseal; March 16th, 2008 at 11:15 AM.
Ronseal is offline   Reply With Quote
Old March 16th, 2008, 11:21 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Just re-introduced the 3.0 version of uploadproduct.php and I'm back to square one. I can't run a live 'Classifieds' section like this so got to remove it again...
Ronseal is offline   Reply With Quote
Old March 16th, 2008, 12:36 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
You can redownload the build and upload the uploadproduct.php file. You need to have a base charge for an ad but the free stuff I added an extra conditional on for freecheck.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2008, 12:41 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2007
Posts: 13
Unhappy Payment for Ads knocked out

Hi Chuck,

I posted the question last time in the incorrect place.

I have tried the removal of the $freecheck in uploadproduct.php and you can see the amounts alongside the check boxes. BUT the ad still gets uploaded and bypasses the PayPal routine.

Thus no ads are being paid for - if there is no solution in the short term can I back out the upgrade by overwriting with the full classifieds backup made just prior to the version 3.0 upgrade?

cheers

Roy
roymogg is offline   Reply With Quote
Old March 16th, 2008, 12:46 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
I already answered in your thread and this one

redownload the code and upload uploadproduct.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2008, 01:19 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 66
Thanks Chuck,
I've just downloaded the new 3.0 install (Build: 3/16/08) and uploaded the new 'uploadproduct.php' file and on first glance all appears to be working fine.

Great support as always and I'll get back to you if I spot any problems.
Many thanks.
Ronseal is offline   Reply With Quote
Old March 16th, 2008, 01:43 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not a problem have a good weekend.

Change I made made no sense as before I simply used yes or no and it did not work but I changed freecheck to 0 and 1 and it works fine go figure
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charging some classes of Users -- and not others Big Kahuna Classifieds How do I...? 1 June 19th, 2006 09:19 PM
Charging Certain User Groups -- but not others Big Kahuna Classifieds Installation & Upgrades 1 June 17th, 2006 05:07 PM
Payments for Highlight, Italic and Bold not working. MikeWarner Classifieds How do I...? 8 February 25th, 2006 04:55 PM
How would you set up charging for categories? imported_DougM How Do I? - vBulletin 3.5.X 1 October 10th, 2005 01:49 PM


All times are GMT -5. The time now is 10:37 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0