View Full Version : Limited Quote plugin?
itzzjake
06-16-2011, 09:05 PM
Hello, is there a mod (for 4.1.3) that limits the amount shown when some quotes. Here is an example:
http://www.diigo.com/item/image/17nlx/7ry0
I want that, instead of this:
http://www.diigo.com/item/image/17nlx/83mt
Sarteck
06-16-2011, 09:15 PM
In your postbit.css (or maybe additional.css) template, you could put:
.bbcode_quote_container .message {max-height: 200px; overflow: auto}
I think that would work for ya. Just change the 200px to whatever ya want.
(You may have to hard refresh after adding that.)
itzzjake
06-16-2011, 10:52 PM
Hard refresh?
And how can I make all the threads, before i did this, appear as this also?
Sarteck
06-16-2011, 10:56 PM
That should automatically apply to all of your quotes, regardles of when they were posted.
"Hard Refresh" is a refresh that ignores whatever is in your browser's cache (in this case, possible leftover CSS files). On FireFox, it's "Ctrl + Shift + R," and I think on IE it's "Ctrl + Shift + F5." Not sure about other browsers.
itzzjake
06-17-2011, 05:42 PM
That should automatically apply to all of your quotes, regardles of when they were posted.
"Hard Refresh" is a refresh that ignores whatever is in your browser's cache (in this case, possible leftover CSS files). On FireFox, it's "Ctrl + Shift + R," and I think on IE it's "Ctrl + Shift + F5." Not sure about other browsers.
Nope, still doesn't work. http://tech-revolution.com/forum/showthread.php?318-PS3-Media-Server-v1.25.1
Sarteck
06-17-2011, 05:59 PM
All right, I just tested another solution on my own forum, and this one DOES work.
In the headinclude template, if you put:<vb:literal><style>
div.quote_container {max-height:120px;overflow:auto;}
</style></vb:literal>
That DOES work. I think it would be best to put the CSS into one of the CSS templates, but I'm not sure where it SHOULD go, tbh. I would guess postbit.css, but I can tel you for sure that it does work in the headlinclude.
itzzjake
06-18-2011, 02:52 AM
All right, I just tested another solution on my own forum, and this one DOES work.
In the headinclude template, if you put:<vb:literal><style>
div.quote_container {max-height:120px;overflow:auto;}
</style></vb:literal>
That DOES work. I think it would be best to put the CSS into one of the CSS templates, but I'm not sure where it SHOULD go, tbh. I would guess postbit.css, but I can tel you for sure that it does work in the headlinclude.
You're the man!
Juggernaut
06-18-2011, 03:27 AM
I liked what you did here Sarteck, I added your code to additional css, and it works there, with the added benefit that if you ever need to revert the headinclude template or any css templates, your additional css won't be affected. :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.