vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Better Member Search Option (https://vborg.vbsupport.ru/showthread.php?t=109089)

WNxWakko 02-27-2006 10:00 PM

Better Member Search Option
 
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:
Quote:

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Replace with:
Quote:

<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:

Quote:

<!-- NAVBAR POPUP MENUS -->
Below that Add:

Quote:

<!-- 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/s.../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 :)


Quote:

Originally Posted by hornstar1337
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/showthrea...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... :)


All times are GMT. The time now is 10:23 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
  • Page Generation 0.01142 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete