![]() |
Link directly to a post
What it does:
This minor template change adds a nice little subsection symbol (?) right next to the post time, which is a url that can now either be clicked or copied, providing the ability for users to conveniently link directly to a post's anchor so you jump to a post within a thread, rather than opening its own window. Rationale: Although VB provides a nice way to open a single post in its own window by clicking the post number at the upper right of replies, this sometimes becomes inconvenient for subsequent surfers when someone has posted a link to a single post on mutiple page threads. By default, to get the anchor location you must click the post number then copy the url at the upper right of the single-post window. This modification adds the anchor location as a url unobtrusively to every post so the post location can be obtained in one click, while retaining the single window link for the post number so folks immediately have both options. Template Edits: 2; postbit and postbit_legacy Code Additions: 1) In both templates find: Code:
<!-- / status icon and date --> Code:
<!-- Link for post anchor --> Thanks to liwo for posting the most recent fix :). This replaced the original code of: Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]#post$post[postid]" title="Anchor location for this post" style="text-decoration: none">§</a> |
Thanks .. simple but useful.
Clicked install. |
Quote:
|
i like.... not much else to say.... cheers
|
I already do this but I use the status icon as the anchor image. ;)
|
I kinda thought about that - or even using an additional small image, although this might be simpler because you're just adding a little code rather than replacing it, and it won't potentially conflict with something VB might link to the existing icon later. Your method obviously works just as well though.
Been meaning to tell you: That's a clever signature. :up: |
Quote:
Thanks for the kind words on the sig. It seems I've had that one forever. ;) |
simple and useful ! thank you su much !
I pot it next to the post number :P |
Exactly what I was looking for ... simple and perfect. Many thanks.
|
You're welcome. I've been considering adding an optional JS link that allows you to copy the link location directly to the clipboard, although Mozilla security settings means it doesn't work too well in Moz/FF without the enduser making some browser adjustments. Think I'll just leave it how it is for now :).
|
All times are GMT. The time now is 06:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|