View Full Version : Replace Previous and Next Link with Actual Thread Titles
amykhar
07-17-2005, 10:00 PM
This one is by request. At the bottom of each thread, rather than show links that show Previous or Next, it shows the actual titles of the previous and next threads.
It's a plugin that requires one small template edit.
Amy
Barakat
07-18-2005, 01:05 AM
great hack and nice idea thanks and install.
Jenta
07-18-2005, 02:05 AM
wow
very usefull
Dream
07-18-2005, 02:09 AM
nice, you should put a heads up in the first post saying it adds 2 queries to showthread though, imo
i would install this but im not really willing to spend 2 queries doing that... good work tho
theArchitect
07-18-2005, 02:19 AM
great hack and nice idea thanks and install.
Fantastic idea. I never used these buttons much as I found them a little random. But now they are much more meaningful.
SouthernTn
07-18-2005, 02:34 AM
Hey thanks nice Mod , Just installed
Some amazingly useful hacks being released every day for 3.5.0 .. thanks amy .. great hack.
Clicked install.
Neutral Singh
07-27-2005, 08:23 AM
Cool !!
FleaBag
07-27-2005, 11:23 PM
I really like this, thanks Amy!
poolking
08-11-2005, 05:43 PM
/me installed
Zachariah
08-13-2005, 12:33 AM
Thank You. :D
Tomek
10-31-2005, 11:15 AM
How could I limit the actual thread title to 30 characters i.e.?
Example:
Very long Thread Tit... | A much longer Th...
Tomek
10-31-2005, 07:19 PM
The solution:
$maxchars = 30;
if (strlen($prevarray['title'])>$maxchars)
{
$prevarray['title'] = substr($prevarray['title'], 0, $maxchars) . '...';
}
if (strlen($nextarray['title'])>$maxchars)
{
$nextarray['title'] = substr($nextarray['title'], 0, $maxchars) . '...';
}
Add this at the bottom of the plugin.
Saskia
12-10-2005, 11:42 AM
Works excellent. Thank you!
Bounce
12-28-2005, 11:07 PM
another cracker amy
* Bounce installs :rolleyes:
BabyNameAddict
03-06-2006, 04:33 PM
Awesome! I love this hack!
Btw, how do I go about adding the character limit after I've installed the plug-in? Do I remove it, then edit te plug-in, then add it again? Also, you said to enter that code at the end. The VERY end? Or before the </plugin>?
TIA!
coffee
05-21-2006, 08:47 PM
Thank you Amykhar.
amykhar
05-22-2006, 12:33 AM
you're welcome :)
maxicep
01-31-2007, 11:47 AM
rulaz, installed.
Super Jinni
05-12-2008, 12:07 PM
good one
thanks
codershark
05-15-2008, 02:44 PM
dont works at 3.7 :(
DiverTree
05-16-2008, 05:12 PM
dont works at 3.7 :(you have to play around with it a little, but you can get it to work. ;)
yahsuah
11-01-2008, 11:48 PM
it works at vb 3.7.3
munnakv
07-28-2013, 04:53 PM
Installed. Works in (vBulletin 3.8.7 Patch Level 3).
Is this mod or anything similar available for Vbulletin 4?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.