Loading...
 
Skip to main content

Features / Usability


forums last posts (More Anomolies found)

posts: 73

Greetings.

I am still having 0 luck getting the forums-last-post module to show up in tikiwiki 1.8.2. Instead, I get a bunch of "off set" errors. I have run the conversion script twice, but it doesn't do anything.

I have also noticed that the "Last Forum Topics" module is now buggy. Instead of showing the last 10 items, it shows 10 items plus a blank 11th item. I can't figure out how to shut off this blank 11th item.

http://mattbarton.net

Furthermore, when I browse my forums, I notice that the "last post" column is blank except in the forums that people posted in after the update. Besides this weirdness, the old messages appear to be working fine.

Does anyone have a hypothesis about what could be causing the problem here? I hate to be so persistent, but the last-forum-posts module was one of the top reasons I updated to 1.8.2 in the first place.

posts: 73
Has anybody gotten the last-forum-postings to show up?


posts: 73

I managed to fix these problems. To fix the "last forum posts" problem, I commented out

//if ($ranking) {
// for ($i = 0; $i < count($ranking["data"]); $i++) {
// $name = $ranking["data"][$i]["name"];
// $name = str_replace($replyprefix, "", $name);
// $ranking["data"][$i]["name"] = $name;
// }
//}

Then, to get rid of the strange 11th item showing up in the lists, I changed the template file for the module. I changed the line

{section name=ix loop=$modForumsLastPosts}

to

{section name=ix loop=10}

Inelegant, but it works now.


posts: 1001 Canada
Thanks blacklily, could you please contribute those findings on the bug tracker on SourceForge?😉