|
|
|
|
Joined: Nov 2002
Posts: 116
Journeyman
|
|
Journeyman
Joined: Nov 2002
Posts: 116 |
Hello How can I make as a default, searching in all posts and not the posts which are dated newer than one week ?
Thanks
|
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
|
Addict
Joined: Apr 2002
Posts: 1,768 |
templates/default/search.tmpl Remove the selected="selected" attribute from the 1-week option, and add it to the all-posts option: <select name = "Old" class="formboxes"> <option value="1day">{$ubbt_lang['SEARCH_1DAY']}</option> <option value="2days">{$ubbt_lang['SEARCH_2DAY']}</option> <option [:"blue"]selected="selected"[/] value="1week">{$ubbt_lang['SEARCH_1WEEK']}</option> <option value="2weeks">{$ubbt_lang['SEARCH_2WEEK']}</option> <option value="3weeks">{$ubbt_lang['SEARCH_3WEEK']}</option> <option value="1month">{$ubbt_lang['SEARCH_1MONTH']}</option> <option value="3months">{$ubbt_lang['SEARCH_3MONTH']}</option> <option value="6months">{$ubbt_lang['SEARCH_6MONTH']}</option> <option value="1year">{$ubbt_lang['SEARCH_1YEAR']}</option> <option [:"red"]selected="selected"[/] value="allposts">{$ubbt_lang['SEARCH_ALLPOST']}</option> </select>
|
|
|
|
|
Joined: Nov 2002
Posts: 116
Journeyman
|
|
Journeyman
Joined: Nov 2002
Posts: 116 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 7368
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 7
|
|
|
|
|
|