Link directly to a post
This modification is in the archives.
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 --> <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 --> Thanks to liwo for posting the most recent Spoiler (click to open)
A fix for this is actually quite simple. Just use this code. (I changed the t=$thread[threadid] to p=$post[postid], so vB finds the thread and the correct page by the postnumber)
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 --> Close
Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]#post$post[postid]" title="Anchor location for this post" style="text-decoration: none">§</a> Download No files for download. Screenshots
|
Similar Mods
Mini: Link Directly to PM in Email Notification | vBulletin 2.x Full Releases |
link directly to PM in PM-Email-Notification | vBulletin 2.x Full Releases |
Link Directly to Post on Who's Online Page | vBulletin 2.x Full Releases |
PM Link Directly On Board Through "Currently Active Users" As Picture Link | vBulletin 2.x Full Releases |