![]() |
vBulletin Prefix Variables
Does anyone happen to know what the vBulletin variable for prefixes is?
I'm currently trying to customize the form hack for vBulletin 3.7, and I won't be able to use it unless I can get it to specify a thread prefix based on a radio button field. |
Code:
$threadinfo[prefix_plain_html] |
Thanks. Should those variables contain strings, or just the prefix IDs assiged from the admin panel?
|
They will contain the string (ie. the actual prefix text).
|
Thanks again for the quick reply!
Given I enter the prefix strings into the admin panel using the same HTML as below, would this code work and apply a thread prefix? Below is an excerpt from the Form Hack mod which I'm trying to adapt to my 3.7 installation. PHP Code:
PHP Code:
--------------- Added [DATE]1216664523[/DATE] at [TIME]1216664523[/TIME] --------------- Edit: it looks like I need to use the $newpost[prefixid] variable instead, from what I can tell! --------------- Added [DATE]1216682829[/DATE] at [TIME]1216682829[/TIME] --------------- Got everything working now- see here for more details: https://vborg.vbsupport.ru/showthrea...51#post1580951 Now the Form Hack will be able to add prefixes to the threads it creates as well. |
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|