1
Hi,
I have found a bug in newBB Recet Topics' Block.
It only hapens when you set "Display in full size" to 0, so short display is used.
The template shows 3 colums:
<{$topic.title}> <{$topic.replies}> <{$topic.time}>
but newbb_new.php don't sends any data if "Display in full size" is set to 0.
Quote:
while ($tmpdb=$db->fetchArray($lastpostername)) {
$tmpuser = XoopsUser::getUnameFromId($tmpdb['uid']);
if ( $options[1] != 0 ) {
$topic['time'] = formatTimestamp($arr['topic_time'],'m')." $tmpuser";
}
}
I have commented the condition (if) and it works all right.
May be this code whas intended for "Most Viewed Topics" and "Most Active Topics" (haven't tried it), so we have to add and other condition checking $options[2] parameter.