Current time: 11-22-2024, 11:55 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[18.225.195.153], connected from Columbus, Ohio United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUT] How to Sort members usernames in memberlist by Name
03-27-2010, 05:29 AM
Post: #1
[TUT] How to Sort members usernames in memberlist by Name
By using this Tutorial you can Add Alphabet letters on the top of the memberlist page and you can sort them by alphabet letters.

Go to ACP --> Themes & Templates --> templates --> Desired template --> member_templates --> memberlist

Find This variable:
{$header}

Add after :
<table class="tborder" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" align="center">
<tr align="center">    
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=A">A</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=B">B</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=C">C</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=D">D</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=E">E</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=F">F</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=G">G</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=H">H</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=I">I</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=J">J</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=K">K</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=L">L</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=M">M</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=N">N</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=O">O</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=P">P</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=Q">Q</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=R">R</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=S">S</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=T">T</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=U">U</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=V">V</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=W">W</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=X">X</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=Y">Y</a></td>
  <td class="trow1" width="3%"><a href="{$mybb->settings['bburl']}/memberlist.php?letter=Z">Z</a></td>
</tr>
</table>
<br/>

Kevin's signature THE BIGGEST COLLECTION OF PLUGINS THEMES AND MYCODES FOR MYBB
Visit this user's website Find all posts by this user
Quote this message in a reply
1 member(s) viewed this thread in the last 365 days :
Yeke
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Messages In This Thread
[TUT] How to Sort members usernames in memberlist by Name - Kevin - 03-27-2010 05:29 AM

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com