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!)
![]() 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 |
#242
|
||||
|
||||
![]() |
#243
|
||||
|
||||
![]()
Uh... ok. Well, enough messing around, change the Hook Location for the plugin above to usercp_start (instead of usersub_start). Let's just nip this sucker right in the bud..
|
#244
|
||||
|
||||
![]() Quote:
Okay, well, now I no longer get the error... the UserCP page loads fine... which is obviously a step in the right direction. :up: But, unfortunately, I'm back where we started in that the expand/collapse button that appears in the title of the subscribed threads doesn't actually do anything. Clicking on it has no effect. It still works fine in the regular forum view, though. I do also see the same thing that was mentioned earlier, with regards to spoilers and my particular spoiler BB code. When clicking on the expand/collapse button in regular forum view, if the post that is revealed has a spoiler in it, the state of that spoiler is set to "show" instead of "hide." The spoiler button works fine, mind you. It's just that it should default to "hide" the spoilerized text rather than show it... just like it appears in the regular post. Here is my BB replacement code, if that helps any: PHP Code:
|
#245
|
||||
|
||||
![]() Quote:
|
#246
|
||||
|
||||
![]() Quote:
I'd just want to time it appropriately so I enable the mod during the precise time you're available to log in. (If I leave it on, I'll get a slew of questions from my members dying to know about the new feature, and I'm just not ready for that. ![]() |
#247
|
|||
|
|||
![]()
I had to disable this because some of our users (actually a very small few were getting an error when they tried to access the usercp)
Quote:
Any clue to what this is? We have the latest version installed so im guessing its not a issue thats been fixed. It was also documented here which is where i found out that it was this addon which was causing it: http://www.myhattiesburg.com/forums/...d.php?p=233020 |
#248
|
||||
|
||||
![]()
Ok, apparently this is less isolated than I thought. I'm going to dive into this with force tomorrow and get a fix out.
Sorry guys! |
#249
|
|||
|
|||
![]()
this is sweetass...thanks a lot for this....having no problems so far
Peace |
#250
|
||||
|
||||
![]()
Hi Magnus!
A suggestion, maybe useful. If you remember [a few posts before] i talk about a 'mystery' - whith 2 images [+] etc. The problem [as you said] is fixed, but this make me a ideia. A hack [new one] with the first AND the last post. ![]() Then the user with click in first [+] see the first post and, click in second [+] read the last post. It's sound possible? Or useful? [your hack is working here ] A great day, Joao Barroca aka beduino |
#251
|
||||
|
||||
![]()
Hey Magnus I will wait for the correction for the Usergroups and then we can continue with the little issue of the SPILER TAG...
Thanks again! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|