The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to hide a $thingy from moderators and supermoderators...how?
Hey,
I want to hide a variable like $quickquote from my moderators because it is too often confused with another tool I have within topics for moderators. How can I hide it from only moderators? I tried an <if </else function, but it still shows. I also tried.. Code:
<if condition="!is_member_of($bbuserinfo, x) OR !is_member_of($bbuserinfo, y)">$quickquote</if> |
#2
|
||||
|
||||
So can members see it?
|
#3
|
||||
|
||||
Post your exact code for that, because you probably have the numbers wrong or included the !
|
#4
|
|||
|
|||
I should probably put this in mini mods. This can do exactly what you want.
http://www.vbulletintemplates.com/mo...ead.php?t=7570 |
#5
|
|||
|
|||
noppid..it is saying I have to update my liscence even though I entered it like 5 times
my exact code: Code:
<if condition="!is_member_of($bbuserinfo, 5) OR !is_member_of($bbuserinfo, 7)">$quickquote</if> |
#6
|
||||
|
||||
That looks right...
You could flip around it and say HTML Code:
<if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 7)"><else />$quickquote</if> |
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
GENIUS Thanks guys I learned a ton...(relatively heh)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|