Author |
Topic |
Rob Poretti
Junior Member
Canada
435 Posts |
Posted - 18 May 2001 : 08:45:37
|
quote:
Speaking of "searching"... another nice mod is to be able to search other forums. I needed some technical help on a subject and ended up going to 5 different forums, searching each. Would have been nice to search (for example), all ubb forums (already configured in a setup routine).
Understand??
I know they can go to the other forums, but I want them to stay on my board.
-pat-
This is a tough one. The searches used for Snitz access the database. To search someone elses database you need server permission, which just doesn't happen. Anyone one out there have any ideas? Am I off base here?
Cheers!
Rob Poretti Sascom Marketing Group ~ Toronto vox.905.825.5373 fax.905.825.5960 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 05 June 2001 : 03:52:39
|
I wanted to change the look of this to something more like what Huwr has, with the selection in a select box. I also wanted to put it on every page on my site but I couldn't get it to work till I changed action=<%=Request.ServerVariables("HTTP_REFERER")%> to action=<%=Request.ServerVariables("Path_Info")%>
@tomic
|
|
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 05 June 2001 : 07:26:40
|
I changed Rob's WWW Search to a drop down menu and also changed it so when you click on "Search Web", it opens the engine in a new page. It also works on any page you put it on. All you may have to do is edit line 53 <form method=post id=websearch name=websearch target="_blank" action=forum/search.asp> to the right path.
I just have my front_searchweb.asp file in my forum directory and use <!--#INCLUDE FILE="forum/front_searchweb.asp" line on the pages I want it on. Just make sure line #53 is pointing to the right path of search.asp
You can download a zip file here.
Intrepidone
Edited by - Intrepidone on 05 June 2001 09:33:17 |
|
|
Rob Poretti
Junior Member
Canada
435 Posts |
Posted - 05 June 2001 : 13:26:26
|
Kewl... thanks... might use this myself!
Rob Poretti Sascom Marketing Group ~ Toronto vox.905.825.5373 fax.905.825.5960 |
|
|
gigio
Starting Member
Italy
26 Posts |
Posted - 14 June 2001 : 06:44:49
|
Hi all. Made some changes to Rob's code. The idea was to give users the Search The Web option only after a search in the forums and to use the first search string as query for the engines (you can still give them the option from the main search page). Changed a bit of graphics too and a little javascript to trap empty input text.
Readme included with instructions.
Download: http://www.blweb.it/snitzmods/websearch-AddOn.zip Demo: http://www.blweb.it/studentforum/search.asp
Gigio
|
|
|
Rob Poretti
Junior Member
Canada
435 Posts |
Posted - 14 June 2001 : 09:02:23
|
Hi gigio,
Looks great!
One comment, I tried to do a search with an empty input box and it does nothing -- Which is good in that it doesn't attempt to search for nothing. However, it might be nice to display something like "Please enter some keywords to search on." Just a thought... thanks for the update though!
Cheers!
Rob Poretti Sascom Marketing Group ~ Toronto vox.905.825.5373 fax.905.825.5960 |
|
|
gigio
Starting Member
Italy
26 Posts |
Posted - 19 June 2001 : 04:37:24
|
Hi rob, yes, maybe a bit of feedback in case of empty keywords wouldn't be bad Here is the code: at the beginning of the file inc_websearch.asp replace the only javascript function with this one:
<script language=javascript> function check(f) { if(f.searchvalue.value=="") { alert("Please enter some keywords to search on."); return false; } return true; } </script>
Updated the zip too.
Gigio
|
|
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 19 June 2001 : 20:47:23
|
I'll have to give your's a shot gigio,
I went to your demo and get a RunTime error:Object Expected,
Hey Rob, if you respond to this post, do you know of any good but cheap ISP's in TO? I will be going to TO for 6 weeks to a pain clinic at the hospital and will be put up in a hotel. I am definately bringing my puter with me cause 6 weeks is just to long so I will want to get an internet connection. I was thinking about just getting on with Sympatico Dial-Up before I leave here but I think your only allowed X amount of minutes for roaming, unless things have changed and I can access Sympatico any where.
Intrepidone |
|
|
Rob Poretti
Junior Member
Canada
435 Posts |
Posted - 13 July 2001 : 03:17:34
|
Sorry it took so long to respond...
having been getting Snitz notifications again...
I use Sympatico adial-up as a back-up to my Cogeco cable modem. Works fine and reliable. It is my back-up. Thats all I can tell you as I don't use it a LOT.
Cheers!
Rob Poretti Sascom Marketing Group ~ Toronto vox.905.825.5373 fax.905.825.5960 |
|
|
Topic |
|