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 April 1st, 2009, 11:51 AM   #1 (permalink)
Member
 
Join Date: Apr 2008
Posts: 30
Charge for ads with < x posts?

Hi,

I know this isn't a feature, but I'm hoping you can point me in the right direction.. I'd like to charge for ads, if the users has < x posts.. Would that be something simple to mod?

Thanks
David
dwessell is offline   Reply With Quote
Old April 1st, 2009, 12:18 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well you would definately have to mod the code for sure. Just thinking but possible in your uploadproduct script you would have to query how many posts a user has and then add to the conditionals to pay the restriction on the user post total someway.
__________________
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 April 1st, 2009, 12:21 PM   #3 (permalink)
Member
 
Join Date: Apr 2008
Posts: 30
I know I'm taking the lazy road here in asking, so please forgive me.. I'm not at a spot where I can get into the code, but just had the idea..

Is the uploadproduct script the only place that I would have to mod? That is, is the payment information composed there as well?

Without looking at the code (And I know it's retarded to even think about it while not looking at the code).. But I could put a if statement around the payment code.. If posts < x make them pay... etc..

Thanks
David

Quote:
Originally Posted by Chuck S View Post
well you would definately have to mod the code for sure. Just thinking but possible in your uploadproduct script you would have to query how many posts a user has and then add to the conditionals to pay the restriction on the user post total someway.
dwessell is offline   Reply With Quote
Old April 1st, 2009, 12:25 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well yeah thats why there are mod forums if other users find your idea interesting and want to assist. I cant say whether thats the only place you want to mod as you would code whatever mod up to act the way you want.

well you would have to query in some manner the user posts and define the variable say $userposts.

But the payment line is this twice in that file

Code:
Content visible to verified customers only.
If you define the variable $userposts you would change those lines like this

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
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
Add option to prevent ads unless X vbulletin posts xluk Classifieds Suggestions 2 April 16th, 2009 05:21 AM
Classifieds vB 3.6.5 - I want to charge for ads - but stay out of the transactions? Pro Jules Before You Buy 13 May 18th, 2007 05:35 AM
Promote ads in forum posts daxter Classifieds How do I...? 6 March 23rd, 2007 08:47 AM


All times are GMT -5. The time now is 01:38 AM.

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