Previous Thread
Next Thread
Print Thread
Rate Thread
#244988 05/01/2003 11:50 AM
Joined: Nov 2002
Posts: 116
H
Hal9000 Offline OP
Journeyman
OP Offline
Journeyman
H
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

Sponsored Links
Joined: Apr 2002
Posts: 1,768
D
Addict
Offline
Addict
D
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
H
Hal9000 Offline OP
Journeyman
OP Offline
Journeyman
H
Joined: Nov 2002
Posts: 116
Thank you


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,556
Posts293,846
Members13,843
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,814
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Gizmo 1
Top Likes Received
isaac 69
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210624)
Responsive Width:

PHP: 7.3.20 Page Time: 0.011s Queries: 21 (0.007s) Memory: 0.7875 MB (Peak: 0.8212 MB) Data Comp: Zlib Server Time: 2021-06-24 09:46:16 UTC
Valid HTML 5 and Valid CSS