Payed custom field
How do I create a new custom field with payment option like the default "Make ad bold"
I need a new custom field "Show on forum"
How do I create a sidebar Forum Block for VB4 with those ADS that have payed for the option "Show on Forum"?
Something like an payed featured ad.
You would have to modify code and templates there is no option in the program to be able to add payment options other than whats there.
Do you have an idea how it might be able to do with the stock code, or maybe with minor modification?
There would never be a minor modification for something like this if your looking to replicate how our payment system works for those fields. It needs new code created as well as database field so you or someone would actually need to create a modification.
Lets say I just use the "Make italic" field thats allready there, and rename to "Show on forum", could I then test on that field with a condition for showing that ad on forum?
How would I do that?
Chuck, could this code I have found i mod corner, be modified to just pull ads that members have bought the option "Make ad Italic" ?
I am not sure what you want would specifically work you need to add a specific field the thing your talking is an array with the other two fields so it really is one specific field.
I wanted the sql code above, to only pull ads where advertiser have payed for "Make ad italic"
$result = mysql_query("SELECT id,cat,bigimage FROM cp_products WHERE bigimage != '' order by rand() LIMIT 1" ) or die(mysql_error());
Feel free to post in the mod forums which is outside the support forums.
|All times are GMT -5. The time now is 02:28 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0