The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Auto select prefix
I want to make a simple change in my forum.
If a user is browsing the threadlist with a prefixid "sold" and the user clicks on new thread I made it navigate to newthread.php?do=newthread&f=123&prefixid=sold Once clicked on the new thread button i want the prefix with prefixid "sold" to be selected in the dropdown box. I got this far in the vbulletin templates but not really sure what to edit. Code:
<select name="prefixid" id="prefix" tabindex="1"> <option value="">{vb:rawphrase no_prefix_meta}</option> {vb:raw prefix_options} </select> |
#2
|
||||
|
||||
Try a plugin using hook location newthread_form_start using something like this:
PHP Code:
|
Благодарность от: | ||
scoutz |
#3
|
|||
|
|||
I managed to get it working by changing line 143 in functions_prefix.php
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|