Quote:
if ( $xoopsUser ) {
$xoopsModule = XoopsModule::getByDirname("chat");
if ( !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
redirect_header(XOOPS_URL."/",3,_NOPERM);
exit();
I changed chat to chatmx,
Now I can access the module in admin menu, but not elsewhere because I get another fatal error :
Quote:
Fatal error: Cannot redeclare convertblocktitle() (previously declared in /home/saghra/public_html/header.php:249) in /home/saghra/public_html/header.php on line 249
Because I had the same problem in the WF sections module, I asked for an answer in the FAQ forum, but nobody answered, so I am not yet able to chat.
Anyway, thanks for your quick reply, gracias
Aloha