Latest News showing +1 reply when there are no replies

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
kooljp
Active Member
Posts: 34
Joined: 4. June 2011 04:08

Latest News showing +1 reply when there are no replies

Post by kooljp »

Your Portal Version: 2.1.0-rc2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge
Boardlink: http://www.fishing-victoria.com/

PHP Version: 5.5.22

What have you done before the problem was there?
Recent portal update to 2.1.0-rc2
Was showing 0 replies when a new topic was posted


What have you already tryed to solve the problem?
Now it is showing one reply when there is just the first post.

Description and Message
With the "Latest News" Portal module, the reply count is counting the initial post now and showing 1 reply when it should be "0".

Any ideas on how to fix the replies count to zero when there are no replies?

(See pic below)
http://www.fishing-victoria.com/images/replies.png


Cheers
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Latest News showing +1 reply when there are no replies

Post by Kirk »

Gruß Udo

Topic author
kooljp
Active Member
Posts: 34
Joined: 4. June 2011 04:08

Re: Latest News showing +1 reply when there are no replies

Post by kooljp »

Kirk wrote:Try it with this change: https://github.com/board3/Board3-Portal/pull/501/files
Thanks Kirk!

I presume its just the -1,-1 to change in portal/fetch_posts.php?
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Latest News showing +1 reply when there are no replies

Post by Kirk »

That is correct
Gruß Udo
Locked

Return to “Board3 Portal 2.0.x - English Support”