Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Sep 2008, 15:33
lasto lasto is offline
 
Join Date: Jan 2002
Search box

You know the search box on the navbar (the drop down one)

Is there a way for me to copy the code for that but change it so i can have 2 search boxes.

So on the 2nd search box if users entered a name for example it would search

**********/pictures.php?let=demi

So i would need to swap the 2nd search box for my code above which would just search my pictures.
Reply With Quote
  #2  
Old 14 Sep 2008, 15:44
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Similar to how vb.com does it with the forums and the projects? Sure, I'd take a look at that code and see how they did it (just two different forms I would guess).
__________________
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 14 Sep 2008, 15:55
lasto lasto is offline
 
Join Date: Jan 2002
Thanks for quick reply

ive tried to look for the code - do u know exactly which part i need to copy so i can add a new search box to the drop down menu Lynne.
Reply With Quote
  #4  
Old 14 Sep 2008, 16:42
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Well, I'm not gonna copy vb.com's source here, you can see it yourself on their page.&nbsp; Just look at everything between <br>&lt;!-- header quick search form --&gt;<br>&nbsp;and <br>&lt;!-- / header quick search form --&gt;<br><br>That's all the drop-down menu content.&nbsp; Each one of the searches has it's own form with all of it's own form action and 'hidden' fields and such.<br>
__________________
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
  #5  
Old 14 Sep 2008, 17:33
lasto lasto is offline
 
Join Date: Jan 2002
ive had a look in navbar is a lot of search code there.
Reply With Quote
  #6  
Old 14 Sep 2008, 17:45
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I would start by just copying the regular search code and changing the form action for your pictures.php page and then see what happens. Look at the pictures page and see what variables it expects to have passed and then change the hidden input lines to carry those variables.
__________________
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google/Adsense Site Search Integrated into Advanced Search Page markbolyard vBulletin 3.6 Template Modifications 19 21 Sep 2010 15:16

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 20:33.

Layout Options | Width: Wide Color: