|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
Joined: Apr 2002
Posts: 474 |
Ok I started it but need a little direction... in dosearch.tmpl <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 /> <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 /> <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)
|
|
|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
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... <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 /> <br /><input type="checkbox" name="topic" value="1" class="formboxes" /><br />Topics Only<br /> <br /><input type="checkbox" name="bodyprev" value="1" class="formboxes" /><br />Show Body Preview<br /> <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 />
|
|
|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
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
|
|
|
|
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.
|
|
|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
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.
|
|
|
|
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.
|
|
|
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: 449
Joined: February 2008
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|