Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Quote Expander / Collapse - By Technidev Details »
Quote Expander / Collapse - By Technidev
Mod Version: 1.00, by Dave (Moderator) Dave is offline
Developer Last Online: Oct 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (6 votes - 4.83 average) Installs: 25
Released: 08 Feb 2016 Last Update: Never Downloads: 0
Supported Template Edits Re-usable Code  

Mark as installed = get support.

If you're tired of people quoting long posts and having to scroll past it, then this modification is definitely something you want to use.

This template modification will make it possible to resize quote containers and add an "Expand" button to it which can be clicked to view the whole quote.

This modification should work on pretty much all vBulletin 4 versions.

Installation
  1. Open the "showthread" template and paste the following above </body>

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  2. Now open the additional.css template under "CSS Templates" and add the following:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  3. Done.

How to change the height of when the quote should be resized?
Change the 2 occurences of the number "250" in the showthread template to whatever height you want.

How to change the background color of the expander?
Change all occurences of the color "#C2CAD2" in the additional.css template to the hex code of the color you want.

Screenshots

Download Now

Only licensed members can download files, Click Here for more information.

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
Suite Style vBulletin Modern Theme - By Technidev Dave vBulletin 4.x Styles 132 Yesterday 14:38
Forum Style IP.Board Style Red - By Technidev Dave vBulletin 4.x Styles 97 07 Mar 2017 13:39
Forum Home Enhancements Twitch Streams Block - By Technidev Dave vBulletin 4.x Add-ons 10 18 Oct 2015 06:12
Forum Style Mirry Theme - Blue/Red/Green - By Technidev Dave vBulletin 4.x Styles 2 17 Aug 2015 00:52

Comments
  #2  
Old 08 Feb 2016, 23:14
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Nice work, Dave!

I had to do something similar at the site I help admin (we have many users who will lazily quote an entire huge post to address one point), but I had to also account for LaTeX by MathJax making quotes grow after the DOM was in place. Fortunately they provide a script queue that will allow javascript to execute only after the LaTeX is done rendering.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 08 Feb 2016, 23:32
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by MarkFL View Post
Nice work, Dave!

I had to do something similar at the site I help admin (we have many users who will lazily quote an entire huge post to address one point), but I had to also account for LaTeX by MathJax making quotes grow after the DOM was in place. Fortunately they provide a script queue that will allow javascript to execute only after the LaTeX is done rendering.
Yeah I'm surprised vBulletin didn't create something like this themselves and that no one else released something like this before. Long quotes are the most annoying thing on forum boards.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #4  
Old 09 Feb 2016, 11:04
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Only thing I would add, if it is possible, that users choose if they want their quotes expanded or collapsed.
Reply With Quote
  #5  
Old 09 Feb 2016, 12:11
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
very nice, looks like xenforo
__________________
Reply With Quote
  #6  
Old 09 Feb 2016, 22:48
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by ArcadeSyndicate View Post
very nice, looks like xenforo
Yep, that's where I got the idea from.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #7  
Old 22 Feb 2016, 12:23
Techno Cowboy's Avatar
Techno Cowboy Techno Cowboy is offline
 
Join Date: May 2014
Real name: Cheyenne
Thumbs up

Installed & Thanks!
Reply With Quote
  #8  
Old 05 Aug 2016, 15:20
X-or X-or is offline
 
Join Date: Nov 2005
it's very nice, and working in 4.2.3 PL2
wish you could make this into a plugin for easy install
wish also you could re-collapse after expansion
it can be improved but very useful nonetheless
Reply With Quote
  #9  
Old 29 Oct 2016, 12:57
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Not work on 4.2.3 version, mesage not expand. When I press Expand button no any action. Can you check this problem ? Is it possible to make expand and collapse again function ?
__________________


Last edited by Bulent Tekcan; 31 Oct 2016 at 04:14.
Reply With Quote
  #10  
Old 07 Jun 2017, 12:58
Flipfloptrader Flipfloptrader is offline
 
Join Date: Jan 2011
Real name: John
Works nicely on Avenger Fluid also on 4.2.5.
__________________
Forex Trading community.
Reply With Quote
Reply


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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:01.

Layout Options | Width: Wide Color: