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 |
#332
|
||||
|
||||
Quote:
On your forum, it looks like they should be uploaded to the /17_lat/ directory. Once done correctly, you should be able to access both images at: http://latforums.lv/17_lat/expand.gif http://latforums.lv/17_lat/expand_collapsed.gif |
#333
|
||||
|
||||
Thank You! |
#334
|
||||
|
||||
best. picture. ever.
|
#335
|
|||
|
|||
Brilliant.
Simple but effective. I haven't tried it with lots of traffic yet but should I guess actually reduce database load. |
#336
|
||||
|
||||
Quote:
When I click on Today's Posts, the results display not only the title of all the threads (if I click on the thread titles I'm taken to the first post). But, each thread listing also contains a clickable icon to "View Last Post". Thus, it seems that the search results are, in fact, returning the Thread ID and Post ID of bost the first and last posts for each thread in the list. I'm not sure I understand, then, when you say that it doesn't contain "necessary information" to display anything other than the first post. When I click on a particular forum for instance, it seems like the only thing I see are the thread title (which I can click on for the first post) and a clickable icon to "View Last Post". Thus, like search results, the forum listing seems to contain thread id and post id for each thread. Why, on the one hand, does the forum listing contain the information needed while, on the other, the search results do not? |
#337
|
||||
|
||||
Quote:
If you want lastpostid results within search, edit the Make changes to 'threadbit' template plugin. FIND: PHP Code:
PHP Code:
|
#338
|
|||
|
|||
Thanks for this awesome mod -- clicks install
|
#339
|
|||
|
|||
Love it, great job!
|
#340
|
|||
|
|||
Its weird, the hack works great but not in the search feature. The pluses are there, but when they are clicked on...nothing happens. I installed it and had to do the manual template edits and nothing...any suggestions?
|
#341
|
||||
|
||||
Quote:
Browse to your search page, click view source, and make sure the javascript is being loaded. That's the culprit 99.9% of the time, especially with manual edits. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|