View Full Version : Anyone got any search hacks?
netspark
03-08-2001, 02:31 AM
I am putting together an investment website, and I would like to have a simple search input box that will search only the titles of each thread. For example, I will have a thread for each stock and the title of each thread will be the stock ticker symbol (MSFT, YHOO, IBM, etc).. I would like to have a single input box that would allow a user to enter only the stock symbol and redirect the user to the search results, or directly to the thread itself. Does anyone know what the HTML code might look like? I've tried a few things and none seem to work..
Thanks for any help!!
Mike
You don't need a hack for that, just make a form and send to the search, not hard to do at all ;)
conan
If I send a form to search.php, what parameters would I need to pass to only search the "thread title"? Right now search.php performs a full-text search, if I'm not mistaken..
I would like an end result like this:
....../board/forumdisplay.php?thread=MSFT
but I believe Vbulletin uses threadid and forumid or something like that?
I guess I'm not really familiar with mySQL enough to know how to send a form with parameters that will filter only the "thread" titles.
I guess I'm looking to do something similar to http://www.RagingBull.com where there is an input box on the left, and you type a stock symbol and it will search only the Message Board titles (not a full-text search)..
If anyone has a little extra time and can give me a code example of how I can do this, I would be EXTREMELY grateful
Thanks!
Mike
the_sisko
11-06-2002, 03:24 PM
I'm also looking for the parameters I need to sent to action=simplesearch to search e.g. for "house".
When I tried to do it like this I came up with no result:
search.php?action=simplesearch&query=house
any idea?
Steve Machol
11-06-2002, 06:44 PM
This thread is over a year and a half old. It would have been better to start a new one. :)
the_sisko
11-06-2002, 07:02 PM
Yeah, but I did what I always did: Search and if there is a post ask ;)
So does anyone got an idead which variables I need to pass over?
Erwin
11-07-2002, 03:00 AM
To search titles, just choose "titles only". You can customize your search quite a lot now. With my Search This Thread hack, you can even restrict your search to 1 thread. I suspect this question was written with an old vB version.
Kianor
11-07-2002, 02:59 PM
Create a module in html than use theese commands for the module properties:
1) Module settings:
action "simplesearch"
action1 "simplesearch"
booleanand "yes"
forumchoice "-1"
searchdate "-1"
searchin "subject"
2) Module fileds settings (submit button):
name: query
max char long: what do u wish
no restrictions
3) Action: search.php - Mode:POST
Byezz
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.