2012-02-25, 02:02 PM
2012-02-26, 03:10 PM
I have installed Page Manager and created the page and it works the way I wanted. Still looking to see if anyone knows of a way to restrict access to just certain user groups.
2012-02-26, 03:23 PM
Add this code at the very top:
Replace the numbers in $disallowed with the gids of the groups you do not want to be able to view the page.
<?php
$disallowed = array('1', '2', '3', '4', '5');
if(in_array($mybb->user['usergroup'], $disallowed))
{
error_no_permission();
}
?>
Replace the numbers in $disallowed with the gids of the groups you do not want to be able to view the page.
2012-02-26, 05:07 PM
You are awesome.....it worked like a charm. Thank you very much