The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Collapsable First Post using AJAX (or Last Post!)
![]() Developer Last Online: Feb 2012 ![]() ![]()
[hr]-[/hr]
NOTICE: This is for vBulletin v3.6 ONLY. You can find a v3.5 compatible version here. [hr]-[/hr]*** Confirmed working on ALL vBulletin 3.6.x versions! *** [hr]-[/hr] Keywords: FORUMDISPLAY, search, results, collapse, AJAX, collapsable, first, last, unread, post Description: Allows you to expand/collapse the first, last or first unread post of a thread from FORUMDISPLAY and search results without the need to load the entire thread. Details: Upon perusing the wonderful deals over at slickdeals.net, I noticed this nifty feature which caught my eye. I found it quite useful as most people have a bad habit of not being very descriptive with their thread titles. This little trick made my browsing experience much more enjoyable, so naturally I had to borrow [read: shamelessly rip] the idea. Please note that no additional queries are added, unless using the 'First Unread Post' option. Otherwise, the only queries performed are the same as those when a thread is normally viewed. The magic behind this modification is performed by jQuery: The Write Less, Do More, JavaScript Library. [hr]-[/hr] Usage: Simply click the expand icon [+] in front of the thread title to expand, and the collapse icon [-] to collapse. Rocket science, eh? [hr]-[/hr] Installation:
Notes: All template modifications are made automatically. They attach to pretty common text locations, so modified styles shouldn't* be a problem. However, for those who wish (or need) to perform the edits manually, you can find that information here. [hr]-[/hr] Comments: As with all my hacks, this modification is provided free of charge. However, if you find this product useful and have money burning a hole in your pocket, feel free to make a small donation, I won't mind.. really. ![]() Version History:
[hr]-[/hr] Tips, Tricks and Modifications: Currently Known Bugs:
* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product! Show Your Support
|
Comments |
#342
|
|||
|
|||
![]()
Hmm let me check that then. Ill also try turning manual edits off and let it work from there.
So yeah, I am still having this error even though it calls the javascript and all the correct automatic templates are being run. Any clue? |
#343
|
|||
|
|||
![]()
I wonder, Im using the thread prefix hack which also requires you to edit the threadbit template, would this affect it in any way?
|
#344
|
|||
|
|||
![]()
Very very very goooood!
![]() |
#345
|
||||
|
||||
![]()
Very nice... I just installed and i , and my users, love it.
*Clicks Install* |
#346
|
|||
|
|||
![]()
Magnus, with the PM I sent you...I gave you a name of a hook that was being run under search_results_query_thread under the Thread Prefixes hack. Well I just tried disabling that hook and now it works perfectly, however if possible...itd be awesome to be able to use both of those hooks as the prefix in the search area is an extremely useful resource as well.
|
#347
|
|||
|
|||
![]()
That's a great mod! Thank you!
|
#348
|
|||
|
|||
![]()
Nice Hack :up:
But i have a error. If i klick at the "+" then open the Ajax window and approx. after 1 sec change the view to the completely Thread. Whats wrong? Greeting Indy |
#349
|
|||
|
|||
![]()
2 quick fixes ( you dont have to follow them to have it working) - I made these changes to get a valid XHTML 1.0 Transitional.
1. In the plugin "Make changes to 'threadbit' template" Look for this: Quote:
Quote:
|
#350
|
||||
|
||||
![]()
I'll need to see an example of what's happening to better understand what needs to be looked at.
|
#351
|
|||
|
|||
![]()
thanks magnus
can you make it apear only to members not to guest?? is it make load on server or not??? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|