2019-07-14, 01:41 AM
On the showthread template,
I'm trying to create a template conditional that says whether the thread creator is a guest or member using a template condtional, this is what I have, but it is not working, what am I doing wrong?
<if $mybb->thread['uid'] == 0 then>this user is a guest
<else>
this user is a member
</if>
I played around then figured it out, this is how you do it
<if $thread['uid'] == 0 then>
This
<else>
bla bla
</if>
I'm trying to create a template conditional that says whether the thread creator is a guest or member using a template condtional, this is what I have, but it is not working, what am I doing wrong?
<if $mybb->thread['uid'] == 0 then>this user is a guest
<else>
this user is a member
</if>
I played around then figured it out, this is how you do it
<if $thread['uid'] == 0 then>
This
<else>
bla bla
</if>