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 |
#212
|
|||
|
|||
yea it was the same thing before.. .. i don't know what is wrong... i checked everthing .. everthing is uploaded. js are in the source.. help?
|
#213
|
||||
|
||||
Hi,
first of all: tks for your work and support here. And ... the 'mystery' I install your lovely hack and don't work - apparently... I read the first posts and begin a manual edition in templates. Nothing happens. Then ... i resolve see in other set of templates [called 'vB Brasil New'] and already work. Then i see the location of images [ (+).gif etc ] and make the correct upload. And the mystery begun ... I can't ripped out the duplicate images!!! I look in my edited templates and is fine [no php duplicated]... How can i solve this mystery???? All the best And tks again Beduino www.vb-brasil.org skin VB BRASIL [vB Brasil New is ok...] |
#214
|
||||
|
||||
You have duplicated images because you've applied manual edits without disabling the automatic ones. In essence, you're editing the templates TWICE.
You need to pick one or the other. I'd recommend the automatic edits. |
#215
|
|||
|
|||
so how should i fix mine? should i do manuel edits?
|
#216
|
||||
|
||||
No, all of your edits are performed correctly. The JavaScript just isn't being loaded. I'd attribute it to a problem with your style.
Do you still have the Default Style? Try it. If it works, then you know the problem lies with your modified style. Run it through the W3C XHTML Validator. Fix as many problems as you can and see if that helps. |
#217
|
||||
|
||||
Hi Magnus,
works fine - i re-done all mods in templates and the mystery ... you solved. Tks a lot Beduino |
#218
|
||||
|
||||
I found a BUG.....
It's a really strange behavior, when I active the Plugin , USERGROUPS that I add have this problem when trying to access to their CP. Fatal error: Call to undefined function: fetch_coventry() in /hsphere/local/home/#/#/Forum/usercp.php(500) : eval()'d code on line 16 The normal USERGROUPS (7,6,5,4,3,2,1) have no problems. See'a |
#219
|
|||
|
|||
i have a problem
in the forumdisplay it works fine(i have set up to read the last post) but in the search i see the first |
#220
|
||||
|
||||
Quote:
As a test, try using the default style. See if you still receive the error. The function fetch_coventry() is found in /includes/functions_bigthree.php -- and I've hooked into the usercp to include it. So, I can't see why one usergroup could use it and another cannot. |
#221
|
||||
|
||||
Quote:
Search results will always return the first post. I have it this way for temporary simplicity. Search doesn't use the same SQL queries as FORUMDISPLAY -- so the same information isn't available without adding extra queries. Until I can find a cleaner, saner way to allow for different post viewing configurations on the search page, I've defaulted it to First Post. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|