|
|
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: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|