Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Mar 2009, 16:33
admin0's Avatar
admin0 admin0 is offline
 
Join Date: Mar 2003
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,
__________________
:: Tech Support/Solutions => www.admin0.com
:: VoIP Support/Solutions => www.voipbro.com
::
:: fulltime sysadmin since 1997!
Reply With Quote
  #2  
Old 26 Mar 2009, 18:02
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 26 Mar 2009, 18:43
admin0's Avatar
admin0 admin0 is offline
 
Join Date: Mar 2003
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.
__________________
:: Tech Support/Solutions => www.admin0.com
:: VoIP Support/Solutions => www.voipbro.com
::
:: fulltime sysadmin since 1997!
Reply With Quote
  #4  
Old 26 Mar 2009, 19:11
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 07:48.

Layout Options | Width: Wide Color: