PDA

View Full Version : Better Member Search Option


WNxWakko
28 Feb 2006, 04:03
Better Member Search Option

To many times our members get a little lost trying to search for a specific member. They just want to get to the search box and enter the username and have it right there. They don't like to browse the lists. Unfortunately to get to it, you have to first click the memberslist link, and then in that page find the search memberbox way over on the right. Newbies get lost easily trying to find that. I also hate clicking that extra screen just to get to it.

So now there is a better way. Give them the choice right up front on how they want to search.

I had to create two new phrases because the phrases used off the memberlist page is specific to only that page, so two globals need to be created first. Then its one template edit and your done. 2 minutes.

Installation
1) Create 2 global phrases
2) 1 Template Edit

Template that are edited

navbar

---------------------

First create two new global phrases.

Global
Vbulletin
Var: member_search
Text Member Search

Global
Vbulletin
Var: browse_members
Text: Browse Memberlist


In Template navbar
Find:
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

Replace with:
<td id="mem_search" class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[member_search]</a> <script type="text/javascript"> vbmenu_register("mem_search"); </script></td>

In Template navbar
Find:

<!-- NAVBAR POPUP MENUS -->

Below that Add:


<!-- memberlist quick search form -->
<div class="vbmenu_popup" id="mem_search_menu" style="display:none">
<form action="memberlist.php" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[member_search]</td></tr>
<tr><td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="getall" />
<input type="text" class="bginput" name="ausername" size="20" value="$ltr" title="$vbphrase[username]" />$gobutton
</td></tr>
<tr><td class="vbmenu_option"><a href="memberlist.php?$session[sessionurl]do=search">$vbphrase[advanced_search]</a></td></tr>
<tr><td class="vbmenu_option"><a href="memberlist.php">$vbphrase[browse_members]</a></td></tr>
</table>
</form>
</div>
<!-- / memberlist quick search form -->


Thats it your done.

Screenshot

http://www.warriornation.net/wakko/screenshots/memsearch.gif

Hornstar
28 Feb 2006, 05:35
Hey nice idea, could you add the member search in the drop down from the search button it self.

COBRAws
28 Feb 2006, 06:04
first to install W0hoooo!

htscpl
28 Feb 2006, 10:44
Cool ! Installs I know my members will like it better than the old member list/search buttons

TamCaVBoy3
28 Feb 2006, 12:09
can you a * search ?

bashy
28 Feb 2006, 18:46
Hi

This is actually already on this site some where m8
Do a search, not sure the term to use though, see my image :)


Hey nice idea, could you add the member search in the drop down from the search button it self.

Oblivion Knight
28 Feb 2006, 19:08
http://www.vbulletin.org/forum/showthread.php?s=&threadid=97906

:)

WNxWakko
28 Feb 2006, 20:46
Ya, I saw the one where it was moved into the forum search, but I like the way I did it better. Keeps them labeled upfront on the list. Some members may not find the Membersearch as easily within forum search. You already have the memberlist link in the navbar by default, and this just converts it.

To each is own.

`SLVR`
01 Mar 2006, 01:28
I like the concept, but I think I would probly like to keep the search options within the one search drop down menu all together instead.

bashy
01 Mar 2006, 07:17
@WNxWakko

Hi m8...i wernt knocking yours m8, i posted that for the member in the
1st post as he was on about it... :)

forumthemes
01 Mar 2006, 19:58
Thanks :) awesome addon, have actually been looking for this.

Vitz
02 Mar 2006, 16:25
Hey Wakko. It's WNxV!T0Z :)

Thanks for this. I installed it on my own forums: http://www.elusive-works.co.uk/forums/index.php