MyBB Community Forums

Full Version: print thread option
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to delete printhread option-View a Printable Version which is on the below the posts.

Please guide me how to do that , thank you friendsBlush
Got to your ACP> Templates & Style> Show Thread Templates> showthread.

Find:
			<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
Then delete that.

Hope I helped.
Or you can put this:

if($mybb->user['usergroup'] != 4)
{
error_no_permission();
}

in printthread.php in your root folder just after the

require_once "./global.php";

code.

This will only allow admins to print threads Smile
this is great help guys! thank you so much!