MyBB Community Forums

Full Version: Show warning levels
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i make so all users, can see peoples warning levels on their profile and on their post-profile people can see when they post.

Hope someone can help me, since i need this asap.
I have {$warning_level} on, but it doesn't show and registred has it enabled that they can see other peoples warning lvl.
Open ./inc/functions_post.php and find;
if($post_type != 3 && $mybb->settings['enablewarningsystem'] != 0 && $usergroup['canreceivewarnings'] != 0 && ($mybb->usergroup['canwarnusers'] != 0 || ($mybb->user['uid'] == $post['uid'] && $mybb->settings['canviewownwarning'] != 0)))
and Change it into;
if($post_type != 3 && $mybb->settings['enablewarningsystem'] != 0 && $usergroup['canreceivewarnings'] != 0 && ($mybb->settings['canviewownwarning'] != 0))

Next, open ./member.php and find;
if($mybb->settings['enablewarningsystem'] != 0 && $memperms['canreceivewarnings'] != 0 && ($mybb->usergroup['canwarnusers'] != 0 || ($mybb->user['uid'] == $memprofile['uid'] && $mybb->settings['canviewownwarning'] != 0)))
and Change it into;
if($mybb->settings['enablewarningsystem'] != 0 && $memperms['canreceivewarnings'] != 0 && ($mybb->settings['canviewownwarning'] != 0))
Thanks Yaldaram works perfect!