Jump to content

Streamer

Пользователи

Solutions

  1. Streamer's post in Помогите с редактором сообщений! was marked as the answer   
    Админ центр -> Внешний вид -> (шаблон Ваш) -> Редактор сообщений -> editorLoadJs
     
    Удаляем все от туда и вставляем следующее:
    {parse js_module="textEditor"} {parse js_module="textEditor.bbcode"} <php>     $this->_editorJsLoaded = true;     $jsonEncoded = IPSText::jsonEncodeForTemplate( isset($options['smilies']) && is_array($options['smilies']) ? $options['smilies'] : array() );     $options['bypassCKEditor'] = ( isset($options['bypassCKEditor']) ) ? $options['bypassCKEditor'] : 0; </php> <if test="bypassCkEditor:|:$options['bypassCKEditor'] != 1">     <if test="defined("CK_LOAD_SOURCE") AND CK_LOAD_SOURCE">         <!-- Load source files, not the minified version -->         <script type="text/javascript" src="{$this->settings['js_base_url']}js/3rd_party/ckeditor/ckeditor_source.js?nck={$this->settings['noCacheKey']}"></script>     <else />         <script type="text/javascript" src="{$this->settings['js_base_url']}js/3rd_party/ckeditor/ckeditor.js?nck={$this->settings['noCacheKey']}"></script>     </if> <else />     <script type="text/javascript">         CKEDITOR = { config: {} };     </script> </if> <script type="text/javascript">     /* Dynamic items */     CKEDITOR.config.IPS_BBCODE = {IPSLib::fetchBbcodeAsJson( array( 'skip' => array( 'sharedmedia' ) ) )};     CKEDITOR.config.IPS_BBCODE_IMG_URL = "{$this->settings['public_cdn_url']}style_extra/bbcode_icons";     CKEDITOR.config.IPS_BBCODE_BUTTONS = [];     CKEDITOR.timestamp = "{$this->settings['noCacheKey']}";          /* Has to go before config load */     var IPS_smiley_path            = "{$this->settings['emoticons_url']}/";     var IPS_smiles         = <if test="hasimages:|:! empty($options['smilies']['count'])">{$jsonEncoded}<else />{}</if>;     var IPS_remove_plugins = [];     var IPS_extra_plugins = [];          /* Load our configuration */     CKEDITOR.config.customConfig = '{$this->settings['js_base_url']}js/3rd_party/ckeditor/ips_config.js';     CKEDITOR.config.contentsCss = '{style_images_url}/editor/dark_editor.css';          /* Override with prefs */     CKEDITOR.config.CmdVAsPlainText = <if test="hasPastePlain:|:$this->memberData['bw_paste_plain']">true<else />false</if>; </script> {parse expression="$this->registry->output->addToDocumentHead( 'importcss', "{$this->settings['css_base_url']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_ckeditor.css" )"} Далее идем в FTP своего форума, папка /public/style_images/Ваш стиль/editor и вставляем туда файл dark_editor.css.
    Содержимое файла:
    /* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or __ckeditor.com/license */ body { /* Font */ font-family: 'Helvetica Neue', Arial, Verdana, sans-serif; font-size: 14px; /* Text color */ color: #bcbcbc; /* Remove the background color to make it transparent */ background-color: #1a1a1a; } a{ color: #fff; } p { margin: 0px; } img:-moz-broken { -moz-force-broken-image-icon : 1; width : 24px; height : 24px; } img, input, textarea { cursor: default; } /* Changed from just bbc_emoticon because we vertically align all posted images, while editor baseline-aligns */ img { vertical-align: middle; } strong.bbc                {    font-weight: bold !important; } em.bbc                     {    font-style: italic !important; } span.bbc_underline         {     text-decoration: underline !important; } acronym.bbc             {     border-bottom: 1px dotted #000; } span.bbc_center, div.bbc_center, p.bbc_center    {    text-align: center; display: block; } span.bbc_left, div.bbc_left, p.bbc_left    {    text-align: left; display: block; } span.bbc_right, div.bbc_right, p.bbc_right    {    text-align: right; display: block; } div.bbc_indent             {    margin-left: 50px; } del.bbc                 {    text-decoration: line-through !important; } ul, ul.bbc { list-style: disc outside; margin: 12px 0 12px 0px; } ul,ul.bbc ul.bbc { list-style-type: circle; } ul,ul.bbc ul.bbc ul.bbc { list-style-type: square; } ul.decimal,ul .decimal, ul.bbc.decimal { margin: 12px 0 12px 0px !important; list-style-type: decimal !important; } ul.lower-alpha,ul.bbc.lower-alpha { margin-left: 0px; list-style-type: lower-alpha; } ul.upper-alpha,ul.bbc.upper-alpha { margin-left: 0px; list-style-type: upper-alpha; } ul.lower-roman ,ul.bbc.lower-roman { margin-left: 0px; list-style-type: lower-roman; } ul.upper-roman,ul.bbc.upper-roman { margin-left: 0px; list-style-type: upper-roman; } ol,ul,dl {     /* IE7: reset rtl list margin. (#7334) */     *margin-right:0px;     /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ padding:0 40px; } blockquote.ipsBlockquote {     font-size: 12px;     padding: 10px;     border: 1px solid #3b3b3b;     background: #262626;     color: #7f7f7f;     margin: 0 0; } blockquote.ipsBlockquote blockquote.ipsBlockquote {     margin: 0 10px 0 0; } blockquote.ipsBlockquote p.citation {     margin: 6px 10px 0 0; } pre._prettyXprint { background-color: #262626 !important; color: #7f7f7f; padding: 5px; border: 1px solid #3b3b3b; overflow: auto; margin-left: 10px; font-size: 13px; line-height: 140%; width: 95%; margin: 1em auto; padding: 1em; white-space: pre-wrap; font-family: monospace !important; } Шрифт:
    /* Font */ font-family: 'Helvetica Neue', Arial, Verdana, sans-serif; font-size: 14px; Цвет текста:
    /* Text color */ color: #bcbcbc; Цвет заднего плана:
    /* Remove the background color to make it transparent */ background-color: #1a1a1a;
  2. Streamer's post in Как сделать это? was marked as the answer   
    Спасибо, нашел решение сам. Тут. '?do=embed' frameborder='0' data-embedContent>>
  3. Streamer's post in forum Background was marked as the answer   
    body {   background:#212121 url("Ссылка на картинку") ;         background-repeat: no-repeat;         background-attachment:fixed;         background-position: center bottom;         background-size:100% 100%; color: #FFF; font: normal 11px tahoma, helvetica, arial, sans-serif; position: relative; padding-bottom: 20px; }