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

FoLez

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

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

  • Посещение

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

    2

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

  1. Графические Никнеймы


    Наконец таки дописал свой хук Графических никнеймов.
    Хук был переписан полностью!
    функции:

    • Пользователь может сам загружать свой ник.
    • Пользователь может сам удалять свой ник.
    • Вывод истории у кого стоит графический ник.
    • Выбор групп которые могут ставить ник.
    • Ввод папки в которую будут сохранятся картинки.

     


  2. ац -> внешний вид -> ваш стиль -> темы -> post

    найти:

    <if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']">
                        <span class='right'>
                            <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label> <input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' />
                        </span>

    замените на:

                    <if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']">
                        <span class='right'>
                            <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label> <input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' />
                        </span>
    </if>

     

  3. Velon Skin

    Стиль Velon выполнен с соблюдением современных тенденций.

    • Использование приятной цветовой схемы Flat.
    • Вёрстка с элементами CSS3 и jQuery
    • Удобство модифицирования и редактирования по Вашему желанию
    • Помощь по установке стиля + 2х недельная техподдержка.
    • Адаптивная верстка.

    Скриншоты:

     

    Цена: 700руб.

    Выкуп стиля+PSD: 6999руб. (До первой покупки)

    К оплата принимается: Qiwi, Webmoney, ЯндексДеньги, Visa(Rus).

    Стиль можно приобрести:

    ЛС у KoBro и Folez

    Skype: mixan00027 или vareckiy7777

    Vk:

    Демо стиля не будет.Для защиты стиля от рипа!

  4. index.php?app=downloads&module=display&s

    Название: Dle News

    Добавил: FoLez

    Добавлен: 16 Дек 2014

    Категория: Компоненты, Приложения для IP.Board

    Название по-русски : Новости с главной страницы DLE

    Версия IP.Board: 3.4.x

    Написал свое первое приложение для IPB.

    Фукнционал:

    Выводи новости с DLE на отдельной странице.

    P.S. строго не судите первое приложение.

  5. ,вот весь код:

    <php>
    $limitRep = "10";
    $limitRep2 = "100";
    $limitRep3 = "1000";
    $limitRep4 = "10000";
    $limitRep5 = "100000";
    $limitRep6 = "500000";
    $limitRep7 = "1000000";
    $limitRep8 = "5000000";
    $images1 = $this->settings['fcRepBar_limit9'];
    $color1 = $this->settings['fcRepBar_limit10'];
    $images2 = $this->settings['fcRepBar_limit11'];
    $color2 = $this->settings['fcRepBar_limit12'];
    $images3 = $this->settings['fcRepBar_limit13'];
    $color3 = $this->settings['fcRepBar_limit14'];
    $images4 = $this->settings['fcRepBar_limit15'];
    $color4 = $this->settings['fcRepBar_limit16'];
    $images5 = $this->settings['fcRepBar_limit17'];
    $color5 = $this->settings['fcRepBar_limit18'];
    $images6 = $this->settings['fcRepBar_limit19'];
    $color6 = $this->settings['fcRepBar_limit20'];
    $images7 = $this->settings['fcRepBar_limit21'];
    $color7 = $this->settings['fcRepBar_limit22'];
    $images8 = $this->settings['fcRepBar_limit23'];
    $color8 = $this->settings['fcRepBar_limit24'];
    $limitRep9 = $this->settings['fcRepBar_limit25'];
    $images9 = $this->settings['fcRepBar_limit26'];
    $color9 = $this->settings['fcRepBar_limit27'];
    $userRep = intval( $author['pp_reputation_points'] );
    $delitel = $limitRep /100;
    $delitel2 = $limitRep2 /100;
    $delitel3 = $limitRep3 /100;
    $delitel4 = $limitRep4 /100;
    $delitel5 = $limitRep5 /100;
    $delitel6 = $limitRep6 /100;
    $delitel7 = $limitRep7 /100;
    $delitel8 = $limitRep8 /100;
    $delitel9 = $limitRep9 /100;
    
    $gPercent  =   $userRep / $limitRep8 *100;
    $percent =   ($userRep > $limitRep8)? 100  : number_format($gPercent, 0);
    if( $userRep < 0 AND $userRep >= $limitRep9 )
    {
        $statusImg = "9bg.jpg";
        $statusBg  = "#ccc";
        $width = (abs($userRep) > abs($limitRep9))? 100: number_format(abs($userRep/$delitel9));
    }
    else if( $userRep >= 0 AND $userRep <= $limitRep )
    {
        $statusImg = "1bg.jpg";
        $statusBg  = "#ccc";
        $width = ($userRep > $limitRep)? 100: number_format($userRep/$delitel);
    }
    else if( $userRep >= $limitRep+1 AND $userRep <= $limitRep2)
    {
        $statusImg = "2bg.jpg";
        $statusBg  = "#0628f7";
        $width = ($userRep > $limitRep2)? 100: number_format($userRep/$delitel2);
    }
    else if( $userRep >= $limitRep2+1 AND $userRep <= $limitRep3)
    {
        $statusImg = "3bg.jpg";
        $statusBg  = "#e1d83f";
        $width = ($userRep > $limitRep3)? 100: number_format($userRep/$delitel3);
    }
    else if( $userRep >= $limitRep3+1 AND $userRep <= $limitRep4)
    {
        $statusImg = "4bg.jpg";
        $statusBg  = "#a2e13f";
        $width = ($userRep > $limitRep4)? 100: number_format($userRep/$delitel4);
    }
    else if( $userRep >= $limitRep4+1 AND $userRep <= $limitRep5)
    {
        $statusImg = "5bg.jpg";
        $statusBg  = "$color5";
        $width = ($userRep > $limitRep5)? 100: number_format($userRep/$delitel5);
    }
    else if( $userRep >= $limitRep5+1 AND $userRep <= $limitRep6)
    {
        $statusImg = "6bg.jpg";
        $statusBg  = "$color6";
        $width = ($userRep > $limitRep6)? 100: number_format($userRep/$delitel6);
    }
    else if( $userRep >= $limitRep6+1 AND $userRep <= $limitRep7)
    {
        $statusImg = "7bg.jpg";
        $statusBg  = "$color7";
        $width = ($userRep > $limitRep7)? 100: number_format($userRep/$delitel7);
    }
    else if( $userRep >= $limitRep7+1 AND $userRep <= $limitRep8)
    {
        $statusImg = "8bg.jpg";
        $statusBg  = "$color8";
        $width = ($userRep > $limitRep8)? 100: number_format($userRep/$delitel8);
    }
    else{
        $statusImg = "9bg.jpg";
        $statusBg  = "$color9";
    }
    </php>
    <style type='text/css'>
    .tCard{
      float:right;
      width:28%;
      vertical-align:middle;
      background: none !important;
      font-weight:bold;
      padding-top:5px;
      color:white;
      font-size: 11px;
      text-shadow:rgba(0, 0, 0, 0.4) 1px 1px 1px;
    }
    .tBorder_{$author['member_id']}{
      width:150px; 
      margin:0 auto; 
      background-color:{$statusBg}; 
      height:26px;
      margin-bottom: 10px;
      border-radius:3px;
      -moz-border-radius: 3px;
      -webkit-border-radius: 3px;
      padding:1px;
      position: relative;
    }
    
    .ipsUserPhoto_larg {
    	max-height: 200px;
    	max-width: 250px;
    border-radius: 4px;
    border: 1px dashed rgb(204, 204, 204);
    padding: 1px;
     }
    
    .tText_{$author['member_id']}{
      position: absolute;
      z-index: 10;
      text-align:center;
      top:2px;
      left:1px;
      margin: 3px 0 0 15px; 
      width:85px; font-weight:bold;
      color:white;
      text-shadow:rgba(0, 0, 0, 0.4) 1px 1px 2px;
    }
    .progress-container_{$author['member_id']} {
      width: 70%; 
      height: 24px;
      padding: 1px;
      background: white;
      float:left;
      border-radius: 3px 3px 3px 3px;
    }
    .progress-container_{$author['member_id']} > div {
      background-color: white;
      background-image: url({$this->settings['img_url']}/repbar/{$statusImg});
      background-repeat: no-repeat;
      height: 24px;
      border-top-left-radius:3px;
      border-bottom-left-radius:3px;
      -moz-border-radius: 3px 0 0 3px;
      -webkit-border-radius: 3px 0 0 3px;
    }
    </style>
    <!-- Rep Bar by FoLez -->
    <if test="RepPositive:|:$author['pp_reputation_points'] >= 0">
    <li style='margin-bottom: -5px;'>
    <div align="center">
    <div style="text-align:center;width:190px;;padding-bottom: 8px;">
    <div align="left" style="width:200px;background:url('{$this->settings['img_url']}/repbar/rbg.jpg') #fff;border-bottom:1px solid #dfdfdf;margin:4px 0 0 0; border-radius: 3px 3px 3px 3px;">
    <div style="height:23px;width: {$width}%;background:url('{$this->settings['img_url']}/repbar/{$statusImg}'); border-radius: 4px 0 0 4px; "></div>
    </div>
    
    <div style="position:relative;text-align:center;width:100%;text-align:center;">
    <div style="width:170px;bottom:7px;left:13px;text-shadow:0 1px 0 #f0f0f0;font-size:12px;position: absolute;top: -24px;"><span style='color: #000;'>{parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</span></div>
    </div>
    </div>
    </div>
    </li>
    
    <else />
    <li style='margin-bottom: -5px;'>
    <div align="center">
    <div style="text-align:center;width:190px;;padding-bottom: 8px;">
    <div align="left" style="width:200px;background:url('{$this->settings['img_url']}/repbar/rbg.jpg') #fff;border-bottom:1px solid #dfdfdf;margin:4px 0 0 0; border-radius: 0;">
    <div style="height:23px;color: #fff;width: {$width}%;background:url('{$this->settings['img_url']}/repbar/{$statusImg}'); border-radius: 4px 0 0 4px;"></div>
    </div>
    
    <div style="position:relative;text-align:center;width:100%;text-align:center;">
    <div style="width:170px;bottom:7px;left:13px;text-shadow:0 0px 0 #f0f0f0;font-size:11px;position: absolute;top: -24px;"><span style='color: black;'>{parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</span></div>
    </div>
    </div>
    </div>
    </li>
    </if> 

     

     

    Вытащил со своего сайта

  6. нужно сделать кое какую манипуляцию в базе данных:

    1)заходите в phpmyadmin в нужную вам БД
    2)находите таблицу core_sys_lang
    3)жмете изменить
    4)изменяете значение lang_protected на 0
×
×
  • Создать...