Register Access Rank Problem (get_user_flags)
this code is spose to check the users flags and then put them in the correct Rank.
PHP Code:
when i have all admin flags in users.ini... it shows me as Manager(OWNER)... when i take away all but one to have me as ADMIN... still shows me as Manager(OWNER). what am i doing wrong? this is my Ranks PHP Code:
|
Re: Register Access Rank Problem (get_user_flags)
Your code shows that it requires all three custom levels to be "Owner" so you are doing something wrong if it still shows you as owner. Make sure you stop the server, load the new plugin, start the server, then join when testing.
|
Re: Register Access Rank Problem (get_user_flags)
Quote:
|
Re: Register Access Rank Problem (get_user_flags)
Look, your code is kinda strange it self...
Checks if user has all flags but not LEVEL B, C, D? WTF? How is it possible that user have all flags but not all? PHP Code:
|
Re: Register Access Rank Problem (get_user_flags)
PHP Code:
what im doing wrong |
Re: Register Access Rank Problem (get_user_flags)
Maybe do it like this?
PHP Code:
|
Re: Register Access Rank Problem (get_user_flags)
Quote:
thanks... got any ideas on this one tho? PHP Code:
|
Re: Register Access Rank Problem (get_user_flags)
2 ways :
PHP Code:
|
| All times are GMT -4. The time now is 21:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.