Loading...
 
Features / Usability

Features / Usability


Re: forums last posts (More Anomolies found)

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.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting