Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[TZ34] Member Panel Rus / Панель пользователя на главной [Модифицировано Sasha9]

Featured Replies

Posted

post-13026-0-91372400-1382289702.png

Название: Member Panel / Панель пользователя на главной (Модифицировано Envy)

Добавил: Sasha9

Добавлен: 10 Май 2013

КатегорияРусские хуки и моды IP.Board всех версий.

Автор локализации: Sasha9

Оригинальное название: Member Panel

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

 

1) Скачиваем оригинальный __ipbmafia.ru/files/file/1037-tz34-member-panel-rus-%D0%BF%D0%B0%D0%BD%D0%B5%D0%BB%D1%8C-%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8F-%D0%BD%D0%B0-%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%BE%D0%B9/

'>Member Panel

2) Открываем АЦ - Внешний вид - ваш стиль - skin_teez_apps - memberPanel

 

И заменяем все на:

 <template_content><![CDATA[
 <if test="$this->memberData['member_id'] ">
 <style>
<div class='center'> 
</style>
<div class='ipsSideBlock clearfix'>
<h3><img src="{$this->settings['img_url']}/user_comment.png" class='navIcon' alt='' />&nbsp;Панель пользователя</h3>
<div class='_sbcollapsable'>


<div class='center'>

<p>
<span style='color:#0e0e0e'><strong class='bbc'><p class='bbc_center'><span style='color:#0e0e0e'>Группа:</span></span> {$this->memberData['g_title']} </p></p>
</div>
<div class='center'> 
<p class='bbc_center'><span style='color:#0e0e0e'><strong class='bbc'>Ваш ник:</strong></span> {$this->memberData['members_display_name']}</p>
        <p class='bbc_center'>   {IPSMember::buildProfilePhoto($this->memberData['member_id'],$size=full)}</span></p>
<php>
$aaa = IPSMember::load($this->memberData['member_id'], 'members_display_name' );
</php>


<br/>
<br/>








<p class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: #333333;">
<a href="{parse url="showuser={$this->memberData['member_id']}" template="showuser" seotitle="{$this->memberData['member_id']}" base="public"}" style="display: block; margin: 0 auto;" title="Нажмите для просмотра вашего профиля"><img src="{$this->settings['img_url']}/user_green.png">&nbsp;Мой профиль</a></p>






<p class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: #333333;">
<a href='{parse url="app=members&amp;section=friends&amp;module=profile&amp;do=list&amp;tab=list" base="public"}' style="display: block; margin: 0 auto;" title="Нажмите для просмотра ваших друзей"><img src="{$this->settings['img_url']}/user.png">&nbsp;Мои друзья</a></p>






<p class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: #333333;"><a title="Вы написали {$this->memberData['posts']} сообщений на форуме"><img src="{$this->settings['img_url']}/comment_new.png">
&nbsp;Cообщения: {$this->memberData['posts']}</p></a></img>


<p class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: #333333;">
<a href='{parse url="app=core&module=usercp" base="public"}' style="display: block; margin: 0 auto;" title="Нажмите для настройки профиля"><img src="{$this->settings['img_url']}/user_edit.png">&nbsp;Настройки</a></p>


<if test="$this->memberData['pp_reputation_points'] > 0">
<div class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: green" >
<div style="text-align: center;"><a title="Ваша репутация">Репутация: {parse expression="$this->lang->formatNumber( intval($this->memberData['pp_reputation_points'] ) )"}</a></div>
</div>
</if>


<if test="$this->memberData['pp_reputation_points'] < 0">
<div class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: red" >
<div style="text-align: center;"><a title="Ваша репутация">Репутация: {parse expression="$this->lang->formatNumber( intval( $this->memberData['pp_reputation_points'] ) )"}</a></div>
</div>
</if>


<if test="$this->memberData['pp_reputation_points'] == 0">
<div class="ipsButton_secondary" style="width: 100px; text-align: left; margin-bottom: 5px; background-color: #333333;" >
<div style="text-align: center;"><a title="Ваша репутация">Репутация: {parse expression="$this->lang->formatNumber( intval( $this->memberData['pp_reputation_points'] ) )"}</a></div>
</div>
</if>
<if test="authorwarn:|:$author['show_warn']">
<if test="hasWarningId:|:$options['wl_id']">
<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
</if>
<a class='desc lighter blend_links' href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
</if>




</div>




</div>
</div>


</if></template_content>

3) Добавляем в CSS

.boxprofile {border-top: 1px solid #494949;border-bottom: 1px solid #494949;border-right: 1px solid #494949;border-left: 1px solid #494949;border-radius: 8px;padding: 5px;margin-top: 3px;}

И усе =)

зачем плодить темы если можно просто добавить свой вариант уже имеющегося файла?

__ipbmafia.ru/files/file/1041-member-panel-панель-пользователя-на-главной-модифициров/
и да, как-то знакомо...

__ipbmafia.ru/topic/4206-member-panel-панель-пользователя-на-главной-модифициров/?p=40433

Но такой вопрос: как насчёт в самом хуке шаблон заменить ? Чтобы после установки меньше действий совершать. =/

для сани походу проще установить хук и потом костыли ставить, а не отредактировать хук сразу... модификация блин

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.