MyBB Hacks

Full Version: How to make <strong> on user not guests in (forumdisplay_thread)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
<if $mybb->usergroup['gid'] == 1 then>{$thread['profilelink']}

<elseif $mybb->usergroup['gid'] == 2 then>
<strong>{$thread['profilelink']}</strong>

<elseif $mybb->usergroup['gid'] == 3 then>
<strong>{$thread['profilelink']}</strong>

<elseif $mybb->usergroup['gid'] == 4 then>
<strong>{$thread['profilelink']}</strong>

<elseif $mybb->usergroup['gid'] == 5 then>
<strong>{$thread['profilelink']}</strong>

<elseif $mybb->usergroup['gid'] == 6 then>
<strong>{$thread['profilelink']}</strong>

<elseif $mybb->usergroup['gid'] == 7 then>
<strong>{$thread['profilelink']}</strong>

</if>
The problem is that all users (Members & Guests) are not <strong>.

I want the Members only to be <strong>.
I found the answer I was looking for.

In case someone else is looking for the same fix, here it is......

<if !$thread['threadusername'] then>
{$thread['profilelink']}
<elseif $thread['uid'] == 0 then>
{$thread['profilelink']}
<else>
<strong>{$thread['profilelink']}</strong>
</if>

This works perfectly.
Reference URL's