bira
07 May 2001, 01:17
This one is for CJ:
it allows you to select in a usergroup's settings whether the members of this usergroup will show up in the Members List (http://www.vbulletin.com/forum/memberlist.php?s=).
For example, on my Bulletin Board members of the "Banned Users" and "Users Awaiting Email Confirmation" are excluded and will not show up on the Members List.
Others might find it useful if they want to exclude Administrators or other site personnel.
In any case, it's a very simple hack (I think). It involves runnign one MySQL query and editing two scripts.
Installation:
1. Run the following MySQL command via phpMyAdmin or Telnet:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
(explanation: the above query will add a column to the usergroup table 'showinlist' with the default value being '1' so that by default, ALL usergroups are included in the Members List (like it is now)).
2. Open admin/usergroup.php.
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with (change is in red):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with (change is in red):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with (change is in red):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save the file.
3. Open memberlist.php
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ABOVE it put:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save and upload both files.
Now, go to the Control Panel -> User Groups and Permissions -> Modify.
Click on "edit" next to the usergroup you want to EXCLUDE from the Members List. (meaning: the members of that usergroup will not appear in the Members List).
Under the "Miscellaneous Permissions" section you will find a yes/no option whether members of this usergroup will show up in the Members List or not.
http://www.atlasf1.com/personal/bira/showinlist.gif
Cheers,
Bira
it allows you to select in a usergroup's settings whether the members of this usergroup will show up in the Members List (http://www.vbulletin.com/forum/memberlist.php?s=).
For example, on my Bulletin Board members of the "Banned Users" and "Users Awaiting Email Confirmation" are excluded and will not show up on the Members List.
Others might find it useful if they want to exclude Administrators or other site personnel.
In any case, it's a very simple hack (I think). It involves runnign one MySQL query and editing two scripts.
Installation:
1. Run the following MySQL command via phpMyAdmin or Telnet:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
(explanation: the above query will add a column to the usergroup table 'showinlist' with the default value being '1' so that by default, ALL usergroups are included in the Members List (like it is now)).
2. Open admin/usergroup.php.
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with (change is in red):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with (change is in red):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
BELOW it add:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
REPLACE it with (change is in red):
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save the file.
3. Open memberlist.php
Find:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ABOVE it put:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Save and upload both files.
Now, go to the Control Panel -> User Groups and Permissions -> Modify.
Click on "edit" next to the usergroup you want to EXCLUDE from the Members List. (meaning: the members of that usergroup will not appear in the Members List).
Under the "Miscellaneous Permissions" section you will find a yes/no option whether members of this usergroup will show up in the Members List or not.
http://www.atlasf1.com/personal/bira/showinlist.gif
Cheers,
Bira