english 
Thread Options  Search this Thread  
Post: #1
14-12-2006 00:11 AM
KaleR


Joined: 12-11-2006
Posts: 210
Country: United Kingdom
Male KaleR is Offline now
Site Settings
hi XAM

i want to know what i need to do if i don't want Sysop to see Site Settings and don't let them access Site Settings ?

Thanks in advance

Post: #2
14-12-2006 00:48 AM (This post was last modified: 14-12-2006 00:54 AM by saint)
saint


Joined: 19-11-2006
Posts: 10
Country: Bulgaria
Male saint is Offline now
Site Settings
Opss I did not undarstood right .. pls dell my post xam

my English is very bad ... but learning now

Post: #3
14-12-2006 00:48 AM
xam
Team Leader


Joined: 01-02-2006
Posts: 11,515
Country: Belgium
Awards:  
Male xam is Offline now
Site Settings
open settings.php
find
PHP:
if (get_user_class() < UC_SYSOP)
    
stderr("Error""Access denied."); 


replace with
PHP:
if (get_user_class() < UC_STAFFLEADER)
    
stderr("Error""Access denied."); 


Post: #4
14-12-2006 00:52 AM
KaleR


Joined: 12-11-2006
Posts: 210
Country: United Kingdom
Male KaleR is Offline now
Site Settings
it was

CODE:
if (get_user_class() < UC_ADMINISTRATOR)
	stderr("Error", "Access denied.");


before lol

Thanks m8

Quick Reply
Decrease Size
Increase Size
Insert bold text Insert italic text Insert underlined text Align text to the left Align text to the centerr Align text to the right Justify text Insert quoted text Code Insert formatted PHP code Insert formatted SQL code
Colors
Insert hyperlink Insert image Insert email address
Smilies
Insert hidden text



Forum Jump: