![]() |
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"> |
Try a plugin using hook location newthread_form_start using something like this:
PHP Code:
|
I managed to get it working by changing line 143 in functions_prefix.php
PHP Code:
|
All times are GMT. The time now is 04:00 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:
|