Log in

View Full Version : Better Member Search Option


WNxWakko
02-27-2006, 10:00 PM
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
02-28-2006, 03:35 AM
Hey nice idea, could you add the member search in the drop down from the search button it self.

COBRAws
02-28-2006, 04:04 AM
first to install W0hoooo!

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

TamCaVBoy3
02-28-2006, 10:09 AM
can you a * search ?

bashy
02-28-2006, 04:46 PM
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
02-28-2006, 05:08 PM
https://vborg.vbsupport.ru/showthread.php?s=&threadid=97906

:)

WNxWakko
02-28-2006, 06:46 PM
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.

???`S?LV?R???`
02-28-2006, 11:28 PM
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
03-01-2006, 05:17 AM
@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
03-01-2006, 05:58 PM
Thanks :) awesome addon, have actually been looking for this.

Vitz
03-02-2006, 02:25 PM
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