{$lang.MAX_RANGE} {$config.MAX_SEARCH_RAN..."> {$lang.MAX_RANGE} {$config.MAX_SEARCH_RAN...">
Previous Thread
Next Thread
Print Thread
Hop To
#194334 08/13/2007 12:27 AM
Joined: Jun 2007
Posts: 51
P
Journeyman
Journeyman
P Offline
Joined: Jun 2007
Posts: 51
I made what i thought was a simple edit to the search.tpl

<input type="hidden" name="daterange" value="1" />
{$lang.MAX_RANGE} {$config.MAX_SEARCH_RANGE_VALUE} {$config.MAX_SEARCH_RANGE_TYPE}.
<br /><br />
{$lang.NEWER} <input type="text" name="newerval" size="2" class="form-input" value="1" />
<select name="newertype" class="form-select">
<option value=""></option>
<option value="d">{$lang.DAY}</option>
<option value="w">{$lang.WEEK}</option>
<option value="m">{$lang.MONTH}</option>
<option value="y" select="select">{$lang.YEAR}</option>
</select>

TO simply change the default newtype to 1 year instead of 1 week.

Now my advanced search page doesnt work at all. frown

how do i fix it? or can someone email me the default template?
petergar@yahoo.com

Thanks,
Peter



Peter Gariepy

www.aaca.org - Antique Automobile Club of America
http://forums.aaca.org - AACA Forums
www.iCLIPART.com - Net's BEST clipart site!
www.MrBeer.com - Brew beer at home.
peter gariepy #194335 08/13/2007 2:04 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
The default template will still be in your install archive. Please note that no one will provide the template files to you other than the archive as there is a very thin line regarding the licensing agreement and sharing files.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #194345 08/13/2007 3:04 PM
Joined: Jun 2007
Posts: 51
P
Journeyman
Journeyman
P Offline
Joined: Jun 2007
Posts: 51
thanks gizmo.

as to the minor change i made...
i simply want to default to 1 year instead of 1 week. why didnt my edit work?

thanks in advance.

peter


Peter Gariepy

www.aaca.org - Antique Automobile Club of America
http://forums.aaca.org - AACA Forums
www.iCLIPART.com - Net's BEST clipart site!
www.MrBeer.com - Brew beer at home.
peter gariepy #194350 08/13/2007 6:00 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
m'not sure, your best bet is inquiring over at ubbdev with what you're shooting for as hacks to threads are slightly out of topic here.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #194371 08/14/2007 11:50 AM
Joined: Jun 2006
Posts: 196
I
enthusiast
enthusiast
I Offline
Joined: Jun 2006
Posts: 196
It didn't work because the attribute is 'selected="selected"'


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 1,020 guests, and 174 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)