MyBB Community Forums

Full Version: Template Conditionals help PLEASE!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys I use {$mybb->topposter} to show today's top poster in my header but I need to add conditional to postbit and profile that will do something like this:

<if {$mybb->topposter} = $post['username'] then>show code</if>
<if $post['uid'] = ($topposter->$user['uid']) then>TOP POSTER</if>



Or maybe there is another way to show a message on postbit when user is a stats.php top poster?
Hi anyone please I need this stuff badly!
You would need a plugin of some sort to accomplish this.
http://community.mybb.com/thread-150159.html

Was testing this plugin out but doesnt work so can't help you till the developer fixes the issues. You can do a simple if then with that plugin and its global variable.