vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   changing the quick response text area size (https://vborg.vbsupport.ru/showthread.php?t=283048)

ohadpartuck 05-17-2012 06:46 AM

changing the quick response text area size
 
Hi,
I've looked this up in the forums but nothing worked..
I've changed the
postlist.css

form#quick_reply textarea {
height:100px; //changed to 250px;
}

and I got something weird.
and styled took effect only in FF (not in chrome or IE)
and only in my computer. when I checked somewhere else- it's the same small quick response.

ohadpartuck 05-22-2012 05:23 AM

I think that it's managed by a script located here clientscript/ckeditor/themes/default/theme.js
more specifically in rows 104..
still doesn't work though.
It seems that the size of the quick response is saved in the cache or something because when I resize a quick response area in a certain browser , close it and reopens it in my forum -
it remebers the exact size of textarea !

how can this be?

woodscooter 07-25-2012 09:33 PM

Same as you, I want to change the default height of the Quick Reply box.

I believe it is set up in ckeditor_config.js, but I cannot find where that script is kept. Just above the Line 104 you refer to in your post, look at Line 99. It uses a variable 'editor.config.height'. I think that's what is set up in ckeditor_config.js.

For logged-in users, the height of the QR box is held in a cookie, called 'editor_height'. Once that is set up on someone's computer, the box will stay at the last-set size, unless they change browser or delete their cookie.

Someone has found the answer, though. It's at https://vborg.vbsupport.ru/showthread.php?t=278966.

The defaults are set up in includes/functions_editor.php. Search for the variable $default_height. It occurs several times, setting the text box height for different instances of the text editor.


All times are GMT. The time now is 05:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01567 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete