Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Sort Memberlist by Usergroup Details »
Sort Memberlist by Usergroup
Mod Version: 1.1, by Hasann (Coder/Designer) Hasann is offline
Developer Last Online: Apr 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (6 votes - 5.00 average) Installs: 48
Released: 23 Feb 2009 Last Update: 24 Feb 2009 Downloads: 307
Not Supported Uses Plugins Template Edits Code Changes Translations  

Sort Memberlist by Usergroup by

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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

than find this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save and re-upload overwrite to forum folder.

------------------------------------------------------------------------------------------------

Edit memberlist_letter template and REPLACE all of content with this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit memberlist template and find this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And Save.

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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	Sort_Memberlist_by_Usergroup.jpg
Views:	991
Size:	234.2 KB
ID:	95366  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Sort Memberlist by usergroup redspider Modification Graveyard 16 29 Sep 2008 15:59

Comments
  #2  
Old 23 Feb 2009, 06:12
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
Reserved.
__________________
HASANN
Reply With Quote
  #3  
Old 23 Feb 2009, 10:43
fahl fahl is offline
 
Join Date: Feb 2008
Getting error

Parse error: syntax error, unexpected T_STRING in /home/warez08/public_html/forums/memberlist.php on line 490
Reply With Quote
  #4  
Old 23 Feb 2009, 11:13
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
Originally Posted by fahl View Post
Getting error

Parse error: syntax error, unexpected T_STRING in /home/warez08/public_html/forums/memberlist.php on line 490
did you made all file edits?

which version of vbulletin do you use?
__________________
HASANN
Reply With Quote
  #5  
Old 23 Feb 2009, 11:18
TandyServices's Avatar
TandyServices TandyServices is offline
 
Join Date: Aug 2008
Real name: James and Deb
database errors here.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 23 Feb 2009, 11:31
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
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.
__________________
HASANN
Reply With Quote
  #7  
Old 23 Feb 2009, 11:35
TandyServices's Avatar
TandyServices TandyServices is offline
 
Join Date: Aug 2008
Real name: James and Deb
done.. fixed and works now.. thanks alot..
Reply With Quote
  #8  
Old 23 Feb 2009, 12:40
digicom's Avatar
digicom digicom is offline
 
Join Date: Apr 2006
Thanks Hasann installed great job
__________________

Reply With Quote
  #9  
Old 23 Feb 2009, 14:11
adhmwagde's Avatar
adhmwagde adhmwagde is offline
 
Join Date: Sep 2006
Real name: Sameh
always you are a good worker

installed
Reply With Quote
  #10  
Old 23 Feb 2009, 14:35
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Attachment removed as it is not allowed to distribute vBulletin files.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #11  
Old 23 Feb 2009, 14:48
R-D's Avatar
R-D R-D is offline
 
Join Date: Jan 2008
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

At memberlist_query_userscount

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


That final part should be:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



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.

Last edited by R-D; 23 Feb 2009 at 14:53.
Reply With Quote
  #12  
Old 23 Feb 2009, 21:13
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
good job hassan works great
__________________
Android Custom Creations
Reply With Quote
  #13  
Old 23 Feb 2009, 21:56
goyo goyo is offline
 
Join Date: Mar 2002
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...
Reply With Quote
  #14  
Old 23 Feb 2009, 21:58
kaptanblack's Avatar
kaptanblack kaptanblack is offline
 
Join Date: Mar 2007
Thanks hasann..
Reply With Quote
  #15  
Old 23 Feb 2009, 23:30
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
in next version will improve this product just wait
__________________
HASANN

Last edited by Hasann; 24 Feb 2009 at 03:14.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:48.

Layout Options | Width: Wide Color: