2016-10-26, 02:36 PM
I've goofed up by doing this and I don't really know a work around.
On my portal I've got two different images and text that come up depending on their usergroup. My intention was if the author of a thread that appears on the portal had one of the two usergroups it would display that for everyone.
Here's the code:
I checked it out on another browser that wasn't logged in and none of that text/image appear because the person viewing hasn't got one of those two usergroup IDs.
I don't suppose anyone knows how to rectify this?
On my portal I've got two different images and text that come up depending on their usergroup. My intention was if the author of a thread that appears on the portal had one of the two usergroups it would display that for everyone.
Here's the code:
<if $mybb->user['usergroup'] == 13 then><div class ="image" align="center">text</div></if>
I checked it out on another browser that wasn't logged in and none of that text/image appear because the person viewing hasn't got one of those two usergroup IDs.
I don't suppose anyone knows how to rectify this?