diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Forum Problems (http://www.diyaudio.com/forums/forum-problems/)
-   -   Links to posts depend on "correct" #posts per page to work (http://www.diyaudio.com/forums/forum-problems/227905-links-posts-depend-correct-posts-per-page-work.html)

benb 15th January 2013 09:04 PM

Links to posts depend on "correct" #posts per page to work
 
There is a post (described here solely to demonstrate the problem) by BudP at 3:05 (Eastern) time today in the thread "EnABL - Technical Discussion" which has links to posts earlier in the thread. However, the links didn't work for me. It took a moment to figure it out - the links were apparently generated at 20 posts per page, but I view the forum at 50 posts per page, and the forum software does not correctly "convert" between these. I set the forum (User CP->Edit Options-> Number of Posts to Show Per Page) to 20 posts, and the links then worked.

This appears to be a bug in the forum software.

hochopeper 15th January 2013 11:55 PM

The bug comes because the URL format is like this:

http://www.diyaudio.com/forums/[forum section name]/[thread id + thread name]-[page number].html#post[post number id]

By following the above, if you simply remove the page number (and its preceding dash) then it all works and redirects properly, I believe.

For example:

http://www.diyaudio.com/forums/vendo...ml#post3327763

and

http://www.diyaudio.com/forums/vendo...ml#post3327763

Should take you to the same post. If a link isn't working for me I will generally copy and past the link I am given into the url bar and remove the page number, then all is well.

I do agree that this could be fixed in the forum software to no longer put the page number in the url that is provided in the direct link to the post. I am not sure how easy this is for the admins of this forum to fix or whether it needs to be fixed in the forum software that they use.

Chris

DF96 16th January 2013 09:21 AM

Didn't work for me. The first link took me to post 69. The second link took me to post 1.

AndrewT 16th January 2013 10:12 AM

http://www.diyaudio.com/forums/forum...ml#post3328174 has this in the address. "227905-links-posts-depend-correct-posts-per-page-work.html#post3328174"

http://www.diyaudio.com/forums/forum...ml#post3327779 has this in the address. "227905-links-posts-depend-correct-posts-per-page-work.html#post3327779"

http://www.diyaudio.com/forums/forum...ml#post3327569 has this in the address."227905-links-posts-depend-correct-posts-per-page-work.html#post3327569"

The three links should take one to posts 3, 2 and 1 of this Thread.

There is no "page" in any of the addresses. All links have a common 227905 which I guess is the Thread ref.

hochopeper 16th January 2013 10:17 AM

Those links all work for me Andrew.

I just tested this in safari 6.0.2, opera 12.12, chrome 24.0.1312.52 and firefox 13.01 and my method posted above works in all of those. The only other browser that I can think of is IE. For internet standards compliance and security I use predominantly chrome unless there is a REALLY compelling reason to use something else.


Chris

AndrewT 16th January 2013 10:22 AM

I use
right click to see drop down menu.
I select
copy link location.
I then paste that link location into my post.
I then check that the link works AFTER I have posted.

There appear to be other ways to insert a link to a post, but I don't lnow what they are.
Many get the post links wrong. I don't think it is a Forum software bug. I think it is poor posting and poor editing of posts.

benb 16th January 2013 07:26 PM

Quote:

Originally Posted by AndrewT (Post 3328218)
The three links should take one to posts 3, 2 and 1 of this Thread.

There is no "page" in any of the addresses. All links have a common 227905 which I guess is the Thread ref.

Links to posts on the first page will ALWAYS work. That's not where the problem shows up.
Quote:

Originally Posted by AndrewT (Post 3328233)
I use
right click to see drop down menu.
I select
copy link location.
I then paste that link location into my post.
I then check that the link works AFTER I have posted.

There appear to be other ways to insert a link to a post, but I don't lnow what they are.
Many get the post links wrong. I don't think it is a Forum software bug. I think it is poor posting and poor editing of posts.

I presume you mean right click on the post #, which is the way I and presumably everyone else does it. As far as I can tell, that IS the only and "correct" way to do it.

Get the address of a post in longer thread past the first page, such as #51 or greater. Links to THOSE posts include the page number in the URL, and THAT creates a problem when someone who clicks the link is set for a different number of posts per page than the person who generated the link. If you TEST the link it will ALWAYS work for YOU, unless you change your Number of Posts to Show Per Page, as I described in the first post here.

I like to read threads at 50 posts per page, but apparently others have posted links at the forum default of 20 posts per page,

Here is post #101 of the "Sound Quality vs. Measurements" thread, generated at 20 posts per page (the post is at the top of page 6 of the thread):
http://www.diyaudio.com/forums/loung...ml#post2833740

Here is the same post #101 generated at 50 posts per page (this time it's at the top of page 3):
http://www.diyaudio.com/forums/loung...ml#post2833740

Only ONE, at most, of the above two links will work. If you're at 20 posts per page, the first will work. If you're at 50 posts per page, the second will work. If you're at something else, I don't know if either would work.

hochopeper has "a solution," but it's a kludge everyone (or many people) would have to go through, either when making a link to a post or when trying to get to the post the link points to.


ETA: Okay, BOTH of those worked for me just now. I suspect there's some Javascript stuff going on, as I don't always have it fully enabled.

planet10 16th January 2013 08:46 PM

It is not a bug, it is just insufficient understanding of the link structure of the forum.

If you look at a post you will see a number in the top right corner -- the post number of the thread. It is a link to that same post. If you command-click on that you can copy the URL of that specific post (i guess right clik if you have a computer from the dark-side).

http://www.diyaudio.com/forums/forum...ml#post3328976

If you give me a link to the post with the page based link i can fix it.

dave

planet10 16th January 2013 09:14 PM

Quote:

Originally Posted by benb (Post 3328872)
Here is post #101 of the "Sound Quality vs. Measurements" thread, generated at 20 posts per page (the post is at the top of page 6 of the thread):
http://www.diyaudio.com/forums/loung...ml#post2833740

Here is the same post #101 generated at 50 posts per page (this time it's at the top of page 3):
http://www.diyaudio.com/forums/loung...ml#post2833740

Only ONE, at most, of the above two links will work.

Both work for me, taking me to the same post #101. Now, for some reason, in the middle of resolving the URL, i see post #51 with the 1st link, and post #21 on the 2nd link... which i guess if you clicked on might stop the process of resolving the URL, or maybe if you have a flakey browser.

dave

planet10 16th January 2013 09:23 PM

Quote:

Originally Posted by planet10 (Post 3329026)
Both work for me, taking me to the same post #101. ... a flakey browser.

Same result in #2 & #3 browsers (Safari/Firefox) -- post #101. I didn't watch for the pass-tru 21 or 51.

dave


All times are GMT. The time now is 01:22 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2