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 (Coder/Designer) Dave is offline
Developer Last Online: Aug 2021 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (7 votes - 4.86 average) Installs: 34
Released: 08 Feb 2016 Last Update: Never Downloads: 0
Not 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.

Addons

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 153 21 Oct 2020 06:56
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.
__________________
Former vBulletin.org Staff Member



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
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.
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
Originally Posted by ArcadeSyndicate View Post
very nice, looks like xenforo
Yep, that's where I got the idea from.
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
  #11  
Old 17 Dec 2017, 07:35
iamme_meisi iamme_meisi is offline
 
Join Date: Dec 2017
Installed and working great!
Reply With Quote
  #12  
Old 23 Jan 2018, 13:16
iyihost's Avatar
iyihost iyihost is offline
 
Join Date: Feb 2008
l want to 3.8.x
who can hep me ?
__________________
Happy
Reply With Quote
  #13  
Old 16 Mar 2018, 08:33
ramesh_umk3's Avatar
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Real name: Wiston Book
Originally Posted by iyihost View Post
l want to 3.8.x
who can hep me ?

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

Should Work with vB 3.8

Try once.

Thanks.
Reply With Quote
  #14  
Old 12 Apr 2018, 13:32
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Nice, works great thanks... would be nice to have a contract on the expanded quote but this is nice enough.
Reply With Quote
  #15  
Old 24 Sep 2020, 18:21
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Vbulletin 4 has a "Use Remote jQuery" with; Google, jQuery, and Microsoft. being listed.
Your using CloudFlare jQuery 2.2.0
Any reason why you did not default to one of the built in selections? Are there any performance enhancements between any of these? Would it be worth while to add Cloudflare to the available default configuration list? Could not be too difficult... Will vBulletin 4.2.x run under jQuery 2.2.0?

Would be nice to have a collapse option once expanded
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5
PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables

Last edited by Hostboard; 24 Sep 2020 at 18:30.
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


New To Site? Need Help?

All times are GMT. The time now is 05:27.

Layout Options | Width: Wide Color: