Перейти до змісту
Домент ipb-board.ru продається.

Уведомление при отсутствии персонализации

Рекомендовані відповіді

Опубліковано
  • Адміністратор

Screenshot_2.png

1.Перейти Админ Панель-Внешний вид-Ваш стиль-Список форумов-boardIndexTemplate найти:

<div id='categories' class='ipsLayout_content clearfix'>

2. Под ним, вставить этот код:

<PHP>
$this->memberData['customization'] = @unserialize($this->memberData['pp_customization']);
</PHP><if test="$this->memberData['member_id'] ">
<if test="hasBodyCustomization:|:$this->memberData['customization']['bg_color'] OR $this->memberData['customization']['_bgUrl']">

<else />
<div class="error messagebg1" style="margin: 10px 0;"></br>

              Моля поставете Персонализация - съобщението ще се премахне автоматично !

                <a href='{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=customize" base="public"}'  class="ipsButton right right" title='Моля поставете Персонализация' style='color: #fff;margin-top: -7px;'>Качване</a></br></br>

      </div>
</if></if>

3.Перейти Админ Панель-Внешний вид-Ваш стиль-css-ipb_styles.css добавить у самий низ:

div.messagebg1.error:before{content:'\f00d';}
div.messagebg1 {
  position: relative;
  padding: 10px;
  padding-left: 35px;
  margin: 30px 10px;
  box-shadow:0 2px 5px rgba(0,0,0,.3);
  background: #73229B;
  color: #FFF;
  
  -webkit-transition: all .5s ease;
     -moz-transition: all .5s ease;
      -ms-transition: all .5s ease;
       -o-transition: all .5s ease;
          transition: all .5s ease;
}
div.messagebg1:hover{
  box-shadow: 0 15px 20px rgba(10,0,10,.3);
  -webkit-filter: brightness(110%);
}

div.messagebg1:before{
  content: '';
  font-family: FontAwesome;
  position: absolute;
  display: block;
  top: -21px;
  left: 50%;
  margin:0 -21px;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  width: 24px;
  padding:10px;
  background: inherit;
  box-shadow:0 5px 10px rgba(0,0,0,.25);
  color: rgba(255,255,255,.75);
  border-radius:50%;
  border: 2px solid transparent;
  z-index: 2;
}
 10px;
  padding-left: 35px;
  margin: 30px 10px;
  box-shadow:0 2px 5px rgba(0,0,0,.3);
  background: #73229B;
  color: #FFF;
  
  -webkit-transition: all .5s ease;
     -moz-transition: all .5s ease;
      -ms-transition: all .5s ease;
       -o-transition: all .5s ease;
          transition: all .5s ease;
}
div.messagebg1:hover{
  box-shadow: 0 15px 20px rgba(10,0,10,.3);
  -webkit-filter: brightness(110%);
}

div.messagebg1:before{
  content: '';
  font-family: FontAwesome;
  position: absolute;
  display: block;
  top: -21px;
  left: 50%;
  margin:0 -21px;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  width: 24px;
  padding:10px;
  background: inherit;
  box-shadow:0 5px 10px rgba(0,0,0,.25);
  color: rgba(255,255,255,.75);
  border-radius:50%;
  border: 2px solid transparent;
  z-index: 2;
}

Для публікації повідомлень створіть обліковий запис або авторизуйтесь