Son Ziyaret: 27.03.2007, 17:50 die yazıyor bu modu ara ara bulamadım..



bulan varsa yayınlarmı bir zamet..
Kod: Tümünü seç
##############################################################
# Title: Add Last User Visit Date to User Profiles
# Author: Thoul thoul@users.sourceforge.net http://darkmods.sourceforge.net
# Description: Display the last time the user visited in their profile.
# Version: 1.0.0
#
# Installation Level: Easy
# Installation Time: 5 Minutes
# Files To Edit: includes/usercp_viewprofile.php,
# templates/subSilver/profile_view_body.tpl,
# language/lang_english/lang_main.php
# Included Files: none
##############################################################
# Author's Notes:
# See the readme.txt file for notes, including install and upgrade instructions,
# okay? Okay.
##############################################################
# BEFORE ADDING THIS TO YOUR FORUM, YOU SHOULD BACK UP ALL RELATED FILES.
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
$posts_per_day = $profiledata['user_posts'] / $memberdays;
#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// MOD: Add Last User Visit Date to User Profiles
//
$last_visit_time = (!empty($profiledata['user_lastvisit'])) ? create_date($board_config['default_dateformat'], $profiledata['user_lastvisit'], $board_config['board_timezone']) : $lang['Never'];
//
// MOD: -END-
//
#
#-----[ FIND ]------------------------------------------
#
'L_AVATAR' => $lang['Avatar'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// MOD: Add Last User Visit Date to User Profiles
//
'L_LAST_VISITED' => $lang['Last_Visited'],
//
// MOD: -END-
//
#
#-----[ FIND ]------------------------------------------
#
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// MOD: Add Last User Visit Date to User Profiles
//
'LAST_VISIT_TIME' => $last_visit_time,
//
// MOD: -END-
//
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_LAST_VISITED}:</span></td>
<td> <b><span class="gen">{LAST_VISIT_TIME}</span></b></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// MOD: Add Last User Visit Date to User Profiles
//
$lang['Last_Visited'] = 'Last Visited';
$lang['Never'] = 'Never';
//
// MOD: -END-
//
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#End
Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 0 misafir