18
Notably there is a problem with the javascript causing an endless loop in prochatrooms the stuHover and another one. I have altered /blocks/mymenus_blocks.php to suit the support for prochatrooms running in conjunction with mymenus as it doesn't run without.
Lines 60 - 160 has to read the following for mymenus_blocks.php
le="color: #000000"><?php if (is_object($GLOBALS['xoopsModule'])) { if ($GLOBALS['xoopsModule']->getVar('dirname') != 'prochatrooms') { $config = mymenus_getModuleConfig(); if ($config['assign_method'] == 'xoopstpl') { $tpl_vars = ''; foreach ($css as $file) { $tpl_vars .= "n" . '<link rel="stylesheet" type="text/css" media="all" href="'. $file . '" />'; } foreach ($js as $file) { $tpl_vars .= "n" . '<script type="text/javascript" src="'. $file . '"></script>'; } if (isset($skin_info['header'])) { $tpl_vars .= "n" . $skin_info['header']; } $xoopsTpl->assign('xoops_module_header' , $tpl_vars . @$xoopsTpl->get_template_vars("xoops_module_header")); } else { foreach ($css as $file) { $xoTheme->addStylesheet($file); } foreach ($js as $file) { $xoTheme->addScript($file); } if (isset($skin_info['header'])) { $xoopsTpl->assign('xoops_footer' , @$xoopsTpl->get_template_vars("xoops_footer") . "n" . $skin_info['header']); } } } } else { $config = mymenus_getModuleConfig(); if ($config['assign_method'] == 'xoopstpl') { $tpl_vars = ''; foreach ($css as $file) { $tpl_vars .= "n" . '<link rel="stylesheet" type="text/css" media="all" href="'. $file . '" />'; } foreach ($js as $file) { $tpl_vars .= "n" . '<script type="text/javascript" src="'. $file . '"></script>'; } if (isset($skin_info['header'])) { $tpl_vars .= "n" . $skin_info['header']; } $xoopsTpl->assign('xoops_module_header' , $tpl_vars . @$xoopsTpl->get_template_vars("xoops_module_header")); } else { foreach ($css as $file) { $xoTheme->addStylesheet($file); } foreach ($js as $file) { $xoTheme->addScript($file); } if (isset($skin_info['header'])) { $xoopsTpl->assign('xoops_footer' , @$xoopsTpl->get_template_vars("xoops_footer") . "n" . $skin_info['header']); } } }
thanks care of
http://www.communication.org.au and David Sless.