Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2011, 09:05 PM
itzzjake itzzjake is offline
 
Join Date: Feb 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Limited Quote plugin?

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
Reply With Quote
  #2  
Old 06-16-2011, 09:15 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.)
Reply With Quote
  #3  
Old 06-16-2011, 10:52 PM
itzzjake itzzjake is offline
 
Join Date: Feb 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hard refresh?

And how can I make all the threads, before i did this, appear as this also?
Reply With Quote
  #4  
Old 06-16-2011, 10:56 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 06-17-2011, 05:42 PM
itzzjake itzzjake is offline
 
Join Date: Feb 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarteck View Post
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/sho...Server-v1.25.1
Reply With Quote
  #6  
Old 06-17-2011, 05:59 PM
Sarteck's Avatar
Sarteck Sarteck is offline
 
Join Date: Mar 2008
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All right, I just tested another solution on my own forum, and this one DOES work.

In the headinclude template, if you put:
HTML Code:
<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.
Reply With Quote
  #7  
Old 06-18-2011, 02:52 AM
itzzjake itzzjake is offline
 
Join Date: Feb 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarteck View Post
All right, I just tested another solution on my own forum, and this one DOES work.

In the headinclude template, if you put:
HTML Code:
<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!
Reply With Quote
  #8  
Old 06-18-2011, 03:27 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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


All times are GMT. The time now is 05:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05686 seconds
  • Memory Usage 2,231KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete