MyBB Community Forums

Full Version: String name/query for the thread starter/author ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

am using template conditional plugin and I want to incorporate one thing in it in showthread templates which can be only seen by the Author of the thread/thread starter.

For example,for group id the string is usergroup.

Likewise, anyone knows the string name for thread starter/author of thread?

Thanks.
<if $thread['uid'] == $mybb->user['uid'] then>
// Your code goes here.
</if>
(2011-04-14, 07:58 AM)Yaldaram Wrote: [ -> ]
<if $thread['uid'] == $mybb->user['uid'] then>
// Your code goes here.
</if>
Just brilliant,+ rep. Wink