MyBB Community Forums

Full Version: block guests from seeing certain things?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how can i block guests from seeing the members page and pages i've created with page manager? i've seen it on other mybb sites but i don't know how...any help would be appreciated..thanks...
Add the following code in your page;
if ($mybb->user['uid'] == "0")
{
   error_no_permission();
}