![]() |
Hide an admin in showgroups.php
Hi,
I have some people on my Administrators usergroup and they all are being shown at showgroups.php. I'd like to prevent one of them from being displayed on that list without changing his usergroup. I have been searching for a solution and found this: https://vborg.vbsupport.ru/showthread.php?t=135503 But I can't figure out how to apply that to my 3.8.5 showgroups.php Thanks! --------------- Added [DATE]1361372230[/DATE] at [TIME]1361372230[/TIME] --------------- I got it but it doesn't look good. In showgroups.php find: Code:
return $user; Code:
if ($user['userid'] != X) { Please help. |
You could do this: find this section around line 97 and add the part in red:
Code:
// get usergroups who should be displayed on showgroups That's just for the admin section - if you want to delete someone from the moderator section you'd need to add another line to the other query. |
All times are GMT. The time now is 08:22 AM. |
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:
|