12
Quote:
JAVeseywrote:
Does this module work like xoopspoll does with CBB (or any other XOOPS forums modules?
Quote:
Catzwolf wrote:
Does anyone know what changes were made to make it comp with CBB?
The package that I uploaded contains directory named "_hack_newbb". It's a hack for cbb-v3.08.
I compared those files with original newbb-v3.08 and found that there were no serious changes there, just replacing path to module umfrage instead of xoopspoll. Only one place where I didn't have time to jump in a code is "include/functions.ini.php" where in the function "newbb_formatTimestamp"
one block is disabled
/*
if(strtolower($format) == "reg" || strtolower($format) == "") {
$format = "c";
}
if( (strtolower($format) == "custom" || strtolower($format) == "c") && !empty($GLOBALS["xoopsModuleConfig"]["formatTimestamp_custom"]) ) {
$format = $GLOBALS["xoopsModuleConfig"]["formatTimestamp_custom"];
}
load_functions("locale");
return XoopsLocal::formatTimestamp($time, $format, $timeoffset);
if(class_exists("XoopsLocal") && is_callable(array("XoopsLocal", "formatTimestamp")) && defined("_TODAY")){
return XoopsLocal::formatTimestamp($time, $format, $timeoffset);
}
*/