Previous Thread
Next Thread
Print Thread
Rate Thread
#275586 06/30/2004 1:35 AM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
I started this post over at ubbcentral but
Just wanted to post it here since this may get a response.

http://www.ubbcentral.com/boards/showfla...p;fpart=1#37550

Sponsored Links
sdf123 #275587 07/05/2004 10:04 AM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Ok I started it but need a little direction...
in dosearch.tmpl
Code
<br />FIND<br />=====================<br />$tbopen<br /><tr><br /><td class="tdheader"><br />{$ubbt_lang['SEARCH_RES']}: $headerwords $excluded<br /></td><br /></tr><br />$tbclose<br /><br />ADD AFTER<br />===============<br />$tbopen<br /><tr><br /><td class="lighttable"><br /><form method="post" action="{$config['phpurl']}/dosearch.php"><br />Search Options:<br />&nbsp;<br /><select name="topic" class="formboxes"><br /><option value="">Select...</option><br /><option value="0">All Post & Replies</option><br /><option value="1">Topic Starters</option><br /></select><br />&nbsp;<br />Show Preview: <input type="checkbox" name="bodyprev" value="1" class="formboxes" /><br />{$ubbt_lang['PREVIEW']}<br /><input type="submit" name="buttsubmit" value="{$ubbt_lang['BUTT_SUBMIT']}" class="buttons" /><br /></form><br /></td><br /></tr><br />$tbclose<br />


But I am looking at the dosearch.php script and can't figure out how to get it to work. When user hits active topic these should be "set" to the default settings allowing user to modify as they want. Then hit submit again to update the view.

You can see it in INACTION at my site. (hit the link below)

sdf123 #275588 07/05/2004 5:19 PM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
I changed it a bit further I got it part working but can't get it to change or "toggle" current state vs change state...

Code
<br />$tbopen<br /><tr><br /><td class="lighttable"><br /><form method="post" action="{$config['phpurl']}/dosearch.php"><br /><input type="hidden" name="Cat" value="$Cat" /><br /><input type="hidden" name="fromsearch" value="1" /><br /><input type="hidden" name="Words" value="" /><br /><input type="hidden" name="Forum[]" value="All_Forums" /><br /><input type="hidden" name="daterange" value="1" /><br /><input type="hidden" name="newertype" value="d" /><br /><input type="hidden" name="newerval" value="1" /><br /><input type="hidden" name="fromsearch" value="1" /><br />Search Options:<br />&nbsp;<br /><input type="checkbox" name="topic" value="1" class="formboxes" /><br />Topics Only<br />&nbsp;<br /><input type="checkbox" name="bodyprev" value="1" class="formboxes" /><br />Show Body Preview<br />&nbsp;<br />Show<br /><input type="text" name="Limit" value="25" size="3" class="formboxes" /><br />Per page<br /><input type="submit" name="buttsubmit" value="{$ubbt_lang['BUTT_SUBMIT']}" class="buttons" /><br /></form><br /></td><br /></tr><br />$tbclose<br />

sdf123 #275589 07/05/2004 8:10 PM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
AHHH Sorry just stressing trying to figure out the

correct conditional syntax when but nothing I try seems to work?!

help

sdf123 #275590 07/05/2004 8:20 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
still trying to figure out jusdt what you are trying to acomplish and also with the search engine optimization it doesn't allow you to do another search as quickly as I think your trying to achieve on the fly.

Sponsored Links
234234 #275591 07/05/2004 8:45 PM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Look at my site. And click active topics. Then you can see my "options" I would like the end user to decide how to view the active topics. with or with out body preview and all topics or only topic starters.

sdf123 #275592 07/05/2004 11:24 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I did OW and then I select say Body Preview and get this

You cannot make another search at this time. Please try again in a few minutes.

Please use your back button to return to the previous page.

which of course annoys me so I don't wait.

234234 #275593 07/06/2004 4:55 PM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Since I couldn't figure it out I went in a different direction...

here is the mod

https://www.ubbdev.com/forum/showflat.php?Cat=&Number=116470&page=0&vc=#Post116470

Enjoy..

Last edited by oceanwest; 07/06/2004 7:05 PM.

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)