Kod: Tümünü seç
##############################################################
## MOD Title: LatestUserStats
## MOD Author: Bert < iq62ut36@zonnet.nl >
## Please send me an email if you're using this MOD
## MOD Description: This mod enhances the information about the
## last registered user in your forum. It adds
## the date the user registered.
## MOD Support site: -
## MOD Version: 1.0.0
## MOD Compatibility: 2.0.17
##############################################################
## Installation Level: Easy
## Installation Time: ~5 minutes
##
## Files To Edit: 4
## languages/lang_english/lang_main.php
## includes/functions.php
## index.php
## templates/subSilver/index_body.tpl
##
## Included Files: 0
##
##############################################################
## MOD History:
##
## 2005-10-28 - Version 1.0.0
## - Original version.
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## For Security Purposes, Please Check: http://www.phpbbhacks.com for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum.
##############################################################
## Author Notes:
## Please send me an email if you're using this MOD
## including the location of your forum.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['newest_user_since'] = 'registered on';
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
case 'newestuser':
$sql = "SELECT user_id, username
#
#-----[ REPLACE WITH ]------------------------------------------
#
case 'newestuser':
$sql = "SELECT user_id, username, user_regdate
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
$newest_user = $newest_userdata['username'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$newest_user_since = $newest_userdata['user_regdate'];
#
#-----[ FIND ]------------------------------------------
#
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'NEWEST_USER_SINCE' => $lang['newest_user_since'] . ' ' . create_date($board_config['default_dateformat'], $newest_user_since, $board_config['board_timezone']),
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{NEWEST_USER}
#
#-----[ IN LINE, AFTER, ADD ]------------------------------------------
#
({NEWEST_USER_SINCE})
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM