Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Better Member Search Option Details »»
Better Member Search Option
Version: 1.00, by WNxWakko WNxWakko is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 02-27-2006 Last Update: Never Installs: 16
Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-01-2006, 05:58 PM
forumthemes forumthemes is offline
 
Join Date: Jan 2002
Location: CANADA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks awesome addon, have actually been looking for this.
Reply With Quote
  #13  
Old 03-02-2006, 02:25 PM
Vitz Vitz is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07488 seconds
  • Memory Usage 2,212KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete