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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=94735).
For vB 3.6.x version please see this thread (https://vborg.vbsupport.ru/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 - https://vborg.vbsupport.ru/attachment.php?attachmentid=34387)
Screenshot:
----------------
https://vborg.vbsupport.ru/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
09-12-2005, 09:23 PM
Where is the difference to https://vborg.vbsupport.ru/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.
Boofo
09-12-2005, 09:40 PM
Could you zip the 2 files together for easier downloading? ;)
Valter
09-12-2005, 11:15 PM
Thanks m8, nice update!
Boofo
09-13-2005, 12:16 AM
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
09-13-2005, 03:31 AM
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.
Boofo
09-13-2005, 04:00 AM
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
09-13-2005, 06:44 AM
Excellent, I've been waiting for this one.!
Cheers M1th.. :D
FleaBag
09-13-2005, 09:55 PM
Great work - very useful.
carrie31
09-27-2005, 08:20 PM
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
Boofo
09-27-2005, 08:23 PM
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. ;)
Samira
10-06-2005, 01:16 AM
Has this been updated with Boofo's code? :)
Boofo
10-06-2005, 02:13 AM
Has this been updated with Boofo's code? :)
I don't think so. ;)
Samira
10-06-2005, 03:26 AM
* Samira taps nails, grateful but impatient ... ;)
Boofo
10-06-2005, 03:58 AM
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>
Samira
10-06-2005, 04:07 AM
/me blows Boofo a great big kiss
Thank you!!
Boofo
10-06-2005, 04:09 AM
And I also expect a Christmas card this year. ;)
Samira
10-06-2005, 04:11 AM
* Samira laughs out loud!
Send me the address, I'll add ya to my list. ;)
Boofo
10-06-2005, 04:13 AM
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). ;)
Samira
10-06-2005, 04:16 AM
I'll watch my PMs then. Wouldn't want you to get no cards after being so nice! :D
Boofo
10-06-2005, 04:20 AM
It was my pleasure. ;)
troux
10-06-2005, 02:21 PM
Works great in 3.5.0!
*installed
catocom2
10-06-2005, 03:28 PM
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..
<!-- ---------------------- clock ------------------------------- -->
<if condition="$thread['dateline']<(TIMENOW-86400*180) AND THIS_SCRIPT <> 'search'"><img class="inlineimg" src="http://yourdomain.com/forum/images/smilies/clock.gif" alt="This thread was started more than 6 months ago"></if>
<if condition="THIS_SCRIPT === 'search' AND (TIMENOW-86400*180)"><img class="inlineimg" src="http://yourdomain.com/forum/images/smilies/clock.gif" alt="This thread was started more than 6 months ago"></if>
<!-- ---------------------- /clock ------------------------------- -->
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..
<!-- ---------------------- clock ------------------------------- -->
<if condition="$thread['dateline']<(TIMENOW-86400*180) AND THIS_SCRIPT <> 'search'"><img class="inlineimg" src="http://yourdomain.com/forum/images/smilies/clock.gif" alt="This thread was started more than 6 months ago"></if>
<if condition="THIS_SCRIPT === 'search' AND (TIMENOW-86400*180)"><img class="inlineimg" src="http://yourdomain.com/forum/images/smilies/clock.gif" alt="This thread was started more than 6 months ago"></if>
<!-- ---------------------- /clock ------------------------------- -->
Are you trying to make it show up for member's own threads only?
If so, wrap the clock code around
<if condition="$thread['dot_count'] AND $bbuserinfo['userid']">
</if>
catocom2
10-07-2005, 01:05 PM
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
03-08-2006, 01:57 AM
Must have missed this. Good idea, I will install this when I upgrade.
/me clicks install
Julie
03-19-2006, 10:46 PM
Ooo, nifty little tool :D
And thanks Boofo for the alternative template bit there :)
Valter
07-27-2006, 07:48 AM
This nice hack doesn't work with vB 3.6.
Valter
08-01-2006, 09:50 AM
Thanks to Paul M (https://vborg.vbsupport.ru/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
08-01-2006, 01:37 PM
thanks for a great plugin
Oblivion Knight
08-06-2006, 08:18 AM
Thanks to Paul M (https://vborg.vbsupport.ru/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
11-04-2009, 11:32 PM
CAN THIS BE MADE TO WORK IN the newest ver of VB???
yesfans
11-04-2009, 11:36 PM
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.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.