Quote:
Originally Posted by Logician
If I understand your request correctly, the solution is to add a new "impossible" conditional to your conditional sytnax which would naturally make it disappear. For instance your moderator announcement should be like this:
[[($bbuserinfo[usergroupid]==5)]]
my announcement
[[/($bbuserinfo[usergroupid]==5)]]
If you make it like this:
[[($bbuserinfo[usergroupid]==5 AND $dontshow==1)]]
my announcement
[[/($bbuserinfo[usergroupid]==5 AND $dontshow==1)]]
This announcement will not be displayed to your moderators until you remove the "AND $dontshow==1" part. Because this variable check becomes the part of your conditional and it is never TRUE so conditional is always ignored. 
|
Logician,
Thanks very much for answering my question, appreciated very much indeed. And yes, it covers my needs, at least 90%. The other 10% has to do with comments. Is there a comments tag or could you incorporate one? For example, I would love to have a comment, just above that conditional, saying "This is for moderators". In that way, I wouldn't have to go back and forth between the Usergroup management (to see which user group is No 5) and the announcements.
Me pressing install, very nice hack Sir.
Edit: Scrap that, I can always have the comment within an impossible conditional, within the conditional. Right?