YAFLogo

Posted by: danielgindi - Tuesday, 30 June 2009 02:29:59
Hi! I've noticed that the 'last posts' or 'active posts' show only the last CREATED topics, but not the actually ACTIVE topics. Is there a way to change that? or do I need to rewrite the topic_latest SP?

Posted by: imukai - Tuesday, 30 June 2009 07:23:56
What version, etc, are you running? My active posts, as well as the one here on this site, shows the topics that have been most recently replied to or created.

Posted by: danielgindi - Tuesday, 30 June 2009 07:28:35
I'm running 1.9.3

Posted by: danielgindi - Tuesday, 30 June 2009 07:37:54
Well I did not test with more than 2 topics, but I guess I expected the reply to bump the topic to the head of the list. Now I've done tests with more topics than in the list, and it works fine. Seems like if you have a limit of 5 on the active topics list, and there's less than 5, it will not update the ordering of them by update time...

Posted by: imukai - Tuesday, 30 June 2009 09:36:48
Very odd. The SP (yaf_topic_latest) orders the result set by the LastPosted field descending. Shouldn't matter if it's 2 posts or 20.. a new reply should put it at the top. You didn't happen to snap a screenshot when it was misbehaving did you?

Posted by: danielgindi - Tuesday, 30 June 2009 09:42:45
No.. But I wasn't dreaming either... It was really updating just the dates but not the order, until I created more than 4 topics (I set the limit to 4 active topics) Yeah it is odd! Anyway, doesn't really matter.. If the forum does not have more than 4 topics, its not a forum.. :-)