The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello, is there anyway that i can make the memberlist visible only for admins and moderators?
Thnx in advance! |
#2
|
|||
|
|||
![]()
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> order deny,allow deny from all </Files> |
#3
|
|||
|
|||
![]()
This disables memberlist...
I want only the admins & mods to be able to acess it. |
#4
|
||||
|
||||
![]()
Plugin @ memberlist_start:
PHP Code:
|
#5
|
|||
|
|||
![]()
Could you please be more specific?
Where do i have to put this code, at the template, or at the php file? |
#6
|
|||
|
|||
![]() |
#7
|
||||
|
||||
![]()
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)) { print_no_permission(); } Hit save. Only admin and mods will see the memberlist.php ..other will get no permission error. |
#8
|
|||
|
|||
![]()
Thank you a tone!!!
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|