Thread: staff tools
View Single Post
  #4  
Old 19th August 2013, 22:02
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by joyel View Post
Hello,

I'm having some problems with staff tools. As of now only 'staff leader' can use those tools. Other staff usergroups such moderator, administrator, and sysop receive 'access denied' error while trying to use them. I checked the 'edit' page under staff panel and the permission setting looks alright.

How can I fix this? Any help would be greatly appreciated.

Cheers!

Bump: Can anyone shed some light on this?
Cross check what class is able to view in the section.

eg.

PHP Code:
If ($CURUSER){
// is a member

or


PHP Code:
if ($CURUSER['class'] >= UC_OWNER) {
/* Script go's here and will only be viewed by the owner class*/

or

PHP Code:
if (get_user_class() < UC_OWNER) {
/* Script go's here and will only be viewed by the owner class*/

or

PHP Code:
if ($CURUSER['class'] >= UC_MODERATOR) {
/* Script go's here and will only be viewed by the mod class*/

or
PHP Code:
if (get_user_class() < UC_MODERATOR) {
/* Script go's here and will only be viewed by the owner class*/

Also check the operators

= Equal
+ Plus
- minus
* multiply
> Greater than
< Smaller then
/ Division
<> not equal
!= Not equal
>= Greater than or equal to
<= Smaller than or equal to
== Equal
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me


Last edited by firefly007; 19th August 2013 at 23:53.
Reply With Quote
The Following User Says Thank You to firefly007 For This Useful Post:
Athlon (1st July 2015)