Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Recent Comments widget: possible bug in linking of new comments (http://forum.bytesforall.com/showthread.php?t=5151)

Jozefs Jan 5, 2010 02:15 AM

Recent Comments widget: possible bug in linking of new comments
 
In the bfa recent comments widget the comments links sometimes give the wrong links. E.g. when the first new comment is on page 4 of the comments for that particular article, the link is (for example)

HTML Code:

[url]http://www.diskidee.be/2009/12/29/aldi-internetradio-bezint-eer-je-begint/9789/comment-page-4/#comment-33682[/url]
That is a correct link. However when one of the other new comments is on another page or the first page of that particular article, the link still points tot page-4. The comment number is correct, the pagenumber not, resulting in a faulty link, e.g.

HTML Code:

[url]http://www.diskidee.be/2009/01/16/voor-grote-scanopdrachten/8691/comment-page-4/#comment-33676[/url]
This article has only one page of comments, therefore the correct link would be:

HTML Code:

[url]http://www.diskidee.be/2009/01/16/voor-grote-scanopdrachten/8691/comment-page-1/#comment-33676[/url]
So, the page number of the first new comment page is retained in all subsequent new comment links.

This also happens when I use the standard wordpress new comments widget. So it seems either to be a problem in WP (I'm using 2.9) or maybe in Greg's Threaded Comment Numbering plug-in which I also use. Or is it a problem in Atahualpa? Or is there an error in my configuration of the theme?

Any help would be greatly appreaciated.

Jozefs Jan 5, 2010 03:20 AM

Upgrading to wp 2.9.1 seems to solve this problem.

Jozefs Jan 6, 2010 01:23 AM

Hmm... it seems WP 2.9.1 didn't solve this problem, only slightly changed the behaviour. All links in de recent comments wiget area (Atahaualpa or plain vanilla WP) take the comment page number from the first linkend comment and are therefore wrong IF the widget is displayed on another page than the homepage; the comment numbers themselves do match. You can see this for yourselve at the side bar on my site www.diskidee.nl. (If you navigate to the home page the comment page number do match; but they don't match on the comment pages themselves). Anyone got any ideas how to solve this problem or what is causing it? Another WP bug? Or something in the code of the theme?

juggledad Jan 6, 2010 10:06 AM

if this is happening with the default theme, then it is a plugin/wp issue. have you checked in with the plugin's author?


All times are GMT -6. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.