1
Dear All,
I added a new group to my site, say test, with an id of 5. I also added a function called xoops_isingrouptest in my kernel/user.php file as follows:
if (in_array("5",$this->_groups)){
return true;
}
else {
return false;
}
I, then, added to header.php the assignment of that variable to the Smarty template as xoopstest->$xoopsUser->xoops_isingrouptest().
I can see that the user belongs to the group by running a print_r on the groups array, however, everytime I add one to the group and try to login as that user, all I get is a blank page (no PHP or Smarty erros).
Any hints as to what I might be doing wrong here?
I look forward to hearing from you soon.
Thanks in advance.
George