Well, I just learned how to create phrases the other day and I'm trying to finagle something yet again.
I've got a special chat room for Mods, and I'd like the Who's Online to say this when a Mod is viewing it. Like so:
In Moderator Chat
ModChat
However, I don't want the link to show up for anyone but Mods and Admins. I tried this. I created a phrase called
in_moderator_chat with the text
HTML Code:
In Moderator Chat</br><if condition="is_member_of($bbuserinfo, 5, 6, 7, 144)"><a href="modchat.php">ModChat</a></if>
But I'm guessing you can't put a phrase within a phrase. (Was worth a try, though). I tested it and the URL still shows up to users outside the specified user groups. I'm guessing I need to add an <if> condition to the
functions_online.php to get the desired results. But, yeah, what do I know?
Any ideas? Thanks.
(NOTE: I know about the chat addons that do this. But my main concern is how to make this work for my other custom pages. Not about chat features. Thanks.

)