View Full Version : Miscellaneous Hacks - Redline's Advanced Memberlist Options
HMBeaty
04-07-2007, 10:00 PM
Redline's Advanced Memberlist Options
Done per request here (https://vborg.vbsupport.ru/showthread.php?t=144284)
Allows you to control which usergroups are allowed to view the memberlist via admincp.
Instructions are in the .zip file ;)
Support will only be given to those who have clicked INSTALL
Changelog:
1.0.0 - Initial Release
1.1.0 - Removed the need to edit the memberlist.php file (Thanks Ken Iovino :o)
Shazz
04-08-2007, 02:32 AM
Well done....
Well done....... :)
be sure to release it at http://www.vbcoderz.com/ ;)
Logikos
04-08-2007, 03:22 AM
How many options does this code hack create?
HMBeaty
04-08-2007, 03:23 AM
Just one
rjmjr69
04-08-2007, 03:58 AM
Nice nice thank you as usual you have kick ass mods Keep up the good work
HMBeaty
04-08-2007, 04:12 AM
Updated to 1.1.0
Removed the need to edit the memberlist.php file
EDIT: I suppose I could thank Ken Iovino as far as the update goes as I didn't even think to use a plugin :o
rjmjr69
04-08-2007, 04:33 AM
Oh sure after I did the edit.....LOL Should I change it?
HMBeaty
04-08-2007, 04:37 AM
Yes, sorry
rjmjr69
04-08-2007, 05:03 AM
Yes, sorry
Thank you sir.
Sofia
04-08-2007, 07:07 AM
Hi Redline :)
Thanks a lot for this hack. :p
Charlie98902
04-08-2007, 01:34 PM
Just woke up and have to say wow, thanks for the mod as I haven't done the template edit just yet.
Wayne Luke
04-08-2007, 06:29 PM
Why not just use the existing "Can View Member Info" permission?
HMBeaty
04-08-2007, 08:34 PM
Why not just use the existing "Can View Member Info" permission?
Because I believe that refers to the members profile
Wayne Luke
04-09-2007, 01:39 AM
Does both actually. A quick look at the code would show this.
From memberlist.php
// permissions check
if (!($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canviewmembers']))
{
print_no_permission();
}
HMBeaty
04-09-2007, 01:47 AM
Does both actually. A quick look at the code would show this.
From memberlist.php
Well, as stated above, I made this as a request. The requestor wanted to limit the view to the moderators, super moderators, and admins. And this mod does it without having to edit and templates or php files ;)
Charlie98902
04-09-2007, 02:21 AM
Yes it does and I forgot to say I marked this as installed.
Charlie98902
04-30-2008, 07:11 PM
Just so everyone knows this works just fine with 3.7.0 gold.
HMBeaty
04-30-2008, 07:57 PM
Thank you Charlie98902 :)
Charlie98902
05-02-2008, 01:49 AM
No problem Red sorry for the mail and PM but got a test forum to try it and was very pleased.
Charlie98902
05-03-2008, 01:50 AM
Might want to port it over in that section now too?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.