4
Quote:
which included the following
Quote:
$groups = $xoopsUser->getGroups();
if (in_array(XOOPS_GROUP_ADMIN, $groups)) {
//User is in the administrators group
}
is fine for me.
Just one problem driving me crazy!
the line
$groups = $xoopsUser->getGroups(); seems to make the page not work properly. The header and footer are no longer displayed....
If I comment out this line, the page (exept the code within the 'if') shows up correctly....
current includes are
include("../mainfile.php");
include("../header.php");
Any idea? Hints for digging it out?
Thanks.
______________
Miscade