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 |
#452
|
||||
|
||||
same thing to me ...
|
#453
|
||||
|
||||
You're most likely using a custom style with a custom image directory. Make sure you've uploaded the images to your custom image directory.
|
#454
|
||||
|
||||
you where right...that solved it ! Thank you!
another error when i am trying to acces usercp Fatal error: Call to undefined function: fetch_coventry() in path/usercp.php(503) : eval()'d code on line 43 |
#455
|
||||
|
||||
Quote:
First off, what version of vBulletin are you using? |
#456
|
||||
|
||||
vbulletin 3.6.8
|
#457
|
|||
|
|||
I've been using this for a while and it works well, only thing I have spotted is that when enabled (either with automatic edits or manual ones), it pushes things like the attachment "paperclip" from the top of the table cell to the bottom.
Where this can look a bit of a mess is when combined with a thread rating...they get sort of squashed up together for some reason. Using manual edits I moved the code and thought I'd cracked it, it was fine in Firefox but then the hack didn't show at all in IE so I put it back how it was. Minor, but niggly. |
#458
|
||||
|
||||
Automatic or manual edits are irrelevant in display issues. You can simple edit the template to make it look however you want. Look for vbpost_postbit in your templates and edit away. :P
|
#459
|
|||
|
|||
Quote:
It's not the actual postbit preview box that is the issue...it's the placing of the little "expand" image in the threadbit that's the issue. When it's there, any attachment icons get pushed down to the bottom right rather than top right, this then seems to impact on any threadrating icons by squashing them up next to everything else. I managed to stop this happening in Firefox but then the expand icon didn't show up at all in IE on getnew/getdaily (which is where it's most needed on my site), but was still ok on forumdisplay. As I say, it works fione, it's just altering some formatting somewhere in threadbit, and try as I might I can't work out what. |
#460
|
|||
|
|||
I think I may have cracked it....the manual code needs putting in a different place.....just testing now.
|
#461
|
||||
|
||||
Ah, I think I know what you're talking about. Try adding style="display: block;" to the <img> tag displaying expand.gif.
Let me know if that fixes it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|