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 |
#322
|
||||
|
||||
Quote:
|
#323
|
|||
|
|||
Hi, you've created nice hack!
Is there any way to limit chars or words in $post[message] @ vbpost_postbit? |
#324
|
|||
|
|||
Advocate1's suggestion brings up a good point, but I think it is something that should be user defined in the CP rather than admin defined. It really gets into user preference and usability. I also don't believe an update like this would affect loading time or bandwidth usage.
e39m5 |
#325
|
|||
|
|||
Hmmm, when I click on the icon nothing happens.
Mousover shows me "Click here to read last post" ... http://www.the-european-football-lea...splay.php?f=13 |
#326
|
||||
|
||||
Quote:
|
#327
|
|||
|
|||
Thx Magnus, sometimes I just have hot air in my head.... working fine now!
|
#328
|
||||
|
||||
OK, first of all, really great MOD!
I have only one problem: 1. I set the option to view the Last Post when the user clicks the + sign. 2. When I'm in forum display, the + sign pulls up the Last Post. 3. When I use the Today's Posts or New Posts features (which uses search.php), the + sign works but it displays the First Post Is there a way to fix the search results? Does the search results even use the threadbit template? I can't even find in the templates where your Product has modified the Templates. I tried manually editing them as indicated in your instructions and the + sign appeared but didn't work. I unedited the files and wen back to automatic updating of the Templates and it works but as indicated above. |
#329
|
||||
|
||||
Incidentally, I agree with others that it would be awesome if there could be two plus signs - one for the first post to dropdown and another for the last post to dropdown.
|
#330
|
||||
|
||||
Quote:
It's something that may possibly be worked in later. If you wish to change the template layout, the template you're looking for is vbpost_postbit. As for trying to find changes made by the automatic template edits, you can't. They are done on-the-fly. |
#331
|
||||
|
||||
hmm... I've installed everything as it was instructed, but it doesn't work!
I don't even see the "+" signs... http://latforums.lv/forum1.html I'm using Aria skin and vBSEO, maybe it has something to do with it? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|