Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by netspark (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-08-2001 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-08-2001, 03:10 AM
Guest
 
Posts: n/a
Default

You don't need a hack for that, just make a form and send to the search, not hard to do at all
Reply With Quote
  #3  
Old 03-08-2001, 03:26 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #4  
Old 11-06-2002, 03:24 PM
the_sisko's Avatar
the_sisko the_sisko is offline
 
Join Date: Oct 2001
Location: Hamburg,Germany
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #5  
Old 11-06-2002, 06:44 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This thread is over a year and a half old. It would have been better to start a new one.
Reply With Quote
  #6  
Old 11-06-2002, 07:02 PM
the_sisko's Avatar
the_sisko the_sisko is offline
 
Join Date: Oct 2001
Location: Hamburg,Germany
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 11-07-2002, 03:00 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 11-07-2002, 02:59 PM
Kianor Kianor is offline
 
Join Date: Sep 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04418 seconds
  • Memory Usage 2,259KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (5)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete