Chris-777
30 Apr 2008, 19:04
Updated version of my older mod here (http://www.vbulletin.org/forum/showthread.php?t=147076), fixed for the new security token feature.
This is a quick template mod that roughly emulates the search box here at vB.org, without the forum select dropdown. I saw a few mods somewhat like it but none with the input box, and like many people here once vB.org released the new skin, I had to have the search box. So after a bit of coding and hacking around, here's the way I did it.
Note that simply clicking the search button with no query will bring you to the default search page.
Time to Install: 2 Minutes
Difficulty: Easy
Template Mods: 1
Demo: http://www.sevenstring.org
Login: guest/guest (unregistered search is disabled)
AdminCP -> Style Manager -> Edit Templates -> navbar
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add directly after, replacing the colored text with your domain/forum path to search.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Note that the bold text is what's new for 3.7.
Optional: Remove the old search link from your navbar.
Simply comment out the search text, like so. I'm sure there's a better way to accomplish this, but that's how I pull it off on my site. Any input appreciated.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Screenshot:http://www.sevenstring.org/chris/vbmod_searchbox.jpg
This will be considered beta until I have it running with 3.7 for awhile to ensure there are no other hidden issues.
This is a quick template mod that roughly emulates the search box here at vB.org, without the forum select dropdown. I saw a few mods somewhat like it but none with the input box, and like many people here once vB.org released the new skin, I had to have the search box. So after a bit of coding and hacking around, here's the way I did it.
Note that simply clicking the search button with no query will bring you to the default search page.
Time to Install: 2 Minutes
Difficulty: Easy
Template Mods: 1
Demo: http://www.sevenstring.org
Login: guest/guest (unregistered search is disabled)
AdminCP -> Style Manager -> Edit Templates -> navbar
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Add directly after, replacing the colored text with your domain/forum path to search.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Note that the bold text is what's new for 3.7.
Optional: Remove the old search link from your navbar.
Simply comment out the search text, like so. I'm sure there's a better way to accomplish this, but that's how I pull it off on my site. Any input appreciated.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Screenshot:http://www.sevenstring.org/chris/vbmod_searchbox.jpg
This will be considered beta until I have it running with 3.7 for awhile to ensure there are no other hidden issues.