The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Secure VBstats Page?
How can I secure the VBstats page from particular groups of users? For example I only want to allow the Moderators and Admins to be able view the VBstats page.
thx in advance, ReN |
#2
|
||||
|
||||
Replace:
PHP Code:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Thank you for such a quick response! I will hack it now.....
|
#4
|
|||
|
|||
This is a georgeous thing! It worked like a charm thank you so much!!!!
|
#5
|
||||
|
||||
Quote:
|
#6
|
|||
|
|||
Small problem, it seems as though no one has access now. I tried including the admin group and excluding it, but still get nopermission message.
Code:
if ($bbuserinfo['usergroupid']!=2 or $bbuserinfo['usergroupid']!=3 or $bbuserinfo['usergroupid']!=1 or $bbuserinfo['usergroupid']!=4) { show_nopermission(); |
#7
|
||||
|
||||
Change all or's in the code to and's.
|
#8
|
|||
|
|||
:cry:
Still the same problem. Essentially all groups should get denied except the Admins group (6). thx |
#9
|
||||
|
||||
Use FWC's code and do what I said.
|
#10
|
|||
|
|||
LOL, sorry for the confusion. That would been my next step in troubleshooting this :dead:
That worked!!! thx again. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|