The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Search bar
So in the member list you can search for members in clicking the "search members" button and down comes the search bar...i was hoping tho that i would be able to have that members search bar in replace of the search for post bar thats on the navbar...so basically i just want to copy the code for the member search and replace it with the search for the recent posts searchbar...is that possible at all to do?
|
#2
|
||||
|
||||
Looking in the memberlist template the code that generates the "search members" box seems to be:
Code:
<form action="memberlist.php?do=getall" method="post"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_members]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="getall" /> <input type="text" class="bginput" name="ausername" size="20" value="$ltr" title="$vbphrase[username]" />$gobutton </td> </tr> </table> </form> |
#3
|
|||
|
|||
oh thats awesome, do you know where i could find the nav bar search code?
|
#4
|
||||
|
||||
I would look in the NAVBAR template... search for instances of "search.php" - there may be more than 1 place.
|
#5
|
|||
|
|||
sweet thanks! im kind of worried it will mess up the website...do you think it would work? i feel the logic is there haha but im not sure
|
#6
|
||||
|
||||
Well before you edit the navbar template copy and paste all of it into a text document and save it so you can always change back.
Also, if you've never made any other custom changes to the template you can always click the button 'Revert Template" to change it back to the default template- but you'd lose any changes you ever did make. These are the types of changes you should make on your "test forum" first to make sure they work. |
#7
|
|||
|
|||
my goal is that people will be able to find friedns without seeing the members list... i dont want people to know how many members my site has
|
#8
|
||||
|
||||
If you want to remove the member's list from the navabar that's different... search the navbar template for "memberlist.php" instead and remove the associated code.
|
#9
|
|||
|
|||
the only problem is if i do that people wont be able to find friends unless they know the exact name....i want the search to be easier...so im hoping i can take the search members searchbar, replace it with the navbar searchbar then disable the members list...that way they could still use the search bar to look for friends but not be able to see how many people are on the site. i just dont know if that would work or not
|
#10
|
||||
|
||||
I don't believe there is a way to search members on the navbar though... at least there isn't in the default style- unless I'm missing something?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|