I recently upgraded to 4.0.9. I've gone around checking the functionality to make sure I haven't screwed anything up. Comments seem to be a problem.
I've made sure that the Member user group is set to allow comments.
When I went to try to leave a review and click on the "Reviews" (which used to go to a comments page) it brings me to the details page instead of the comments form. Is this working correctly?
I also notice that the displaylink.tpl file has the following at line 130 which is different from the syntax in my old version.
Okay, so I figured out a work around. If I set the switch Combine Comments and Details pages I can see the comments on the details pages and add them.
I toggled back to see if that solved the problem and it didn't. When the Combine Comment and Details page is deselected, clicking on Reviews brings me to the details page with no form. I still can't get to just a comments page.
If you combine details and comments then you'll be taken to a combined page. If you don't, then clicking "reviews" goes to comments.php?id={LINKID}, the comments-only page. To end up on the links page, I guess you must have done something odd with url rewriting.
I didn't do anything odd with URL rewriting on purpose.
First, I'll check through the "stock" templates and compare them to see if I have anything odd going on.
I've got some other strange stuff going on: for instance if I'm in a link and I've already voted on something, after it tells me I can't vote on the link it takes me to what seems like a random category instead of back to the category I started at. I'll poke around the templates and the rewriting code to see if anything looks bad.
I posted a bit of code from the template in my first post above. The variable in the 4.0.9 default displaylinks template {LINKTHREADURL} is different from the code in 3.4.6 version of the default displaylinks template (comments.php?id={LINKID}). I don't know how the variables changed from version to version so it's not clear what impact this may have on the problem.
It's quite obvious the new variable {LINKTHREADURL} has not been properly activated in the new versions. Replacing it with comments.php?id={LINKID} works fine here ..
I tried to make the same change, replace {LINKTHREADURL} with comments.php?id={LINKID}, and it made no difference. The link still leads to the Details page. The URL displayed when I mouse over the Detail link and the Review link is identical.
I applied the sql so I have the same settings now. Went to a reviews page, posted a comment, nothing's wrong. You don't seem to be doing URL rewriting either. (Are you actually doing rewriting? Could be the diagnostic doesn't work right, as I've only tried it once before.)
I've attached the default 'show links in category' template I'm using, which gives very different urls for details and comments. Do you somehow get different links when actually using the default template? That's only the case if comments and details are integrated.
I reloaded the default template (the whole directory provided by 4.0.9), regenerated everything just for giggles, made sure comments was on, but Combine Details and Comments off (I'll leave this off for a day or so, so you can see it) and then looked at the site (I'll leave it this way for a few days) and I'm still getting the link pointing to the details page.
I'm using the default .htaccess file (renamed to .htaccess, of course) modified only to point to the wsnlinks directory. I've made a copy of that file below.
Comments on Comments/Review Trouble
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
I recently upgraded to 4.0.9. I've gone around checking the functionality to make sure I haven't screwed anything up. Comments seem to be a problem.
I've made sure that the Member user group is set to allow comments.
When I went to try to leave a review and click on the "Reviews" (which used to go to a comments page) it brings me to the details page instead of the comments form. Is this working correctly?
I also notice that the displaylink.tpl file has the following at line 130 which is different from the syntax in my old version.
Any ideas why this isn't working?
<IF {SWITCH_COMMENTS}><a href="{LINKTHREADURL}"><img src="templates/default/images/linktools_comments.gif" border="0" alt="Comments"> Reviews (<IF {LINKCOMMENTSREAD}>{LINKNUMCOMMENTS}<OTHERWISE><b>{LINKNUMCOMMENTS}</b></IF>)</a></IF>
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
Okay, so I figured out a work around. If I set the switch Combine Comments and Details pages I can see the comments on the details pages and add them.
I toggled back to see if that solved the problem and it didn't. When the Combine Comment and Details page is deselected, clicking on Reviews brings me to the details page with no form. I still can't get to just a comments page.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If you combine details and comments then you'll be taken to a combined page. If you don't, then clicking "reviews" goes to comments.php?id={LINKID}, the comments-only page. To end up on the links page, I guess you must have done something odd with url rewriting.
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
I didn't do anything odd with URL rewriting on purpose.
First, I'll check through the "stock" templates and compare them to see if I have anything odd going on.
I've got some other strange stuff going on: for instance if I'm in a link and I've already voted on something, after it tells me I can't vote on the link it takes me to what seems like a random category instead of back to the category I started at. I'll poke around the templates and the rewriting code to see if anything looks bad.
Member
Usergroup: Customer
Joined: Oct 27, 2006
Total Topics: 6
Total Comments: 25
I have the same problem after upgrading ..
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Tell me what settings to use to reproduce this, or at least post your admin/diagnostic.php output.
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
Paul:
I haven't changed any setting to create the problem. It appeared to be there when I upgraded.
As I stated, if I combine comments and details, the program correctly puts the comments section on the bottom of the details page.
However, if I leave that switch set at no, the "Reviews" link just goes to the details page instead of to the comments page.
Here's a link to the text output from the diagnostics.php
http://www.troutlinks.com/diagnostictl011207.txt
I posted a bit of code from the template in my first post above. The variable in the 4.0.9 default displaylinks template {LINKTHREADURL} is different from the code in 3.4.6 version of the default displaylinks template (comments.php?id={LINKID}). I don't know how the variables changed from version to version so it's not clear what impact this may have on the problem.
Member
Usergroup: Customer
Joined: Oct 27, 2006
Total Topics: 6
Total Comments: 25
It's quite obvious the new variable {LINKTHREADURL} has not been properly activated in the new versions. Replacing it with comments.php?id={LINKID} works fine here ..
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
I tried to make the same change, replace {LINKTHREADURL} with comments.php?id={LINKID}, and it made no difference. The link still leads to the Details page. The URL displayed when I mouse over the Detail link and the Review link is identical.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I applied the sql so I have the same settings now. Went to a reviews page, posted a comment, nothing's wrong. You don't seem to be doing URL rewriting either. (Are you actually doing rewriting? Could be the diagnostic doesn't work right, as I've only tried it once before.)
I've attached the default 'show links in category' template I'm using, which gives very different urls for details and comments. Do you somehow get different links when actually using the default template? That's only the case if comments and details are integrated.
Attached Files:
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
I reloaded the default template (the whole directory provided by 4.0.9), regenerated everything just for giggles, made sure comments was on, but Combine Details and Comments off (I'll leave this off for a day or so, so you can see it) and then looked at the site (I'll leave it this way for a few days) and I'm still getting the link pointing to the details page.
Yes, I have SEO enabled (see screen below)
SEO Screenshot
I'm using the default .htaccess file (renamed to .htaccess, of course) modified only to point to the wsnlinks directory. I've made a copy of that file below.
htaccess text
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I see it now, a URL rewriting fix to WSN Forum caused a bug in it for WSN Links. Fixed in 4.0.11.
Member
Usergroup: Customer
Joined: Jul 16, 2006
Total Topics: 5
Total Comments: 23
Great! Thanks for your help and patience, Paul.