Register Members List Search Today's Posts Mark Forums Read

Mod Options
Collapsable First Post using AJAX (or Last Post!) Details »
Collapsable First Post using AJAX (or Last Post!)
Mod Version: 1.2.1, by magnus (Member) magnus is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (59 votes - 4.83 average) Installs: 412
Released: 18 Apr 2007 Last Update: 27 Apr 2007 Downloads: 2506
Not Supported Uses Plugins Auto-Template Additional Files  

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

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.

Upon perusing the wonderful deals over at, 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.

Simply click the expand icon [+] in front of the thread title to expand, and the collapse icon [-] to collapse. Rocket science, eh?

  1. Download and unzip the archive.
  2. Upload necessary files to their respective locations. (Attention custom style users! Be sure to upload the images to your custom image directory.)
  3. Import the product-ajax_first_post.xml via the Product Manager.
  4. Make any desired configuration changes via AdminCP > vBulletin Options > Collapsable First Post using AJAX
  5. ???
  6. Profit!

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.

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:
  • 1.0.0 - Initial release, here's to hoping...
  • 1.1.0
    • Fixed JavaScript errors when using search.
    • Resolved (known) cross browser compatibility issues.
  • 1.2.0
    • New AdminCP configuration options:
      • Ability to select first or last post to be displayed.
      • Ability to disable on a per forum basis.
      • Option to update thread views when expanded.
      • Option to disable automatic template editing with a single click.
    • Tweaked a couple plugins to prevent unnecessary checking.
    • Properly registers in Who's Online
  • 1.2.1
    • Will no longer show expand icon next to thread redirects.
    • Added ability to display first unread post.
    • Completely revamped the automatic template editing system. Should now be able to make template edits to even the most modified templates as well.
    • Fixed a couple non-breaking typos.
    • Included JavaScript in USERCP_SHELL to allow expand/collapse of subscribed threads.
    • Added a hover title to the expand icon to inform the user what they can expect when clicking it.

Tips, Tricks and Modifications:

Currently Known Bugs:
  • None

* 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.


Click image for larger version

Name:	ajax_firstpost_ss01.jpg
Views:	4626
Size:	21.5 KB
ID:	63321   Click image for larger version

Name:	ajax_firstpost_ss02.jpg
Views:	5505
Size:	38.6 KB
ID:	63322  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Collapsable First Post using AJAX for vB3.5 magnus vBulletin 3.5 Add-ons 15 20 Aug 2008 20:23

Old 04 May 2008, 14:34
maidos maidos is offline
Join Date: Jul 2006
thanks but the text got green color :S pleae help
Reply With Quote
Old 04 May 2008, 20:32
Jase2 Jase2 is offline
Join Date: Dec 2007
Works in 3.7.0 apart from the "friends" under username drop down is missing.
Reply With Quote
Old 05 May 2008, 05:56
shadowevil shadowevil is offline
Join Date: Apr 2006
does this MOD unable to run along with MOD [Ajax] Check for similar thread before posting a new one by MrNase. can you version update newly runs this 2 MOD?
Reply With Quote
Old 05 May 2008, 12:45
magnus's Avatar
magnus magnus is offline
Join Date: Apr 2002
Now that the 3.7 branch is final, I'll see what needs to be modified and release a 3.7.x version.
Reply With Quote
Old 07 May 2008, 13:43
Coop1979 Coop1979 is offline
Join Date: Aug 2006
Works fine for me on 3.7
Reply With Quote
Old 08 May 2008, 23:38
baz_kingfish's Avatar
baz_kingfish baz_kingfish is offline
Join Date: Jan 2008
While you are making the modifications for 3.7.x, please consider adding the Collapsable Last Post feature when the vB deault blue arrow is clicked.
Reply With Quote
Old 09 May 2008, 17:25
Jase2 Jase2 is offline
Join Date: Dec 2007
magnus, please can we have an option to show this to registered members only ?
Reply With Quote
Old 15 May 2008, 05:18
SBlueman SBlueman is offline
Join Date: Jan 2006
First off I want to say that I love this modification....I have it working on my site and with the Zoints Topic Tags results. I was wondering though...

1. Can this work in your private message box?
2. Any chance to get this to work with a vbAdvanced module?

The way I have my front page setup shows the vbAdvanced news archive module listing the stories. Having the ability to click and open the story right there would be huge.
Reply With Quote
Old 22 May 2008, 10:48
DJ Matt4684 DJ Matt4684 is offline
Join Date: Sep 2006
I have vbadvanced. Will it work with that installed? Also, it would be nice if a future version of this came with usergroup options. I would primarily like this mod for mainly the moderators.

edit: I installed this and nothing is showing up. I am not getting any collapse button or anything. I have 3.6.7 Beta 6 version and I have placed the files in their correct locations. What could be the problem?

I also went to and the file was not found. Well, I figure I must have misplaced the file when uploading to the ftp, but this is not the case. The file is there. All other files in the clientscript directory works. I am stumped here. When I try going to the page, I just get 3 simple words which are 'Page not found'. I don't get the 404 error or anything though.

Last edited by DJ Matt4684; 23 May 2008 at 01:03.
Reply With Quote
Old 25 May 2008, 15:34
shadowevil shadowevil is offline
Join Date: Apr 2006
no compatible with GARS, You can do with next version for well compatible with Gars ? thanks
Reply With Quote
Old 04 Jun 2008, 17:18
dethfire dethfire is offline
Join Date: Feb 2003
works with 3.7.1?
Check out my sites:
Reply With Quote
Old 05 Jun 2008, 14:10
brasolino brasolino is offline
Join Date: Mar 2006
works with 3.6.10 ?
Reply With Quote
Old 18 Jul 2008, 13:04
fragov fragov is offline
Join Date: Mar 2005
Location: UA
May anybody suggest how to make next: On forums and search - it collapse first post, but on "New post" search it show last post?
Reply With Quote
Old 19 Jul 2008, 08:55
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
Join Date: Sep 2006
Real name: Jacquii Cooke
Works fine on my 3.7.2 PL1 board:
Thanx again for sharing.

Reply With Quote
Old 23 Jul 2008, 02:05
AWJunkies AWJunkies is offline
Join Date: Jan 2005
Real name: Adam
FYI you need to upgrade this mod to work with latest jquery 1.2.6

Your mod relies on 1.1.2

That is OLD and there is a MINI gzipped and MINI non compressed as well as FULL.

As other mods use jquery for there mods you need to set your software to work with latest as this is causing much conflict with a lot of mods.

Now to let you know your mod DOES work with latest 1.2.6 all platforms EXCEPT when trying to collapse it back down and open a new one. It will not collapse and stay expanded.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 15:47.

Layout Options | Width: Wide Color: