 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
June 27th, 2010, 11:41 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
| Payed custom field
Hi.
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"
Next:
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.
Thanks
|
| |
June 27th, 2010, 01:23 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
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.
|
| |
June 27th, 2010, 02:20 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
|
Hi Chuck.
Do you have an idea how it might be able to do with the stock code, or maybe with minor modification?
|
| |
June 27th, 2010, 02:36 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
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.
|
| |
June 27th, 2010, 02:43 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
|
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?
|
| |
June 27th, 2010, 03:09 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
|
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" ? Code: Content visible to verified customers only.
|
| |
June 27th, 2010, 04:18 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
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.
|
| |
June 28th, 2010, 01:05 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jun 2010
Posts: 142
|
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());
|
| |
June 28th, 2010, 10:41 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Feel free to post in the mod forums which is outside the support forums.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:51 AM. | |