1
It seems that when not in full mode, newbb won't send the data for the last poster. Shouldn't this just not be shown in the template? Also, if you really want to do that, the "if" should come outside the "while" as follows:
if ( $options[1] != 0 ) {
while ($tmpdb=$db->fetchArray($lastpostername)) {
$tmpuser = XoopsUser::getUnameFromId($tmpdb['uid']);
$topic['time'] = formatTimestamp($arr['topic_time'],'m')." $tmpuser";
}
}
I still had to take that "if" off.