Page 1 of 1

news topics being bumped!

Posted: 19. June 2008 20:12
by magnusm
Hi,

First of all, great mod :)
I have a problem though, I'm not sure if it has been asked before, I found a somewhat similar topic, but it seemed to be a different issue, so I decided to make a new thread for this.

I use the portal as a front page for the entire site, posting news in the portal and such. The problem is, when someone comments on an old piece of news, it gets bumped to the portal, to the very top of the portal page, kinda like they would in a regular forum... I tried to look for a setting to make the threads ordered by the date of the original post, but I failed to find any. I reckon this is some sort of bug, or something?

Please, help.. :?

Re: news topics being bumped!

Posted: 19. June 2008 20:38
by Kevin
Hi,

we'll take a option for that into account in the next version.
Until then please use this tweak:

portal/includes/functions.php

search:

Code: Select all

$topic_order = 't.topic_last_post_time DESC';
replace with:

Code: Select all

$topic_order = 't.topic_time DESC';
- two times!

I've already provided it at phpBB.com: http://www.phpbb.com/community/viewtopi ... 5#p5475455

Re: news topics being bumped!

Posted: 19. June 2008 21:59
by magnusm
thank you, worked perfectly :)

Re: news topics being bumped!

Posted: 19. June 2008 22:54
by Kevin
Fine, thanks! :)