Version: 1.00, by voter
Developer Last Online: Nov 2014
Version: 3.6.4
Rating:
Released: 02-28-2007
Last Update: Never
Installs: 2
No support by the author.
Go following steps if you want that the link with postcount shown at right-up corner of each post, provides the possibility of opening the post as a part of thread - jumping to post instead of opening a new window with post only.
Alternativly, just add the new version with showthread.php above or below the old code and you will have both possibilities, I would recommend in second link define and use a vbphrase instead of <strong>$post[postcount]</strong>.
This is more easy i think, when you click on it, doesn't refresh the page.
Code:
<a href="#post$post[postid]" title="Link to this post"><strong>Link</strong></a>
But i think you shouldn't change "showpost.php". However, you can add this code near it.
And thanks a lot for giving me this idea.
Nice tip Phoneix. Sure when one clicks on the version I suggested, a new window or refresh will happen.
But the goal of modification is to give people possibility to use Rightmouse Button and Copy Link which could be used later to go directly to Post staying inside the thread.
Nice tip Phoneix. Sure when one clicks on the version I suggested, a new window or refresh will happen.
But the goal of modification is to give people possibility to use Rightmouse Button and Copy Link which could be used later to go directly to Post staying inside the thread.
This isn't true. I changed to PhoneiX's method, and am able to right-click to copy the URL (which works just fine when pasted in a new browser instance.)
Also, when I click the "post number" link in that thread, it brings that post to the top of the web page, no refresh needed.
PhoneiX's method works better for me, and I see no downside.
This isn't true. I changed to PhoneiX's method, and am able to right-click to copy the URL (which works just fine when pasted in a new browser instance.)
Also, when I click the "post number" link in that thread, it brings that post to the top of the web page, no refresh needed.
PhoneiX's method works better for me, and I see no downside.
I respectfully withdraw this comment -- I reported too soon and see what voter was talking about. PhoneiX's method only works for the current session, as an anchor of sorts, it's not useful if a poster wants to share the link in a later post for other users to click... it also includes the styleid which may switch a user's chosen style. The "no refresh" was cool and all, but not worth losing the functionality and flexibility of voter's mod.
Thanks for clarifying, voter, I now see the wisdom of your advice.
I respectfully withdraw this comment -- I reported too soon and see what voter was talking about. PhoneiX's method only works for the current session, as an anchor of sorts, it's not useful if a poster wants to share the link in a later post for other users to click... it also includes the styleid which may switch a user's chosen style. The "no refresh" was cool and all, but not worth losing the functionality and flexibility of voter's mod.
Thanks for clarifying, voter, I now see the wisdom of your advice.
To be honest the vB developers did the wisdomst job and when one want a directURL to post then the Post must appear and not whole topic however I think here are mostly the admins of boards are and they prefere that when somebody uses Urls to their board browser shows more than one Post
I will think about, may be there is a way to have some hybrid verions from what I suggest and what Phonix's version is...
The way I did it on my board is I split the "#" character from the post number itself. So clicking the "#" opens the single post in a window on it's own, and clicking the post number reloads the thread with that post as the anchor. That makes it useful as a reference URL to share elsewhere... and keeps the context of the post around it, by way of including the rest of the thread.