The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Quick Search dropdown for prefixes
Does anyone know of a quick search drop down menu mod for prefixes? For example, like the dropdown at the top of this board, so you can quicksearch from the main menu to only pull up threads with a selected prefix.
Thanks in advance! --------------- Added [DATE]1307559829[/DATE] at [TIME]1307559829[/TIME] --------------- I have written my own, so if anyone is interested in the code, here it is. This is for VB 4.1.3 In FORUMDISPLAY template... Find : Code:
<ul class="popupgroup forumdisplaypopups" id="forumdisplaypopups"> Add after : Code:
<!-- ADDED PREFIX SORT TO TOP --> <vb:if condition="$show['threadslist']"> <vb:if condition="$prefix_options"> <li> <form id="forum_display_options" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php" method="get"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="f" value="{vb:raw forumid}" /> <input type="hidden" name="page" value="{vb:raw pagenumber}" /> <input type="hidden" name="pp" value="{vb:raw perpage}" /> <input type="hidden" name="daysprune" value="{vb:rawphrase beginning}" /> <input type="hidden" name="sort" value="{vb:rawphrase last_post_time}" /> <input type="hidden" name="order" value="desc" /> <label for="sel_prefixid" style="float:left; padding:5px 10px 0 0;">{vb:rawphrase prefix}</label> </li> <li> <select name="prefixid" class="primary" id="sel_prefixid"> <option value="" {vb:raw prefix_selected.anythread}>{vb:rawphrase any_thread_meta}</option> <option value="-2" {vb:raw prefix_selected.anyprefix}>{vb:rawphrase any_prefix_meta}</option> <option value="-1" {vb:raw prefix_selected.none}>{vb:rawphrase no_prefix_meta}</option> {vb:raw prefix_options} </select> <p class="description">{vb:rawphrase select_threads_with_prefix_description}</p> </li> <li> <input type="submit" class="button" value="{vb:rawphrase show_threads}" style="padding: 9px 0 0 0;" /> </li> </form> </vb:if> </vb:if> <!-- END PREFIX SORT TO TOP --> |
#2
|
|||
|
|||
can you provide a demo page for this mod
|
#3
|
|||
|
|||
I can confirm this works. I've removed the style for the submit button though as the padding didn't look right. Screenshot attached.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|