![]() |
Navbar: Search Members
This template edit will add a "Search Members" search box taken from the Memberlist, directly below the "Search Forums" search box.
Edit your navbar template, find: HTML Code:
<if condition="$show['searchbuttons']"> HTML Code:
<if condition="$show['searchbuttons']"> [sql]UPDATE `phrase` SET `phrasetypeid` = '1' WHERE `varname` = 'search_members' LIMIT 1;[/sql]Then in the navbar template, replace Search Members with $vbphrase[search_members] and you're done. Screenshot attached.. :) |
Text file please? ;)
|
niceeeeeee installed
|
Quote:
|
Nope. We ask that all hacks/mods have a text file so anyone can update it when they upgrade vBulletin and don't have to try to hunt it down on the org. You of all people should have known that. ;)
|
Nice Idea ! :) I will install it.
But to be within the vB-standards, you should replace the hard-coded text "Search Members" with the correct vbphrase-variable. J?rg |
Yep, there's a "Search Members" phrase in the User Tools phrasegroup so I didn't want to create another phrase with the exact same text, although there's no reason why I couldn't. I'll probably write an optional query to move it to the GLOBAL phrasegroup or something..
|
Cool idea, suuuuuuuuuuupppppppppppppppper fast install!!!!!!!!
|
Very nice idea, I like it.
|
/me clicks install
ty |
was just wondering, what's under the advanced search under members? Is there a way to have an advanced search so that you can define everything you're looking for in members??
|
Quote:
Which pretty much already does as you ask.. ;) |
I have a problem which occurs after i replace the code.
Forbidden You don't have permission to access /forum/admincp/template.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
Thank you as I "Click Install".
|
^Ditto^
|
* Clicks Install *
|
Guys, can i have a little help in here ? After modifying the navbar, i get this Message box:
Quote:
|
Found where the problem is. Seems for 4.8.x vB there is a new line needed for security token:
Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> |
All times are GMT. The time now is 04:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|