news topics being bumped!

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
magnusm
Active Member
Posts: 4
Joined: 22. May 2008 14:17

news topics being bumped!

Post 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.. :?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: news topics being bumped!

Post 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
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
magnusm
Active Member
Posts: 4
Joined: 22. May 2008 14:17

Re: news topics being bumped!

Post by magnusm »

thank you, worked perfectly :)
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: news topics being bumped!

Post by Kevin »

Fine, thanks! :)
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!
Locked

Return to “board3 Portal 1.0.x - English Support”