The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to make search.php page, Sort Results by Relevancy by default?
Hi guys,
How to make search.php page, Sort Results by Relevancy by default, instead of Last Posting Date i check in search_forums template part below, there is no code in bold, to selected Last Posting Date by default Code:
<fieldset class="fieldset"> <legend>$vbphrase[sort_results_by]</legend> <div style="padding:$stylevar[formspacer]px"> <select name="sortby"> <option value="rank" $sortbyselected[rank]>$vbphrase[relevancy]</option> <option value="title" $sortbyselected[title]>$vbphrase[title]</option> <option value="replycount" $sortbyselected[replycount]>$vbphrase[number_of_replies]</option> <option value="views" $sortbyselected[views]>$vbphrase[number_of_views]</option> <option value="threadstart" $sortbyselected[threadstart]>$vbphrase[thread_start_date]</option> <option value="lastpost" $sortbyselected[lastpost]>$vbphrase[last_posting_date]</option> <option value="postusername" $sortbyselected[postusername]>$vbphrase[username]</option> <option value="forum" $sortbyselected[forum]>$vbphrase[forum]</option> </select> <select name="order"> <option value="descending" $sortorderselected[descending]>$vbphrase[in_descending_order]</option> <option value="ascending" $sortorderselected[ascending]>$vbphrase[in_ascending_order]</option> </select> </div> </fieldset> please help to do that give a clue, or if there is setting for that |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|