1
Kell
newbb and last topic [newbb_new.cpp:78]
  • 2003/11/30 11:10

  • Kell

  • Just popping in

  • Posts: 2

  • Since: 2002/10/4


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] != ) {
            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.

2
Kell
Re: newbb and last topic [newbb_new.cpp:78]
  • 2003/11/30 11:20

  • Kell

  • Just popping in

  • Posts: 2

  • Since: 2002/10/4


Sorry, ignore this post. Seems someone else pointed it already. Argh, what a noob mistake posting a bug w/o skimming the forums first. Sorry once again.

https://xoops.org/modules/newbb/viewtopic.php?topic_id=14249&forum=21

Login

Who's Online

358 user(s) are online (303 user(s) are browsing Support Forums)


Members: 0


Guests: 358


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits