Quote:
Originally Posted by MoMan
Thanks a lot for the reply!
Do you also happen to know what the vBulletin variable for prefixes is?
|
Quote:
Originally Posted by RedGTiVR6
That I don't know, but you might try the programing discussions forum?
|
I've looked through the XML file and found a way for a radio option to assign a thread prefix. Here's the code I added, if anyone else is interested:
Find:
PHP Code:
$newpost['title'] =& $posttitle;
Below Add:
PHP Code:
if ($radiochoice2a == $radioanswer2)
{
$newpost['prefixid'] = '7';
}
Modify the conditional to your needs, obviously, or add a second or third one, depending on how many prefixes you're using. You'll need to get the prefix IDs from the admin panel's prefix list page.