Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Tennman Posted September 23, 2020 Posted September 23, 2020 Is it possible to turn off the new feature in 4.5 that compresses quotes? It is a nice feature for large forums I guess but I'd rather not have it on my forum.
bfarber Posted September 24, 2020 Posted September 24, 2020 Is this what you are referring to? If so there's no option to turn it off
MNOfficial Posted November 28, 2020 Posted November 28, 2020 On 9/24/2020 at 10:49 AM, bfarber said: Is this what you are referring to? If so there's no option to turn it off May I ask why, though? Surely, there should be a way to ignore this?
bfarber Posted November 30, 2020 Posted November 30, 2020 You could modify the theme template to remove the expansion. It's just not a setting is all.
Nathan Explosion Posted November 30, 2020 Posted November 30, 2020 (edited) 4 hours ago, bfarber said: You could modify the theme template to remove the expansion. You've mentioned this twice - are you sure about that? Reason I ask is the truncate functionality looks like it is applied with JS, via ips.ui.quote.js, at the time of post display: /* Set the event handler for opening/closing */ elem.find('> .ipsQuote_citation').on( 'click', _toggleQuote ); elem.find('> .ipsQuote_contents') .addClass('ipsClearfix') .attr('data-ipsTruncate', true) .attr('data-ipsTruncate-type', 'hide') .attr('data-ipsTruncate-size', '7 lines') .attr('data-ipsTruncate-expandText', ips.getString('expand_quote')); I've sussed out how to play with the above but if this somehow controlled via a theme template then I'd love to know which one so I could take a closer look at it for something I'm working on to assist with this 'issue' Edited November 30, 2020 by Nathan Explosion Martin A. and MNOfficial 1 1
Martin A. Posted December 1, 2020 Posted December 1, 2020 14 hours ago, Nathan Explosion said: You've mentioned this twice - are you sure about that? Reason I ask is the truncate functionality looks like it is applied with JS, via ips.ui.quote.js, at the time of post display: /* Set the event handler for opening/closing */ elem.find('> .ipsQuote_citation').on( 'click', _toggleQuote ); elem.find('> .ipsQuote_contents') .addClass('ipsClearfix') .attr('data-ipsTruncate', true) .attr('data-ipsTruncate-type', 'hide') .attr('data-ipsTruncate-size', '7 lines') .attr('data-ipsTruncate-expandText', ips.getString('expand_quote')); I've sussed out how to play with the above but if this somehow controlled via a theme template then I'd love to know which one so I could take a closer look at it for something I'm working on to assist with this 'issue' Can confirm that it's added with JS. Disabled JS, and here's what your signature looks like. Nathan Explosion 1
bfarber Posted December 1, 2020 Posted December 1, 2020 Ah, usually these things are triggered by a controller on it and I didn't have the files open to verify at the time I replied. Sorry for the confusion. Nathan Explosion 1
Recommended Posts