![]() |
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 |
Replace:
PHP Code:
PHP Code:
PHP Code:
|
Thank you for such a quick response! I will hack it now.....
|
This is a georgeous thing! It worked like a charm thank you so much!!!!
|
Quote:
|
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) { |
Change all or's in the code to and's.
|
:( :cry:
Still the same problem. Essentially all groups should get denied except the Admins group (6). thx |
Use FWC's code and do what I said.
|
LOL, sorry for the confusion. That would been my next step in troubleshooting this :dead:
That worked!!! thx again. |
All times are GMT. The time now is 08:18 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:
|