![]() |
Sort Memberlist by Usergroup
1 Attachment(s)
Sort Memberlist by Usergroup by https://vborg.vbsupport.ru/external/2009/12/22.png 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']"> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 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 |
Reserved.
|
Getting error
Parse error: syntax error, unexpected T_STRING in /home/warez08/public_html/forums/memberlist.php on line 490 |
Quote:
which version of vbulletin do you use? |
database errors here.
Code:
Database error in vBulletin 3.8.1: |
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. |
done.. fixed and works now.. thanks alot..
|
Thanks Hasann installed great job :up:
|
always you are a good worker :)
installed |
Attachment removed as it is not allowed to distribute vBulletin files.
|
Here's a couple more things you may want to correct before re-uploading the attachment.
Although you clean the groupid variable at the memberlist_start hook, you never use that version, instead you redeclare $groupid later on, using the unclean version. At memberlist_start Code:
$groupid = $vbulletin->input->clean_gpc('r', 'groupid', TYPE_UINT); Code:
if (intval($_REQUEST['groupid']) > 0) That final part should be: Code:
if (intval($groupid) > 0) Also, although the $do_not_include variable hides the defined usergroups from the options list, members can still randomly try numbers and pull the memberlist for all those usergroups, regardless of the $do_not_include setting (apart from usergroups that are set in the AdminCP to be hidden from the memberlist). If you move the $do_not_include declaration to the top of the plugin, it can also be checked when you check if $groupid > 0. |
good job hassan works great:up:
|
Hasann or somebody else...
Could you send me the file download link via PM or reupload the modified version ? I'm looking this hack for ages... :rolleyes: |
Thanks hasann..
|
in next version will improve this product just wait ;)
|
Cool hack, thanks. If there are no file edits I'll install it.
|
Looks nice. Going to install. Anyway to sort members in the user groups by join date?
Thanks. :up: |
<div align="left">been good thanks, although I have not tried, but nice sharing</div>
|
How about adding usergroup styling to this? :)
|
Great mod, thanks, it was just what I needed.
|
Nice Mod, works fine... Is there a way to select only certain usergroups to be displayed?? I have some that I don't need showing and want to disable the mod for those.
Thanks, Ed |
Reserved :)
|
How to add another usergroup?
I've been looking at this without figuring out how to add another group. I would like to have usergroup #9 to this list. I'm a novice when it comes to php, so it would be awesome if someone could point me in the right direction :) PHP Code:
|
anyone?
|
Quote:
Same goes for removing a usergroup from those displayed in the memberlist. Hassan... Great mod and exactly what I was looking for. Thanks. Installed. :up: |
Is there a way to get the Usergroups that are listed to show up in a specific order to my choice as opposed to having it in alphabetical order? For instance, if I wanted to set it up so it shows in order of Highest to Lowest Rank on the forums (Usergroups = Ranks).
|
great mod... i was wondering, how would i display the current user group being displayed?
thanks in advance... |
Any plans for a v4.0 release, Hasann?
This is definitely useful and I would love to see an update. Appreciate your work, thanks! |
I installed this and it works and i love it, but for some reason the theme on this page is making the colors of the boxs alternating colors. Is there a way to fix this?
http://www.teampulverize.com/forums/memberlist.php you will notice the last 3 columns have a checkered box pattern. Each column should be one color. thanks! |
Hi,
I was looking for a mod to list members of a group, and I wonder why it is not a standard feature in the product ? - Can you make this a product import only (no modification) ? thanks,, |
Any chance this can be Upgraded to work with VB 4?
|
All times are GMT. The time now is 04:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|