The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
|||
|
|||
![]() Quote:
- Choose newthread_form_complete from the hook location drop-down - Enter a title so that later you'll remember what it does - Paste the code in the large box - Click the "Yes" radio button and hit save BTW, if you want to have the prefix selected instead of hiding the prefix, you can use this: Code:
if ($foruminfo['options'] & $vbulletin->bf_misc_forumoptions['prefixrequired']) { if (preg_match_all('#<option value="([A-Za-z0-9_]+)"#', $prefix_options, $matches) == 1) { $prefix_options = preg_replace('#<option value="([A-Za-z0-9_]+)"#', '\\0 selected="selected"', $prefix_options); } } That only selects one if there's only one and it's required, but you could modify it of course. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|