vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Change the default height of the quick reply, quick edit, and normal editors (https://vborg.vbsupport.ru/showthread.php?t=158988)

Analogpoint 09-27-2007 10:00 PM

Change the default height of the quick reply, quick edit, and normal editors
 
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

Terminatoronly 09-28-2007 07:51 PM

Good Mod ;)
Clicked install

and i want to change the width of the quick reply box how can i do that?

Analogpoint 09-28-2007 08:29 PM

Quote:

Originally Posted by Terminatoronly (Post 1349179)
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.

Terminatoronly 09-28-2007 08:33 PM

hello mate,
thanks alot but that didn't change the quick reply message area width it changed the width of new thread message area

Analogpoint 09-28-2007 08:47 PM

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.

FreshFroot 09-28-2007 11:39 PM

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.

Analogpoint 09-29-2007 05:24 AM

Quote:

Originally Posted by FreshFroot (Post 1349275)
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.

itsblack 09-29-2007 08:31 AM

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.

howiulf 09-29-2007 12:51 PM

Quote:

Originally Posted by Analogpoint (Post 1349204)
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.

Analogpoint 09-29-2007 02:26 PM

Quote:

Originally Posted by itsblack (Post 1349438)
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 (Post 1349542)
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%


All times are GMT. The time now is 12:44 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.01154 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete