Hello, I've been trying to implement a message that's shown beneath posts of my moderators, the only thing I have to figure out is the correct conditional that will apply this.
My code is used in the
template, I tried using several variables such as $page, $conversation but after debugging them they don't have the 'usergroupid' strings in them, if that makes any sense.
So basically all I wanted to do was create a conditional that will only allow specific usergroupid's to have a custom message under their posts that everyone else can see, not just them.
This code worked in a different template but not in the one that I mentioned above.
I know in VB4 there was a "is_moderator" conditional or something to that effect, this would be exactly what I need here but I can't figure out to enable the conditional in the template.
If anyone has a clue about this I would appreciate any help.
Thank you.
My code is used in the
Code:
display_contenttype_threadview_header
So basically all I wanted to do was create a conditional that will only allow specific usergroupid's to have a custom message under their posts that everyone else can see, not just them.
Code:
<vb:if condition="in_array($page['usergroupid'], array(1,2,3))">
I know in VB4 there was a "is_moderator" conditional or something to that effect, this would be exactly what I need here but I can't figure out to enable the conditional in the template.
If anyone has a clue about this I would appreciate any help.
Thank you.
Comment