New feature: ability to link to exact post within a thread

Posted by Nick Gammon on Tue 18 Dec 2012 08:52 PM — 2 posts, 17,400 views.

Australia Forum Administrator #0
Following a suggestion by Fiendish, the forum software has been amended to allow for you to link to a particular post. This is especially useful in a long thread.

Reply numbers


Each thread now identifies each post with a reply number (except the first post, the Original Post).

Manual syntax


You can use that reply number in a link:



It is necessary to put the reply number in twice. The first one (&reply=70) lets the forum software calculate the correct page (to save you doing it).

The second one (#reply70) is an "anchor" which tells your web browser to go to that exact part of the page. Anchors are not passed to the web server so we can't just calculate the page number from the anchor alone.

Template syntax


You can use the forum templates to generate that link for you, eg.


[post=10147,70]


The first number is the post number (from the "?id=10147" part of the URL) and the second number is the reply number (70).

The above would generate:

Template:post=10147
Please see the forum thread: http://gammon.com.au/forum/?id=10147 (reply #70).


[EDIT] Added a comma between the thread number and the reply number.
Amended on Tue 18 Dec 2012 09:59 PM by Nick Gammon
Australia Forum Administrator #1
Click to generate URL


You can now click on the Reply #xxx link to generate the correct link for copying and pasting.

For example, in the case of the link above, you will see:


Posted by 	Gesslar   (17 posts)  bio 
Date 	        Reply #70 on Tue 14 Feb 2012 09:29 PM


Clicking on "Reply #70" on the page will generate a link to that exact reply (in other words the page will refresh centered on that reply). Then you can copy the URL from the "address" part of your web browser to use that link in another post.

Or just right-click on that link and use your web browser's "copy link" facility.