The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Sort Memberlist by Usergroup Details »» | |||||||||||||||||||||||||||||
This Product brought to you by 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:
PHP Code:
PHP Code:
PHP Code:
------------------------------------------------------------------------------------------------ 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: www.vbulletin-turkey.com/forum/memberlist.php?langid=1 Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
||||
|
||||
Reserved.
|
#3
|
|||
|
|||
Getting error
Parse error: syntax error, unexpected T_STRING in /home/warez08/public_html/forums/memberlist.php on line 490 |
#4
|
||||
|
||||
Quote:
which version of vbulletin do you use? |
#5
|
||||
|
||||
database errors here.
Code:
Database error in vBulletin 3.8.1: Invalid SQL: SELECT vb_usergroup.usergroupid, vb_usergroup.title, COUNT(vb_user.userid) AS membercount FROM vb_usergroup LEFT JOIN vb_user ON vb_user.usergroupid=vb_usergroup.usergroupid OR FIND_IN_SET(vb_usergroup.usergroupid, vb_user.membergroupids) WHERE (usergroup.genericoptions & 4) GROUP BY vb_usergroup.usergroupid ORDER BY vb_usergroup.title ASC; MySQL Error : Unknown column 'usergroup.genericoptions' in 'where clause' Error Number : 1054 Request Date : Monday, February 23rd 2009 @ 04:16:37 AM Error Date : Monday, February 23rd 2009 @ 04:16:37 AM Script : http://www.mysite.com/memberlist.php Referrer : http://www.mysite.com/index.php IP Address : 72.60.249.137 Username : WebGuy Classname : vB_Database MySQL Version : 5.0.75-community-log |
#6
|
||||
|
||||
MySQL Error : Unknown column 'usergroup.genericoptions' in 'where clause'
you have there tableprefix error I had forget to add the tableprefix to the sql it is fixed now please re-import product .xml file and "edited memberlist.php" file added to the zip if you dont want file edits you can just upload overwrite this file. |
#7
|
||||
|
||||
done.. fixed and works now.. thanks alot..
|
#8
|
||||
|
||||
Thanks Hasann installed great job :up:
|
#9
|
|||
|
|||
always you are a good worker
installed |
#10
|
|||
|
|||
Attachment removed as it is not allowed to distribute vBulletin files.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|