![]() |
How to make memberlist invisible to memebers?
Hello, is there anyway that i can make the memberlist visible only for admins and moderators?
Thnx in advance! |
You can disable it in admincp.(vboptions>User Listing Options) I also put a restriction in .htaccess so that nobody can access the memberlist.php file.
Code:
<Files memberlist.php> |
This disables memberlist...
I want only the admins & mods to be able to acess it. |
Plugin @ memberlist_start:
PHP Code:
|
Could you please be more specific?
Where do i have to put this code, at the template, or at the php file? |
See the post by dismounted:
Quote:
|
adminCP > Plugins & Products > Add New Plugin
Then Product - vbulletin hook location - memberlist_start title - Show Memberslist only to Admins and Moderators Execution Order - 5 Plugin PHP Code : Code:
if (!is_member_of($vbulletin->userinfo, 5, 6, 7)) Hit save. Only admin and mods will see the memberlist.php ..other will get no permission error. |
Thank you a tone!!!
|
All times are GMT. The time now is 09:17 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:
|