Sort Memberlist by Usergroup
Sort Memberlist by Usergroup by http://www.forumcoding.com/ This Product brought to you by http://www.vbulletin-turkey.com/ Description: This plugin will sort the memberlist by Usergroup Install Instructions Open your memberlist.php file with an editor and find this code PHP Code:
$sorturl = 'memberlist.php?' . $vbulletin->session->vars['sessionurl'] . $sortaddon;
PHP Code:
$sorturl = 'memberlist.php?do=getall&groupid=' . $groupid . '' . $vbulletin->session->vars['sessionurl'] . $sortaddon;
PHP Code:
. (!empty($vbulletin->GPC['perpage']) ? "&pp=$perpage" : "")
PHP Code:
. (!empty($vbulletin->GPC['groupid']) ? "&groupid=$groupid" : "")
------------------------------------------------------------------------------------------------ Edit memberlist_letter template and REPLACE all of content with this code HTML Code:
<if condition="$show['selectedletter']"> <td class="alt1" width="3%">[<strong>$currentletter</strong>]</td> <else /> <td class="alt2" width="3%"><a href="memberlist.php?$session[sessionurl]do=getall&groupid=$groupid&ltr=$linkletter&pp=$perpage&sort=$sortfield&order=$sortorder$usergrouplink$ltrurl">$currentletter</a></td> </if> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr align="center"> $letterbits </tr> </table> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <td colspan="30" height="16" class="thead"> <tr align="center"> $letterbits </tr> </table> <br/> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <td colspan="30" height="16" class="thead"> <tr align="center"> <td class="alt2" width="15%" valign="middle" align="left"> <div class="smallfont"><b>$vbphrase[usergroups]:</b></div> </td> <td class="alt1" width="85%" valign="middle" align="center"> <div class="smallfont">$usergrouplinks</div></td> </tr> </table> at least import the .xml product .xml file via admincp / product manager. Tested on: vBulletin 3.8.1 Online Demo: http://www.vbulletin-turkey.com/forum/memberlist.php?langid=1 Download
Sort_Memberlist_by_Usergroup.zip (211.0 KB, 280 downloads) Supporters / CoAuthors
Screenshots |
Similar Mods
Mini Mods Sort Memberlist by usergroup | Modification Graveyard |