2012-08-28, 10:11 PM
2012-08-28, 10:12 PM
Hi,
Can you please be more specific? What page would you not like them to see?
Can you please be more specific? What page would you not like them to see?
2012-08-28, 10:15 PM
well i have a games section, but i only want members on the page, and if there a guest they have to register
2012-08-28, 10:55 PM
You would need to edit the php file to do so. For example, to block the index.php page from being see by guest, you would need to add this right after the global.php has been included.
It will look like this:
$mybb->user['uid'] or error_no_permission();
It will look like this:
require_once "./global.php";
$mybb->user['uid'] or error_no_permission();
2012-08-28, 10:59 PM
(2012-08-28, 10:55 PM)Omar G. Wrote: [ -> ]You would need to edit the php file to do so. For example, to block the index.php page from being see by guest, you would need to add this right after the global.php has been included.
$mybb->user['uid'] or error_no_permission();
It will look like this:
require_once "./global.php"; $mybb->user['uid'] or error_no_permission();
thank you very much , if i had alot of rep i would give it all