kidzior Wysłany: Pon 30 Kwi, 2007 |
|
|
Mod Author: Gracek
http://mody.lastinn.info/...ematu-t448.html
Translate: kidzior http://www.niezal.org
Wiadomo?? ukryta / Hidden messageAby zobaczy? wiadomo?? postaw piwo autorowi piwo.Profile:
Kod#
#-----[ COPY ]------------------------------------------
#
copy memberdays_profile.php from archive to /includes/mods_info/
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
'AVATAR_IMG' => $avatar_img,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'PERIOD' => sprintf($lang['Period'], $memberdays),
#
#-----[ OPEN ]------------------------------------
#
templates/YOUR_THEME/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}: </span></td>
<td width="100%"><b><span class="gen">{JOINED}</span></b></td>
</tr>
#
#-----[ REPLACE WITH ]------------------------------------
#
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}: </span></td>
<td width="100%"><b><span class="gen">{JOINED}</span></b> ({PERIOD})</td>
</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM #
Viewtopic:
Kod#
#-----[ COPY ]------------------------------------------
#
copy memberdays_topic.php from archive to /includes/mods_info/
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$poster_posts = $postrow[$i]['user_posts'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$memberdays = ($postrow[$i]['user_id'] != ANONYMOUS) ? max(1, round(( time() - $postrow[$i]['user_regdate'])/ 86400)):'' ;
#
#-----[ FIND ]------------------------------------------
#
'POSTER_AVATAR' => $poster_avatar,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'PERIOD' => sprintf($lang['Period'], $memberdays) . '<br />',
#
#-----[ OPEN ]------------------------------------
#
templates/YOUR_THEME/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_JOINED}
#
#-----[ IN LINE, ADD ]------------------------------------
#
{postrow.PERIOD}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM # |
|