PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Payed custom field (http://www.photopost.com/forum/classifieds-how-do-i/143238-payed-custom-field.html)

Simka June 27th, 2010 11:41 AM

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

Chuck S June 27th, 2010 01:23 PM

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.

Simka June 27th, 2010 02:20 PM

Hi Chuck.

Do you have an idea how it might be able to do with the stock code, or maybe with minor modification?

Chuck S June 27th, 2010 02:36 PM

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.

Simka June 27th, 2010 02:43 PM

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?

Simka June 27th, 2010 03:09 PM

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.

Chuck S June 27th, 2010 04:18 PM

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.

Simka June 28th, 2010 01:05 AM

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());

Chuck S June 28th, 2010 10:41 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97