Подарки

Подарки 1.0.0

Нет прав для скачивания

sidar

Пользователь
usercp_viewprofile.tpl - нету
[ OPEN ]------------------------------------------
#

usercp_viewprofile.tpl

#
#-----[ FIND ]------------------------------------------
#

</table><!--/user_profile-->
 

Lynx

Пользователь
sidar ,ты этот мод в XenForo ставишь? Если да, то там нету </table><!--/user_profile-->. Там по-другому.
 
Последнее редактирование:

Lynx

Пользователь
Найти:
<li><a href="#tabs_activity">{L_BT_REPLIES}</a></li>

Ниже вставить:
<li><a href="#tabs_presents">{L_PRESENTS_USER}</a></li>

Найти:
<dl><dt>{L_ATOM_SUBSCRIBE}:</dt><dd><a title="{L_ATOM_SUBSCRIBE}" href="#" onclick="return post2url('feed.php', {mode: 'get_feed_url', type: 'u', id: {PROFILE_USER_ID}})">{FEED_IMG}</a></dd></dl>
</div>
</div>
</div>

</li>
</ul>

Ниже вставить:

<ul id="ProfilePanes">
<li id="tabs_presents" class="profileContent" style="display: list-item">

<div class="section">
<h3 class="textHeading"><a href="presents.php?u={PROFILE_USER_ID}" class="gen">{L_PRESENTS_TO}</a></h3>
<div class="secondaryContent">
<table class="user_profile bordered w100" cellpadding="0">
<style type="text/css">
#present {
height:150px; position: relative;
background:url('styles/images/presents/gift_bg.png') repeat-x bottom;
border: 1px solid #ccc;
}
#present .lblock {
background:url('styles/images/presents/left.png') no-repeat top right;
width:85px; height:32px;
line-height:35px; position:absolute;
top:135px; left:-7px;
}
#present .rblock {
color:#FFF; background:url('styles/images/presents/right.png') no-repeat top left;
font-weight: bold; width:72px; height:32px;
line-height:35px; position:absolute;
top:135px; right:-6px;
}
#present b { color: #FFF;}
#present b:hover { color: #FF8000;}
#present b:active { color: #FF8000 !important; position: relative; top: 1px; }
#present a:hover, #present a:active {
text-decoration: none !important;
}
</style>
<!-- IF PAGINATION -->
<p class="small" style="padding: 1px 6px 5px;"><b>{PAGINATION}</b></p>
<!-- ENDIF -->
<table class="tCenter borderless" width="100%">
<!-- BEGIN presentrow -->
<tr>
<!-- BEGIN presentcol -->
<td class="row1 pad_10" width="25%">
<div id="present" class="pad_10">
<div style="color: #c80; font-size:14px;">{presentrow.presentcol.NAME}</div>
<img src="styles/images/presents/{presentrow.presentcol.PIC}">
<div class="lblock tLeft nowrap"> от {presentrow.presentcol.GIVEN}</div>
</div>
</td>
<!-- END presentcol -->
<!-- BEGIN not -->
<td class="row1" align="center" width="25%"> </td>
<!-- END not -->
</tr>
<!-- END presentrow -->
<!-- BEGIN not_present -->
<tr>
<td colspan="3" class="row1 tCenter pad_8">{L_NO}</td>
</tr>
<!-- END not_present -->
</table><!--/presents-->
</div>
</div>
</li>
</ul>

ЗЫ: Эту адаптацию мода я не смотрел (у меня стоит купленная у _ХЗ_ версия, адаптировал сам), так что код вывода подарков может отличаться. Но смысл в том, чтобы воткнуть код между этим:
<ul id="ProfilePanes">
<li id="tabs_presents" class="profileContent" style="display: list-item">

<div class="section">
<h3 class="textHeading"><a href="presents.php?u={PROFILE_USER_ID}" class="gen">{L_PRESENTS_TO}</a></h3>
<div class="secondaryContent">


и этим:
</div>
</div>
</li>
</ul>

Результат:
подарок.png
 

sidar

Пользователь
Найти:
<li><a href="#tabs_activity">{L_BT_REPLIES}</a></li>

Ниже вставить:
<li><a href="#tabs_presents">{L_PRESENTS_USER}</a></li>

Найти:
<dl><dt>{L_ATOM_SUBSCRIBE}:</dt><dd><a title="{L_ATOM_SUBSCRIBE}" href="#" onclick="return post2url('feed.php', {mode: 'get_feed_url', type: 'u', id: {PROFILE_USER_ID}})">{FEED_IMG}</a></dd></dl>
</div>
</div>
</div>

</li>
</ul>

Ниже вставить:

<ul id="ProfilePanes">
<li id="tabs_presents" class="profileContent" style="display: list-item">

<div class="section">
<h3 class="textHeading"><a href="presents.php?u={PROFILE_USER_ID}" class="gen">{L_PRESENTS_TO}</a></h3>
<div class="secondaryContent">
<table class="user_profile bordered w100" cellpadding="0">
<style type="text/css">
#present {
height:150px; position: relative;
background:url('styles/images/presents/gift_bg.png') repeat-x bottom;
border: 1px solid #ccc;
}
#present .lblock {
background:url('styles/images/presents/left.png') no-repeat top right;
width:85px; height:32px;
line-height:35px; position:absolute;
top:135px; left:-7px;
}
#present .rblock {
color:#FFF; background:url('styles/images/presents/right.png') no-repeat top left;
font-weight: bold; width:72px; height:32px;
line-height:35px; position:absolute;
top:135px; right:-6px;
}
#present b { color: #FFF;}
#present b:hover { color: #FF8000;}
#present b:active { color: #FF8000 !important; position: relative; top: 1px; }
#present a:hover, #present a:active {
text-decoration: none !important;
}
</style>
<!-- IF PAGINATION -->
<p class="small" style="padding: 1px 6px 5px;"><b>{PAGINATION}</b></p>
<!-- ENDIF -->
<table class="tCenter borderless" width="100%">
<!-- BEGIN presentrow -->
<tr>
<!-- BEGIN presentcol -->
<td class="row1 pad_10" width="25%">
<div id="present" class="pad_10">
<div style="color: #c80; font-size:14px;">{presentrow.presentcol.NAME}</div>
<img src="styles/images/presents/{presentrow.presentcol.PIC}">
<div class="lblock tLeft nowrap"> от {presentrow.presentcol.GIVEN}</div>
</div>
</td>
<!-- END presentcol -->
<!-- BEGIN not -->
<td class="row1" align="center" width="25%"> </td>
<!-- END not -->
</tr>
<!-- END presentrow -->
<!-- BEGIN not_present -->
<tr>
<td colspan="3" class="row1 tCenter pad_8">{L_NO}</td>
</tr>
<!-- END not_present -->
</table><!--/presents-->
</div>
</div>
</li>
</ul>

ЗЫ: Эту адаптацию мода я не смотрел (у меня стоит купленная у _ХЗ_ версия, адаптировал сам), так что код вывода подарков может отличаться. Но смысл в том, чтобы воткнуть код между этим:
<ul id="ProfilePanes">
<li id="tabs_presents" class="profileContent" style="display: list-item">

<div class="section">
<h3 class="textHeading"><a href="presents.php?u={PROFILE_USER_ID}" class="gen">{L_PRESENTS_TO}</a></h3>
<div class="secondaryContent">


и этим:
</div>
</div>
</li>
</ul>

Результат:
Посмотреть вложение 3511
А КАКОЙ КОД ВСТАВИТЬ МЕЖДУ НИМИ ЗАРАНИЕ СПАСИБО ????????
 

Lynx

Пользователь
sidar , под спойлером смотри.
наверное тот, который предлагается вставить после </table><!--/user_profile-->
 
Последнее редактирование:
Сверху