![]() |
|
Mod Options |
![]() |
|||||||||||
Collapsable First Post using AJAX (or Last Post!)
![]() Developer Last Online: Feb 2012 ![]() ![]() ![]() This modification is in the archives.
NOTICE: This is for vBulletin v3.6 ONLY. You can find a v3.5 compatible version here. *** Confirmed working on ALL vBulletin 3.6.x versions! *** 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. Usage: Simply click the expand icon [+] in front of the thread title to expand, and the collapse icon [-] to collapse. Rocket science, eh? 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. 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:
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! Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Collapsable First Post using AJAX for vB3.5 | magnus | vBulletin 3.5 Add-ons | 15 | 20 Aug 2008 21:23 |
Comments |
#2
|
||||
|
||||
wow man nice hack thanx for this i just love ajax
No members have liked this post.
|
#3
|
|||
|
|||
will be installing this when i get home. awesome mod!
No members have liked this post.
|
#4
|
|||
|
|||
http://www.4x4mecca.com/forum/forumdisplay.php?f=36
I get an error message when I try. The plus sign is there, but what I see is "There was an error. Please try again." No members have liked this post.
|
#5
|
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
For those who have problems with the automatic template edits, or who just like to do things the hard way, here are the template edits required:
First, disable the automatic template edits:
Now perform the following template edits: In FORUMDISPLAY - FIND:
ADD AFTER:
In search_results - FIND:
ADD AFTER:
[CHANGED IN 1.2] In threadbit - FIND: (should be the first line)
REPLACE WITH:
FIND:
ADD AFTER:
__________________
Latest Hack: Disemvowelr™ - A new passive-aggressive form of moderation.. No members have liked this post.
Last edited by magnus; 25 Apr 2007 at 23:10. |
#6
|
||||
|
||||
Originally Posted by 4x4 Mecca
Hrm.. that error appears when the script is unable to pull data. However, I tested the backend on your site and it seems to be working: http://www.4x4mecca.com/forum/vbpost...p?postid=12979![]()
Let me nose around a bit.
__________________
Latest Hack: Disemvowelr™ - A new passive-aggressive form of moderation.. No members have liked this post.
|
#7
|
||||
|
||||
@4x4 Mecca:
Redownload the archive and upload/overwrite your existing vbpost_ajax.php with the new one. Let me know if that fixes it.
__________________
Latest Hack: Disemvowelr™ - A new passive-aggressive form of moderation.. No members have liked this post.
|
#8
|
|||
|
|||
Thanks! I just edited the teplates manually just incase that was the problem. It still isn't working.
No members have liked this post.
|
#9
|
|||
|
|||
Error is still there. Any idea what might be interfering?
No members have liked this post.
Last edited by 4x4 Mecca; 18 Apr 2007 at 22:56. |
#10
|
|||
|
|||
Originally Posted by 4x4 Mecca
same for me
![]()
No members have liked this post.
|
#11
|
||||
|
||||
Ok, I removed the download link for a second while I try and track this down. My apologies.
__________________
Latest Hack: Disemvowelr™ - A new passive-aggressive form of moderation.. No members have liked this post.
|
#12
|
|||
|
|||
I have a few (read maybe a lot) hacks installed, but I don't know which one could be messing with it. Anyone else recreate this on their own site?
No members have liked this post.
|
#13
|
||||
|
||||
THANKS M8 nice work
![]() No members have liked this post.
|
#14
|
|||
|
|||
this is also giving a javascript error in newposts
No members have liked this post.
|
#15
|
||||
|
||||
Wait, you get an error when trying to write a new post? I don't see how this could affect that. What's the error?
__________________
Latest Hack: Disemvowelr™ - A new passive-aggressive form of moderation.. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:47.