Перейти к содержанию

GavriK595

Актив
  • Постов

    260
  • Зарегистрирован

  • Посещение

  • Победитель дней

    2

Сообщения, опубликованные GavriK595

  1. ​На скриншоте видно, какое разрешение у изображения, и какое оригинальное, либо я вовсе дурак

    17.thumb.png.624cf02a705ce022cf7036a3893

    ​193x145 - до каких размеров уменьшено (при разных размерах экрана разные значения). В качестве загружаемого в любом случае выступает 640x480.

    сам нашел, шаблон называется ImageRow в ветке gallery

    Если где-то еще нужно поправить, буду рад если подскажите

     У меня изменен лишь ImageRow шаблон.

    <li class='cGalleryWidget {{if $orientation == 'horizontal'}}ipsCarousel_item{{endif}}'>
        <div class='ipsType_center'>
            <a href='{$image->url()}' title='{lang="view_this_image" sprintf="$image->caption"}'>
                {{if $image->thumb_file_name}}
                    <img src='{file="$image->thumb_file_name" extension="gallery_Images"}' alt='' class='ipsImage'>
                {{else}}
                    <div class='ipsImage ipsNoThumb ipsNoThumb_video'>&nbsp;</div>
                {{endif}}
            </a>
        </div>
        <div>
            {{if $image->directContainer()->allow_comments}}
                <div class="ipsCommentCount ipsPos_right {{if $image->comments === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="num_comments" pluralize="$image->comments"}'>
                    {$image->comments}
                </div>
            {{endif}}
            {{if $image->unread()}}<span class="ipsItemStatus ipsItemStatus_small"><i class="fa fa-circle"></i></span> <strong>{{endif}}<a href="{$image->url()}" title='{lang="view_this_image" sprintf="$image->caption"}' class='ipsType_break'>{wordbreak="$image->caption"}</a>{{if $image->unread()}}</strong>{{endif}}<br>
            <span class='ipsType_light ipsType_small'>{lang="byline_nodate" htmlsprintf="$image->author()->link()"} &middot; {datetime="$image->mapped('date')" norelative="true"}</span><br>
        </div>
    </li>

  2. Менял у себя. medium_file_name заменить нужно в некоторых шаблонах на thumb_file_name. В каких менял не помню. Подробнее смогу сказать вечером, сейчас посмотреть возможности нету. Попробуйте сами по структуре пройтись.

  3. В пробелах по высоте виноват код блоков мониторинга, указана фиксированная высота блока, которая превышает его реальную высоту (height="490").
    Ширина форума настраивается изменением свойств *width в Внешний вид - Ваш стиль - CSS - ipb_styles.css - .wrapper

  4. На чистой 4.0.2 после установки. Доступа нету ни к чему.

    ErrorException Object
    (
        [message:protected] => strtr(): The second argument is not an array
        [string:Exception:private] => 
        [code:protected] => 2
        [file:protected] => public_html/init.php(427) : eval()'d code
        [line:protected] => 43
        [trace:Exception:private] => Array
            (
                [0] => Array
                    (
                        [function] => errorHandler
                        [class] => IPS\IPS
                        [type] => ::
                        [args] => Array
                            (
                                [0] => 2
                                [1] => strtr(): The second argument is not an array
                                [2] => public_html/init.php(427) : eval()'d code
                                [3] => 43
                                [4] => Array
                                    (
                                        [value] => index
                                    )
    
                            )
    
                    )
    
                [1] => Array
                    (
                        [file] => public_html/init.php(427) : eval()'d code
                        [line] => 43
                        [function] => strtr
                        [args] => Array
                            (
                                [0] => index
                                [1] => 
                            )
    
                    )
    
                [2] => Array
                    (
                        [file] => public_html/system/Theme/Theme.php
                        [line] => 2224
                        [function] => seoTitle
                        [class] => IPS\Http\hook16
                        [type] => ::
                        [args] => Array
                            (
                                [0] => index
                            )
    
                    )
    
                [3] => Array
                    (
                        [file] => public_html/system/Theme/Theme.php
                        [line] => 589
                        [function] => cleanGroupName
                        [class] => IPS\_Theme
                        [type] => ::
                        [args] => Array
                            (
                                [0] => index
                            )
    
                    )
    
                [4] => Array
                    (
                        [file] => public_html/applications/forums/modules/front/forums/index.php
                        [line] => 70
                        [function] => getTemplate
                        [class] => IPS\_Theme
                        [type] => ->
                        [args] => Array
                            (
                                [0] => index
                            )
    
                    )
    
                [5] => Array
                    (
                        [file] => public_html/system/Dispatcher/Controller.php
                        [line] => 94
                        [function] => manage
                        [class] => IPS\forums\modules\front\forums\_index
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
                [6] => Array
                    (
                        [file] => public_html/applications/forums/modules/front/forums/index.php
                        [line] => 37
                        [function] => execute
                        [class] => IPS\Dispatcher\_Controller
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
                [7] => Array
                    (
                        [file] => public_html/system/Dispatcher/Dispatcher.php
                        [line] => 129
                        [function] => execute
                        [class] => IPS\forums\modules\front\forums\_index
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
                [8] => Array
                    (
                        [file] => public_html/index.php
                        [line] => 13
                        [function] => run
                        [class] => IPS\_Dispatcher
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
            )
    
        [previous:Exception:private] => 
        [severity:protected] => 0
    )

     

×
×
  • Создать...