View Single Post
  #237  
Old 20th May 2010, 09:46 PM
MightyMouth MightyMouth is offline
Senior Member
 
Join Date: Mar 2007
Posts: 132
Default

Quote:
Originally Posted by gingea1pom View Post
Keith,

How did you make it go straight to the post and not the start of the thread?

I started to think I was getting good at creating links, that put me back in my box.
Haha, there are several ways but the easiest is to look in the upper right corner of the post and find the number, in this case it shows #125. That number is a link to the post but if you use that link it will only show that post and not the rest of the thread, the trick is to alter that URL.

If you look at the URL for the post it is "http://www.haynes.co.uk/forums/showpost.php?p=37541&postcount=125"

The bit after the PHP? is the important bit. p=37541 is the global forum post number and the &postcount=125 is the thread post number which adds the number in the upper right corner. This makes it link only to that post without the rest of the thread.

If you replace the &postcount=125 with &post=37541 so the link looks like "http://www.haynes.co.uk/forums/showpost.php?p=37541&post=37541" that will make it go to the the post within the thread.

If you leave off the &post=37541 so the link looks like "http://www.haynes.co.uk/forums/showpost.php?p=37541" it will do the same as if you leave the &postcount=125 except it won't show the post number in the upper right corner.

Does that make any sense at all?

Edit:

Actually I just noticed the real easiest way is to click the number in the upper right then on the page that opens copy the link above that number that says Thread: such and such

Last edited by MightyMouth : 20th May 2010 at 09:57 PM. Reason: update
Reply With Quote