View Full Version : Trying to hide a $thingy from moderators and supermoderators...how?
SeanThomps
02-25-2005, 01:48 AM
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.. <if condition="!is_member_of($bbuserinfo, x) OR !is_member_of($bbuserinfo, y)">$quickquote</if>
Blue Moose Aaron
02-25-2005, 02:18 AM
So can members see it?
Adrian Schneider
02-25-2005, 02:19 AM
Post your exact code for that, because you probably have the numbers wrong or included the !
noppid
02-25-2005, 02:21 AM
I should probably put this in mini mods. This can do exactly what you want.
http://www.vbulletintemplates.com/mods/showthread.php?t=7570
SeanThomps
02-25-2005, 03:12 AM
noppid..it is saying I have to update my liscence even though I entered it like 5 times :(
my exact code: <if condition="!is_member_of($bbuserinfo, 5) OR !is_member_of($bbuserinfo, 7)">$quickquote</if>
I do not want moderators(id5) and supermoderators(id7) to see it. Everyone else can as usual...
Adrian Schneider
02-25-2005, 03:51 AM
That looks right...
You could flip around it and say <if condition="is_member_of($bbuserinfo, 5) OR is_member_of($bbuserinfo, 7)"><else />$quickquote</if>
Colin F
02-25-2005, 04:06 AM
I have to update my liscence even though I entered it like 5 times
Just to let you know, you're showing up as licensed now.
SeanThomps
02-25-2005, 04:27 AM
GENIUS :D Thanks guys :) I learned a ton...(relatively heh)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.