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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2011, 04:59 PM
steeler7 steeler7 is offline
 
Join Date: Oct 2009
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 4.1.4 How to change CKeditor text area default Height

I've been looking and looking but I can't figure out where to edit the default height for the text area/box in CKEditor, specifically in the quickly reply sections. Using Firebug I'm not getting anything that I can find (yet).

anyone have an idea or know where I can edit this piece of code?
Reply With Quote
  #2  
Old 06-18-2011, 11:55 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the following code to additional.css template

Code:
/* Quick Reply Editor */
#cke_contents_vB_Editor_QR_editor {
    height:300px!important;
}
/* Quick Reply Editor - END */

/* Go Advanced Editor */
#cke_contents_vB_Editor_001_editor {
    height:450px!important;
}
/* Go Advanced Editor - END */
As of right now, the height of the boxes are hard-coded in clientscript/ckeditor/ckeditor.js

Change variables to suit your needs.
Reply With Quote
  #3  
Old 06-19-2011, 12:05 AM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are the Quick reply editor in threads the same as the one in VM's? I want to change the one if VM if possible.
Reply With Quote
  #4  
Old 06-19-2011, 12:17 AM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code
Code:
/* Quick Reply Editor */
#cke_contents_vB_Editor_QR_editor {
    height:300px!important;
}
/* Quick Reply Editor - END */
will actually affect both VM and Quick Reply if left in additional.css, If you only want to affect VM then open template member.css and add the following

Code:
/* Visitor Message Editor member.css */
#cke_contents_vB_Editor_QR_editor {
    height:300px!important;
}
/* Visitor Message Editor member.css - END */
--------------- Added [DATE]1308446298[/DATE] at [TIME]1308446298[/TIME] ---------------

Change height attribute to suit your needs.
Reply With Quote
  #5  
Old 06-19-2011, 02:33 AM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot that works!
Reply With Quote
  #6  
Old 06-21-2011, 04:18 AM
steeler7 steeler7 is offline
 
Join Date: Oct 2009
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWindows7Site View Post
Add the following code to additional.css template

Code:
/* Quick Reply Editor */
#cke_contents_vB_Editor_QR_editor {
    height:300px!important;
}
/* Quick Reply Editor - END */

/* Go Advanced Editor */
#cke_contents_vB_Editor_001_editor {
    height:450px!important;
}
/* Go Advanced Editor - END */
As of right now, the height of the boxes are hard-coded in clientscript/ckeditor/ckeditor.js

Change variables to suit your needs.
You are the man! Thanks. I had tried something very similar but must've messed up something in the wording.

btw... what's VM?

--------------- Added [DATE]1308695859[/DATE] at [TIME]1308695859[/TIME] ---------------

Never mind, saw what VM stood for when i looked at the other post in this thread.

Does anyone know how to make the standard code editor text area taller? For whatever reason I get about 2 rows of text worth of size when I switch out of WYSIWYG mode
Reply With Quote
  #7  
Old 06-21-2011, 10:17 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot?
Reply With Quote
  #8  
Old 08-30-2015, 06:59 PM
planck planck is offline
 
Join Date: Jan 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to change the width of the text area throughtout my forum (topic, thread, post, post-reply, etc).

Please provide the code. Thanks in advance.

Please also give me intructions how-to and where-to insert the code.

I am a total newbie...

Sorry for all the additional requests
Reply With Quote
  #9  
Old 08-31-2015, 02:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of the software are you using? Do you have an image of how you want to change it?
Reply With Quote
  #10  
Old 08-31-2015, 03:54 PM
planck planck is offline
 
Join Date: Jan 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
What version of the software are you using? Do you have an image of how you want to change it?
I have vB v5.1.8 __ My post is actually in the wrong section.

http://vivapack.net/

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:50 PM.


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.07585 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete