Linking to a specific post
Discussion
On other fora I frequent, each post within a thread is given its own number and navigable link - I can therefore jump someone straight to the post I want to draw their attention to. I can't find a facility for this on PH, but I believe it would be very useful. Any chance of it happening at some stage?
Not quite. That's linking to a specific thread; I'm talking about down to post-level. Here's an example on the STOC:
If I click on the '#7' it produces a URL:
Clicking or pasting that URL then automatically takes you to that post:
It's very useful when you want to highlight a specific post - I guess there's already similar functionality in the PH code for reporting an individual post that could be adapted?
If I click on the '#7' it produces a URL:
Clicking or pasting that URL then automatically takes you to that post:
It's very useful when you want to highlight a specific post - I guess there's already similar functionality in the PH code for reporting an individual post that could be adapted?
Edited by Funk on Thursday 11th June 19:25
In the meantime you can do it by hand... count the number of posts before the one you're trying to link to, add 20 for every preceding page, and stick that number in the URL as an "i" parameter.
So this links to this post:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
So this links to this post:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
It doesn't remove it, it just starts the display of the thread from that post. If you try that link again now you'll see it shows that post followed by yours and mine.
If you want to display the page starting from post number 20n [n=0,1,2...] in the usual way but have it jump part way down the page to the post in question... well that's possible too probably simpler in fact...
Go to the page, count the number of posts (starting from 1) to the post you want to jump to, then stick #messagen where n is the post number on the end of the URL.
Here's an example with this thread, again jumping to my first post:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
...note that it's #message5 as opposed to id=4 because you count from 1 instead of from 0. Also you don't add 20 for each page of a multi-page thread in this case... here's an example jumping to the 13th post on the second page of a thread:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
If you want to display the page starting from post number 20n [n=0,1,2...] in the usual way but have it jump part way down the page to the post in question... well that's possible too probably simpler in fact...
Go to the page, count the number of posts (starting from 1) to the post you want to jump to, then stick #messagen where n is the post number on the end of the URL.
Here's an example with this thread, again jumping to my first post:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
...note that it's #message5 as opposed to id=4 because you count from 1 instead of from 0. Also you don't add 20 for each page of a multi-page thread in this case... here's an example jumping to the 13th post on the second page of a thread:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
How about these...
Other thread:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
This thread:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
Other thread:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
This thread:
http://www.pistonheads.com/gassing/topic.asp?h=0&a...
Gassing Station | Website Feedback | Top of Page | What's New | My Stuff