# coding question

**URL:** <https://boards.straightdope.com/t/coding-question/502497>\
**Category:** About This Message Board\
**Created:** [July 9, 2009, 9:47pm UTC](https://boards.straightdope.com/t/coding-question/502497 "2009-07-09T21:47:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![otorophile](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@otorophile](https://boards.straightdope.com/u/otorophile)\
**Post date:** [July 9, 2009, 9:47pm UTC](https://boards.straightdope.com/t/coding-question/502497/1 "2009-07-09T21:47:15Z")

</div>

In [this thread](http://boards.straightdope.com/sdmb/showthread.php?t=523928), **Serenata67** links directly to a specific post in another thread. What’s the code for doing this? I could play around, but I figure this is the easiest way to find out.

---

<div class="post-metadata">

**Author:** ![Shadez](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@Shadez](https://boards.straightdope.com/u/Shadez)\
**Post date:** [July 9, 2009, 10:12pm UTC](https://boards.straightdope.com/t/coding-question/502497/2 "2009-07-09T22:12:43Z")

</div>

Click the little number directly to the left of the red exclamation point at the top of each post (ie #1). It will open a new window and you can copy that particular URL.

---

<div class="post-metadata">

**Author:** ![RedFury](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@RedFury](https://boards.straightdope.com/u/RedFury)\
**Post date:** [July 9, 2009, 11:16pm UTC](https://boards.straightdope.com/t/coding-question/502497/3 "2009-07-09T23:16:58Z")

</div>

Or simply right click it [post number] and chose “copy link location” from the drop-down menu…

---

<div class="post-metadata">

**Author:** ![Arnold\_Winkelried](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@Arnold\_Winkelried](https://boards.straightdope.com/u/Arnold_Winkelried)\
**Post date:** [July 9, 2009, 11:34pm UTC](https://boards.straightdope.com/t/coding-question/502497/4 "2009-07-09T23:34:42Z")

</div>

There are two ways to link to a post:

[this way](http://boards.straightdope.com/sdmb/showpost.php?p=2105600&postcount=28)

[post=2105600]and this way[/post]

The first way you would do by right-clicking on the post number and saying “copy link location”, as mentioned by RedFury. Then use the link with the tag. If you do this, the link will bring you to a page with the post all by itself.

The second method is superior in my opinion, because it brings you to a page showing the post at the top of a page that also shows the entire thread. The second method uses the [post] tag. To use this second method, you pull out the post number from the link you got by right-clicking on the post number and saying “copy link location”. Then you put “post=” in front of the post number.

e.g. I right-click on the post number, copy the link, and get this after pasting:  
[http://boards.straightdope.com/sdmb/showpost.php?p=2105600&postcount=28](http://boards.straightdope.com/sdmb/showpost.php?p=2105600&postcount=28)

The post number is the number after “?p=”, in this case 2105600  
To use the [post] tag with this post number, I would type in something like this  
[post=2105600]This is a much better way of linking to a post[/post]

and it will show up like this  
[post=2105600]This is a much better way of linking to a post[/post]

---

<div class="post-metadata">

**Author:** ![SkipMagic](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/skipmagic/32/20706_2.png) [@SkipMagic](https://boards.straightdope.com/u/SkipMagic)\
**Post date:** [July 10, 2009, 1:19am UTC](https://boards.straightdope.com/t/coding-question/502497/5 "2009-07-10T01:19:19Z")

</div>

With the vB upgrade, there’s actually an easier way of doing **Arnold** ’s second method without using the [post] tag and hunting down the post number.

1.) Click on the post number as explained by everyone else in the thread.  
2.) When that new screen comes up, you’ll see a clickable “Thread” line at the top, right-hand corner. Click on that URL and it will take you back to the thread with that specific post at the top of the screen (what **Arnold** just described).  
3.) Copy the brand-new URL in your address bar and use that in your post.

---

<div class="post-metadata">

**Author:** ![RedFury](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@RedFury](https://boards.straightdope.com/u/RedFury)\
**Post date:** [July 10, 2009, 2:48am UTC](https://boards.straightdope.com/t/coding-question/502497/6 "2009-07-10T02:48:31Z")

</div>

Actually, if you really really want _the easiest way of coding_ in general, if using Firefox, you can hardly go wrong with these two extensions:

[**BBCodeXtra**](https://addons.mozilla.org/en-US/firefox/addon/491)

[**Make Link**](https://addons.mozilla.org/en-US/firefox/addon/142)

They both appear on your right-click menu, are self-explanatory and do all the coding for you.

---

<div class="post-metadata">

**Author:** ![RedFury](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@RedFury](https://boards.straightdope.com/u/RedFury)\
**Post date:** [July 10, 2009, 2:55am UTC](https://boards.straightdope.com/t/coding-question/502497/7 "2009-07-10T02:55:54Z")

</div>

PD-In the case that occupies us here, you’d simply right-click, do the “copy link location,” highlight any text in your message that you want to link to that post (or write your own) and then right-click again to find “BBCode” –\> “clipboard” –\> [“make selection URL”](http://boards.straightdope.com/sdmb/showpost.php?p=11325235&postcount=6) and voilà! takes you right back to my last post.

---

<div class="post-metadata">

**Author:** ![twickster](https://avatars.discourse-cdn.com/v4/letter/t/ec9cab/32.png) [@twickster](https://boards.straightdope.com/u/twickster)\
**Post date:** [July 10, 2009, 12:01pm UTC](https://boards.straightdope.com/t/coding-question/502497/8 "2009-07-10T12:01:46Z")

</div>

> [@SkipMagic](#):
>
> With the vB upgrade, there’s actually an easier way of doing **Arnold** ’s second method without using the [post] tag and hunting down the post number.
> 
> 1.) Click on the post number as explained by everyone else in the thread.  
> 2.) When that new screen comes up, you’ll see a clickable “Thread” line at the top, right-hand corner. Click on that URL and it will take you back to the thread with that specific post at the top of the screen (what **Arnold** just described).  
> 3.) Copy the brand-new URL in your address bar and use that in your post.

This way is easy enough for a luddite like me – thanks!
