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!) Details »» | |||||||||||||||||||||||||||
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 |
#202
|
||||
|
||||
Is that for legacy as well?
|
#203
|
||||
|
||||
There is no vbpost_postbit_legacy. There is only 1 template. You design it to look however you like. I opted to release it looking like the normal 'legacy' template.
|
#204
|
|||
|
|||
Upgraded to 1.2.1 and everything appears to be working great.
Thanks a lot for this. |
#205
|
||||
|
||||
Installed 1.2.1 .. seems to be working (I've always used auto templates)
I've now got it set to show the first unread post .. but I notice that when you've already read the thread and you have no new posts it still says "Click here to read the first unread post" any chance of having that as "Click here to read the last post"? .. and when a post is showing to have it say "Click here to close this post" .. It would just make it a bit cleaner Any luck with the forward/back links for the post? (to show the next post without having to go into the thread) .. or are you expecting us to add that ourselves? Not sure you saw my idea about polls as you didn't respond? .. thanks |
#206
|
|||
|
|||
What does this mod do to views? Are views still accurately recorded when a post is viewed using this addon?
|
#207
|
||||
|
||||
It's a toggle in the AdminCP. You can either have it track views or not.
|
#208
|
||||
|
||||
Quote:
Polls, I'll take a look at. I'll also make appropriate changes to the hover text in the next release. |
#209
|
|||
|
|||
i got some problems.. when i click on the expand button.. it don't show anything.. i double click it.. it could now edit.. the threads title.. that is some wierd bug.. check out http://blastup.com/forumdisplay.php?f=11 help would be appreciated. thanx
|
#210
|
|||
|
|||
i like your hack very much
now i have added a toolbox to the link so the 1. post(saved in the link title tag) is shown on mouseover the last is shown with your hack its realy fine |
#211
|
||||
|
||||
Quote:
Verify the following:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|