Version: 1.01, by welo
Developer Last Online: May 2009
Version: 3.5.4
Rating:
Released: 08-30-2005
Last Update: Never
Installs: 24
Template Edits
No support by the author.
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 -->
2) Directly BELOW add:
Code:
<!-- Link for post anchor -->
<a href="showthread.php?$session[sessionurl]p=$post[postid]#post$post[postid]" title="Anchor location for this post" style="text-decoration: none">§</a>
<!-- /Link for post anchor -->
3) Done!
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>
...which apparently stopped working somewhere around VB 3.5.3.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Indeed. It's just one of those little things that's nice to have available. Prior to VB 3.5, if you clicked the post number and opened that post's window, the Thread: [thread title] link wouldn't take you to the post anchor at all, and you had to sift through the thread to find it. Try it on this board. 3.5 makes this a little easier but it's still helpful to have the anchor handy for copying without clicking anything.
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:
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:
I just used an old 3.0 hack I did for it.
Thanks for the kind words on the sig. It seems I've had that one forever.
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 .