Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Link to post with Jump instead of opening it as stand alone Details »
Link to post with Jump instead of opening it as stand alone
Mod Version: 1.00, by voter (Member) voter is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (0 vote - 0 average) Installs: 2
Released: 01 Mar 2007 Last Update: Never Downloads: 3
Not Supported  

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.

Find in your postbit_legacy


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And change the showpost.php to showthread.php or replace it with code below


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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>.



Life Demo

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	directposturlq.jpg
Views:	153
Size:	16.0 KB
ID:	61455  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 01 Mar 2007, 17:02
PhoneiX's Avatar
PhoneiX PhoneiX is offline
 
Join Date: Feb 2007
Real name: Atakan
This is more easy i think, when you click on it, doesn't refresh the page.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.
Reply With Quote
  #3  
Old 02 Mar 2007, 13:56
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Originally Posted by PhoneiX View Post
This is more easy i think, when you click on it, doesn't refresh the page.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.

If use like you suggested a code that adds something to "session's current url", then with the Rightclick-Copy will not be possible to have the full address of post. Sure one can make a click on your type of link -> useless jump happens -> full link in URL Box of Browser appears AND only then one can copy the direct link from that box by mark&copy...

I am lazy guy and like simple ways, but in this case your suggestion is not the simplest one

I was even thought to put a script, that opens a form where on could see the link, but again it wouldn't be simpler
__________________
viparmenia.com
viparmenia.com
viparmenia.com

Last edited by voter; 05 Mar 2007 at 14:27.
Reply With Quote
  #4  
Old 05 Mar 2007, 14:17
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Sure it is hack available on vb.org
I hope author will release sometime an update, till that it is unsupported, but very useful

http://www.vbulletin.org/forum/showthread.php?t=100589
__________________
viparmenia.com
viparmenia.com
viparmenia.com
Reply With Quote
  #5  
Old 06 Mar 2007, 10:08
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by voter View Post
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.

If use like you suggested a code that adds something to "session's current url", then with the Rightclick-Copy will not be possible to have the full address of post. Sure one can make a click on your type of link -> useless jump happens -> full link in URL Box of Browser appears AND only then one can copy the direct link from that box by mark&copy...
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.
Reply With Quote
  #6  
Old 16 Mar 2007, 21:51
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Originally Posted by Tralala View Post
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.
Reply With Quote
  #7  
Old 19 Mar 2007, 15:27
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Originally Posted by Tralala View Post
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...
__________________
viparmenia.com
viparmenia.com
viparmenia.com
Reply With Quote
  #8  
Old 19 Mar 2007, 16:26
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
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.
Reply With Quote
  #9  
Old 26 Mar 2007, 09:43
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KOÇ
Thanks........
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:49.

Layout Options | Width: Wide Color: