3
Doesn't work either. I'd think the problem comes from the line
$url_arr = explode('/', str_replace(str_replace('https://', 'http://', XOOPS_URL.'/modules/'), '', 'http://'
.$HTTP_SERVER_VARS['HTTP_HOST'].$xoopsRequestUri));
Replacing it with
$url_arr = explode('/', str_replace(str_replace('https://', 'http://', XOOPS_URL.'/modules/'), '', 'http://'.preg_replace("/http:\/\/(.*)\/.*/","\$1",XOOPS_URL).$xoopsRequestUri));
gives me the right hostname, but it doens't work. I'm abandoning it, I don't have the time to look further at it.... But it worked in xoops1.
I'll try XOOPS again later.
thanks
RAph