View Full Version : Jump to Your Last Post in a Thread
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Plugin title: Jump to Your Last Post in a Thread
Author: M1th
Site: http://www.cosforums.com (http://www.cosforums.com/)
Plugin Version: 1.5 for vBulletin 3.5 RCX
For vB 3.0.x version see this thread (http://showthread.php?s=&threadid=71531).
For vB 3.5 Hack Version 1.0 see this thread (http://www.vbulletin.org/forum/showthread.php?s=&threadid=94735).
For vB 3.6.x version please see this thread (http://www.vbulletin.org/forum/showthread.php?t=126864).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What this does:
In huge threads, having to search through pages and pages for your last post is a pain in the neck so I've decided to put an end to this with my simple plugin.
Assuming that a user has posted in a thread, when the icon is clicked (displayed on forum display, next to the attachment/sticky icons) it'll lead the user to their latest post.
-------------------
Installation time: No more than 3 minutes I'd say.
Files to edit: 1 (none)
Templates to edit: 1 (threadbit)
Images to add: 1 (lastupost.gif - http://www.vbulletin.org/forum/attachment.php?attachmentid=34387)
Screenshot:
----------------
http://www.vbulletin.org/forum/attachment.php?attachmentid=34389
Support
--------------
Not a big plugin to have support for, but if you have any questions/problems, then sure. :)
Installed this plugin? Then please click INSTALL.
Andreas
12 Sep 2005, 23:23
Where is the difference to http://www.vbulletin.org/forum/showthread.php?t=94735 ?
If it's the same please let me know so we can merge both Threads.
This is the plugin version of the original code mod (other thread).
You can merge/delete the other if you wish.
Could you zip the 2 files together for easier downloading? ;)
I installed it (or am going to shortly) but I linked the thread_dot.gif image instead and it is there only for threads you have posts in. Makes it a little cleaner look. ;)
Bad Bunny
13 Sep 2005, 05:31
I installed it (or am going to shortly) but I linked the thread_dot.gif image instead and it is there only for threads you have posts in. Makes it a little cleaner look. ;)
I was thinking the same thing.
Well, I finally got it figured out. Let me know if you want the change for it as it was a bear to get just right. It was easy once I figured out how I wanted to do it. ;)
Oblivion Knight
13 Sep 2005, 08:44
Excellent, I've been waiting for this one.!
Cheers M1th.. :D
FleaBag
13 Sep 2005, 23:55
Great work - very useful.
carrie31
27 Sep 2005, 22:20
useful one ! thanks !
I installed it (or am going to shortly) but I linked the thread_dot.gif image instead and it is there only for threads you have posts in. Makes it a little cleaner look. ;)
May I know how to do it ? :P
useful one ! thanks !
May I know how to do it ? :P
PM me and I will give you the details. I don't want to clutter up the thread here. ;)
Has this been updated with Boofo's code? :)
Has this been updated with Boofo's code? :)
I don't think so. ;)
/me taps nails, grateful but impatient ... ;)
You're lucky I'm a nice guy. ;)
Open up 'threadbit' template:
~~~~~~~~~~~~~~~~~~~~~~~~
Find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_status_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
REPLACE it with:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<if condition="$thread['dot_count'] AND $bbuserinfo['userid']">
<a href="showthread.php?$session[sessionurl]goto=lastupost&t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if> - Go to your last post in this thread" border="0" /></a>
<else />
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_status_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
</if>
/me blows Boofo a great big kiss
Thank you!!
And I also expect a Christmas card this year. ;)
/me laughs out loud!
Send me the address, I'll add ya to my list. ;)
I'm gonna hold you to that because I just cleaned off a whole wall for that card (the only one I will probably get). ;)
I'll watch my PMs then. Wouldn't want you to get no cards after being so nice! :D
Works great in 3.5.0!
*installed
catocom2
06 Oct 2005, 17:28
You're lucky I'm a nice guy. ;)
Hey man that's great.
I've been trying to figure out how to fix my little clock mod.
It works fine except for the search/new post part where it shows on every thread.
I'm wondering if that code could be modified to work on this as well?
threadbit code for clock..
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I don't think so. ;)
Mainly because I would prefer it my own way, but thanks for that Boofo. :p
Hey man that's great.
I've been trying to figure out how to fix my little clock mod.
It works fine except for the search/new post part where it shows on every thread.
I'm wondering if that code could be modified to work on this as well?
threadbit code for clock..
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Are you trying to make it show up for member's own threads only?
If so, wrap the clock code around
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
catocom2
07 Oct 2005, 15:05
no, I'm trying to get the clock not to show for the time conditional.
I may have to just modify the search.php. :ermm:
Logikos
08 Mar 2006, 03:57
Must have missed this. Good idea, I will install this when I upgrade.
/me clicks install
Ooo, nifty little tool :D
And thanks Boofo for the alternative template bit there :)
This nice hack doesn't work with vB 3.6.
Thanks to Paul M (http://www.vbulletin.org/forum/member.php?u=63698) this hack works with vB 3.6 too.
TXT file with instructions on how to install this hack on vB 3.6 attached below.
tweakmonkey
01 Aug 2006, 15:37
thanks for a great plugin
Oblivion Knight
06 Aug 2006, 10:18
Thanks to Paul M (http://www.vbulletin.org/forum/member.php?u=63698) this hack works with vB 3.6 too.
TXT file with instructions on how to install this hack on vB 3.6 attached below.Thank you both for the update.. :)
yesfans
05 Nov 2009, 01:32
CAN THIS BE MADE TO WORK IN the newest ver of VB???
yesfans
05 Nov 2009, 01:36
I did do the addition in the threadbit template as told to do but did not load the XML and it appears to be working on my site. Will that fly? Seems to be working!
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.