1
Found this today and it works great :)
<?php
include '../mainfile.php';
include XOOPS_ROOT_PATH.'/header.php';
$in_group = is_object($xoopsUser) && in_array(2, $xoopsUser->getGroups());
//display group-specific information
if ($in_group) {
echo "Membership ONLY info Here";
}else {
echo "Regular user ONLY infor Here";
}
include(XOOPS_ROOT_PATH."/footer.php");
?>