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 |
#512
|
|||
|
|||
heh, thanks... I don't know how it happens.... sorry!
|
#513
|
|||
|
|||
Quote:
Just 2 buttons that appears in the opened Place where I can read the First/last post with which I can swap to the next or previous post in the thread... Am I really that hard to understand |
#514
|
||||
|
||||
Quote:
This hack is not meant to be an alternate browsing method. The magic is its simplicity, to view either the first post, last post or first unread post. Not to peruse an entire thread. To browse an entire thread would be to perform an SQL query for each post on demand rather than a single query for multiple posts. Basically, this request is beyond the scope of this modification. I understand what you want, it's just not something I see myself adding support for. I'm sorry. |
#515
|
||||
|
||||
magnus: thanks for this awesome mod
I found 2-3 errors, one that is commonly found but has not been resolved. Fatal error: Call to undefined function: fetch_coventry() in /home/---.net/public_html/forums/usercp.php(503) : eval()'d code on line 16 That error is reproduced by having to subscribed to a thread and that thread has gotten a new post. The other error is: Fatal error: Call to undefined function: fetch_coventry() in /home/---.net/public_html/forums/moderation.php(405) : eval()'d code on line 16 Reproduced by click on Moderated or deleted Threads in usercp |
#516
|
||||
|
||||
Quote:
|
#517
|
||||
|
||||
I am currently performing more tests as I do have many plugins installed
fetch_coventry() in /home/---.net/public_html/forums/usercp.php(503) : eval()'d code on line 16 this only occurs if you have 0 new PMs and have a new subscribed post. I have disabled all my plugins/mods and the error still occurs |
#518
|
||||
|
||||
Ok, let's try something. Try installing/overwriting using the attached product. Let me know if it fixes it.
|
#519
|
||||
|
||||
It works! Thanks
|
#520
|
||||
|
||||
Thank God, glad to be done with that stupid bug.
|
#521
|
|||
|
|||
OK here are the two things that are missing to make this mod perfect IMO:
- expanding a thread should mark it read if it only consists of a single post - clicking anywhere in the text area of the expanded post should take you directly into that thread Magnus, I would love to hear what you think of these suggestions |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|