vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   extra search (https://vborg.vbsupport.ru/showthread.php?t=209523)

admin0 03-26-2009 03:33 PM

extra search
 
Hi,

on one of my forums www.callshub.com, i want to put a search in the top of every page
the search will be something like search all (*)buyers or (* )sellers for destination [ country_name ] , where () is the radio button and [] is the input box. based on that, the search term will be searched and posts displayed from either the buyers forum or the sellers forum. I am not sure how to start on this.

Please point me to the right direction to get started.


Thanks,

Lynne 03-26-2009 05:02 PM

What are buyers and sellers - prefixes? The right direction is the search.php page. If you look at the code there, you'll see the input name for the variables. Basically copy the from there - that's how I did it on some pages on my site anyway.

admin0 03-26-2009 05:43 PM

Hi,

Its like this:
those who post on http://www.callshub.com/sell-termination/ are sellers and those who post on http://www.callshub.com/buy-termination/ are buyers.

Basically, i want to do this this.

search for (*) buyers for destination [ spain ] => will search and show all posts that contains spain from within the buy-termination forum

search for (*) sellers for destination [ spain ] => will search and show all posts that contains spain from within the sell-termination forum.

I can do the same if i go to advanced search, put spain in the keyword and select buy-termination or sell-termination forum, but I want to cut the steps and provide this search facility directly to the visitors from a simple form somewhere above or below the navbar.

Lynne 03-26-2009 06:11 PM

So those are forums? They have forumids. So, find the name of the input field for the forumid and then use radio buttons to select the forumid.


All times are GMT. The time now is 07:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01087 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete