The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
Wrap this around the function or whatever printing that out:
PHP Code:
PHP Code:
|
|
#3
|
|||
|
|||
|
Thank you so much!
but unfortunately, I cant get it to work without getting a parse error ![]() PHP Code:
|
|
#4
|
||||
|
||||
|
Well obviously, as that line exist in the middle of an array. Then Im not sure how to do it :P
|
|
#5
|
||||
|
||||
|
@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.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|