MyBB Community Forums

Full Version: How to set a character size limits in blockquotes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dodgy  Do you not find it annoying when a user quotes another user that posted a 4,000 character reply and leaves the entire blockquote with the 4,000+ characters and you have to scroll down towards the end? Yeah, that's annoying, and I want to end it.

Smile  I'd like to know if there's a way to limit the amount of characters in the blockquote.

The only threads that discuss about blockquotes are these, but those don't address my question:

https://community.mybb.com/thread-192752.html
https://community.mybb.com/thread-207713.html
https://community.mybb.com/thread-209253.html
https://community.mybb.com/thread-212357.html
https://community.mybb.com/thread-164738.html
(2017-10-13, 09:24 PM)v_2 Wrote: [ -> ]https://mods.mybb.com/view/quote-shrinker
https://community.mybb.com/thread-163907-page-3.html

maybe 1 work for you

Undecided  I tried the plugin, but I guess it doesn't work for 1.8 installs. I switched the "compatibility" for 1.8 to be able to install it.

Shy  I tried the "show more" in quotes but so far that seems to help me a little bit. Hopefully somebody is able to write a plugin and maintain it. I prefer to limit the long blockquotes character limits.

Thanks,

Albano.
Hello comrades,

I'm revisiting this thread to find out if there's a way to make this happen by editing a jscript file or template file or css, other than a plugin. Below you will find the original post with my question:

(2017-10-13, 04:45 PM)albano Wrote: [ -> ]Dodgy  Do you not find it annoying when a user quotes another user that posted a 4,000 character reply and leaves the entire blockquote with the 4,000+ characters and you have to scroll down towards the end? Yeah, that's annoying, and I want to end it.

Smile  I'd like to know if there's a way to limit the amount of characters in the blockquote.

The only threads that discuss about blockquotes are these, but those don't address my question:

https://community.mybb.com/thread-192752.html
https://community.mybb.com/thread-207713.html
https://community.mybb.com/thread-209253.html
https://community.mybb.com/thread-212357.html
https://community.mybb.com/thread-164738.html
You can add this CSS:

.post_body blockquote {
    max-height: 200px;
    overflow: scroll;
}

That will limit the height to 200px and force the rest to scroll, probably the easiest way.
(2021-11-30, 10:57 AM)Matt Wrote: [ -> ]You can add this CSS:

.post_body blockquote {
    max-height: 200px;
    overflow: scroll;
}

That will limit the height to 200px and force the rest to scroll, probably the easiest way.

Yep, that's a good idea.

Thank you!