Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Mikeric on October 14, 2008, 12:43:00 PM

Title: Post and Topic Numbering Incorrect
Post by: Mikeric on October 14, 2008, 12:43:00 PM
On the index of my site www.southshorestangs.com where it lists the post and topic numbers in each forum it is incorrect. It is displaying the same number for both. Any ideas on what could cause this?
Title: Re: Post and Topic Numbering Incorrect
Post by: H on October 14, 2008, 02:19:00 PM
Does the problem occur with the default theme?
Title: Re: Post and Topic Numbering Incorrect
Post by: Mikeric on October 14, 2008, 04:48:46 PM
No it only does it on one theme.
Title: Re: Post and Topic Numbering Incorrect
Post by: H on October 14, 2008, 05:28:43 PM
That would imply it is a theme bug. Please attach your index.template.php for the theme that isn't working
Title: Re: Post and Topic Numbering Incorrect
Post by: Mikeric on October 15, 2008, 02:55:46 PM
Here is my index.template.php. I have also been trying to make the forum wider, like 90% of browser, center the logo, and change the color of the navigation links to red not the blue purple color they are now when you hover over them. I changed all the colors other than that one and can't find where too.

I attached it now, sorry i must have forgot to before.
Title: Re: Post and Topic Numbering Incorrect
Post by: H on October 15, 2008, 04:06:27 PM
There is no file attached. Did you manage to fix the problem?
Title: Re: Post and Topic Numbering Incorrect
Post by: Mikeric on October 15, 2008, 06:00:21 PM
i reattached the index.template.php.
Title: Re: Post and Topic Numbering Incorrect
Post by: H on October 16, 2008, 03:27:45 PM
Sorry, please post boardindex.template.php
Title: Re: Post and Topic Numbering Incorrect
Post by: Mikeric on October 16, 2008, 09:20:41 PM
here is the boardindex.template.php
Title: Re: Post and Topic Numbering Incorrect
Post by: H on October 17, 2008, 01:01:21 PM
Try finding in boardindex.template.php:

<strong>', $board['posts'], ' ', $board['posts'], '</strong>

And replacing with:

<strong>', $board['posts'], ' ', $board['topics'], '</strong>
Title: Re: Post and Topic Numbering Incorrect
Post by: Mikeric on October 17, 2008, 06:03:35 PM
Thanks for the help that fixed it.