Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Months, 4 Days ago Help with a template condtional in showthread
#1
Solved: 2 Months, 4 Days ago
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>
Hey man, what's up?
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)