SimplePortal

Support => English Support => Topic started by: ehsizzup on October 05, 2010, 02:41:48 PM

Title: Broken Recent Posts/Topics Block
Post by: ehsizzup on October 05, 2010, 02:41:48 PM
Hello all.

I have caused a mystery problem with an well testing Recent Posts/Topics block on my forum.

The Recent Posts/Topics block is setup to show topic/posts from 5 of my 7 boards.  Worked fine for months.

Yesterday I started 100+ new topics in one of the boards not included in the Recent Posts/Topics block.

My Recent Posts/Topics block now shows "No posts were found".

If I start a new topic on one of the 5 boards included in the block it works fine.  It's just the topic older than the 100 new topics that seems to be buried.


Is this a flaw/limitation of SMF or the block?   SSI?  Is it looking back far enough before it gives up?

Thanks in advance.
Gerry
Title: Re: Broken Recent Posts/Topics Block
Post by: ehsizzup on October 05, 2010, 03:12:56 PM
I solved my own problem.....

It's an SSI issue.  It only looks back 25 posts max. 

Changed line 288 of SSI.php to look back further. 

Code: [Select]
'min_message_id' => $modSettings['maxMsgID'] - 25 * min($num_recent, 5),
At least I think that's what I did.  It works.


g.


SimplePortal 2.3.8 © 2008-2024, SimplePortal