2006-09-03, 01:51 AM
2006-09-03, 02:04 AM
heres how you make group only pages
*Note Add That to Beginning of the code you want protection to.
/**
* MyBB 1.2
* Copyright © 2006 MyBB Group, All Rights Reserved
*
* Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*
* $Id: online.php 2179 2006-09-01 04:44:17Z chris $
*/
define("IN_MYBB", 1);
require_once "./global.php";
require_once MYBB_ROOT."inc/functions_post.php";
require_once MYBB_ROOT."inc/class_parser.php";
if($mybb->usergroup['canviewonline'] == "no")
{
error_no_permission();
}
*Note Add That to Beginning of the code you want protection to.