Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Change the default height of the quick reply, quick edit, and normal editors Details »»
Change the default height of the quick reply, quick edit, and normal editors
Version: 1.0.0, by Analogpoint Analogpoint is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 09-27-2007 Last Update: Never Installs: 28
Uses Plugins
 
No support by the author.

This mod adds an admin control panel settings group to allow you to change the default height of the editors. It will be overridden by users' cookies, if they have manually changed the height of the editor (regular editor only). There is a hard-coded minimum height of 50 px for all editors.

The editors' default heights are currently hard-coded at:
  • Quick reply 100px.
  • Quick edit 200px.
  • Regular editor 250px.
This mod allows you to change that.

Installation: Import the XML product file and visit the settings group.

Due to a bug (reported here) in the default postbit_quickedit template, this mod won't change the default height of the quick edit box. As a work around, you can edit your postbit_quickedit template. Find this: height:200px and change it to this: height:{$editor_height}px

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-28-2007, 07:51 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Mod
Clicked install

and i want to change the width of the quick reply box how can i do that?
Reply With Quote
  #3  
Old 09-28-2007, 08:29 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Terminatoronly View Post
Good Mod
Clicked install

and i want to change the width of the quick reply box how can i do that?
Change the Message Area Width in your style's StyleVars.
Reply With Quote
  #4  
Old 09-28-2007, 08:33 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello mate,
thanks alot but that didn't change the quick reply message area width it changed the width of new thread message area
Reply With Quote
  #5  
Old 09-28-2007, 08:47 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like the Form Width setting in the StyleVars does it, although I'm not quite sure how that interacts with the other setting. You might want to play around with it.
Reply With Quote
  #6  
Old 09-28-2007, 11:39 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting.. however, could this modify the "width". One of my skins is a fixed skin, however the editor is kinda small.. anyway to adjust the width? I've tried, but maybe I'm editing the wrong area.
Reply With Quote
  #7  
Old 09-29-2007, 05:24 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FreshFroot View Post
interesting.. however, could this modify the "width". One of my skins is a fixed skin, however the editor is kinda small.. anyway to adjust the width? I've tried, but maybe I'm editing the wrong area.
The width is controlled by the Form Width and Message Area Width settings in your style's StyleVars.
Reply With Quote
  #8  
Old 09-29-2007, 08:31 AM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wonderful.
Clicked installed.

But I got problem with the quick reply size: it uses the size of full Editor Default Height, although I have assigned a smaller size for qr.
Reply With Quote
  #9  
Old 09-29-2007, 12:51 PM
howiulf howiulf is offline
 
Join Date: Jul 2007
Location: Germany, NRW
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
It looks like the Form Width setting in the StyleVars does it, although I'm not quite sure how that interacts with the other setting. You might want to play around with it.

Probably it's no bad idea to set the width in %. So its also adapting to screen settings.
Reply With Quote
  #10  
Old 09-29-2007, 02:26 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsblack View Post
Wonderful.
Clicked installed.

But I got problem with the quick reply size: it uses the size of full Editor Default Height, although I have assigned a smaller size for qr.
It's working correctly for me. What version of vB are you running it on?

Quote:
Originally Posted by howiulf View Post
Probably it's no bad idea to set the width in %. So its also adapting to screen settings.
You should be able to plug a percent value in there ie: 90%
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 07:57 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.08163 seconds
  • Memory Usage 2,297KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (9)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