2014-02-04, 01:00 PM
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?
<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?