PDA

View Full Version : New radio button field in postbit only for certain criteria...?


TheMusicMan
09-28-2005, 05:54 PM
Hi All

Here's an easy one for the experts (note: I am not an expert and so this is not easy for me hehehehe...)

I am wanting to add a new data item to the postbit in the form of a radio button that is selctable and only appears for new threads in a specific forumID.

I want users who are able to post in this specific forum to identify the thread they are entering as a particular type (or not) by selecting (or not) this radio button (which is off by default).

I appreciate I'll need to add a new data item to one of the vB tables somewhere, but I have no idea how to safely do this nor how to code this into the calling php file(s).

I will also need to be able to identify threads where this radio button is set to 'on' and want to use a conditional in the threadview template to show these type of threads in a different color. As long as I know the identity of the $variable to check for in the conditional I am happy to code the html in the postbit or posbit_legacy templates, but desperately need help with both the php and the MySQL.

Is anyone willing to lend a hand and help out a poor Welshman on this... :) there might be a small PayPal donation heading in the direction of whoever help sme get this working.

Thanks all...