![]() |
Permissions limit question
out of the user.php file I'd like to limit this:
"user.php?$session[sessionurl]do=remove&userid=$userid" => $vbphrase['delete_user'], So that only myself and 1 other admin have the ability to delete a user. How would I write that out in php within that file? thanks! |
Wrap this around the function or whatever printing that out:
PHP Code:
PHP Code:
|
Thank you so much!
but unfortunately, I cant get it to work without getting a parse error :( PHP Code:
|
Well obviously, as that line exist in the middle of an array. Then Im not sure how to do it :P
|
@Miratos, you can't do that just like on your template, my opinion is you should devide that array so that you can use that condition which Revan provided.
|
All times are GMT. The time now is 05:57 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:
|