MyBB Community Forums

Full Version: Disable or Hide the Report button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We do not need the report function in our forum ; how do I disable or Delete/Hide the Report button ?

ThankYou very much
You can remove the button by going to your postbit and postbit_classic templates and removing {$post['button_report']}
You can disable the Report Button by commenting it out in the ACP>Templates&Style>Templates>{Your Theme}Templates>Post Bit Templates>postbit_report
Do this by adding the tags "<!--" at top and "-->" at bottom of template file.
For example,
<!--
<a href="javascript:Thread.reportPost({$post['pid']});" class="postbit">REPORT</a>
-->
Not all browsers obey commenting out when variables are inside the comment-out. So removing it is often the best bet. Just copy the code to a TXT file, and keep it somewhere. Or refer back to the default theme later on, as needed, if needed. You are using a custom there, yes? Don't waste time editing the default, which is overwritten at forum updates!

..
Thank You very much