The Arcive of vBulletin Modifications Site. |
|
making things hidden... Details »»
|
|||||||||||||||||||||||||
Hi, can anyone tell me how to make a few things hidden to members and guests, and only visible to admins, supermods and mods? I need to hide Edit Sig, and Proxy Detected ( both in postbit ) from people.
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
in phpinclude template, add this:
PHP Code:
that should work |
|
#3
|
||||
|
||||
|
like instead of $adminopt, could i put $post[delete] or something like that?
|
|
#4
|
||||
|
||||
|
you can name the variable like you want
|
|
#5
|
||||
|
||||
|
like what Xenon said
|
|
#6
|
||||
|
||||
|
hmm so would the $post[delete] = my variable code here?
|
|
#7
|
||||
|
||||
|
just replace $adminopt with $post[delete]...not unless you want to edit the showthread.php file to do it.
|
|
#8
|
||||
|
||||
|
Could you add multiple variables to this? If so, how would you do it?
Quote:
|
![]() |
|
|