source/Profile.php yi aç bul
[code] // They haven't even been registered for a full day!?[/code]
öncesine yani üzerine ekle
[code]
/*** Profile Who START***/
if (allowedTo('who_view'))
{
// Look for people online, provided they don't mind if you see they are.
$request = db_query("
SELECT (UNIX_TIMESTAMP(lo.logTime) - UNIX_TIMESTAMP() + " . time() . ") AS logTime, lo.url,
IFNULL(mem.showOnline, 1) AS showOnline
FROM {$db_prefix}log_online AS lo LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = lo.ID_MEMBER)
WHERE lo.ID_MEMBER = $memID " . (!allowedTo('moderate_forum') && $memID != $context['user']['id'] ? " AND IFNULL(mem.showOnline, 1) = 1" : '') . "
LIMIT 1", __FILE__, __LINE__);
$url_data = '';
while ($row = mysql_fetch_assoc($request))
{
$actions = @unserialize($row['url']);
if ($actions === false)
continue;

$context['user_action'] = array(
'showOnline' => $row['showOnline'],
'time' => strtr(timeformat($row['logTime']), array($txt['smf10'] => '', $txt['smf10b'] => '')),
'timestamp' => forum_time(true, $row['logTime']),
'is_hidden' => $row['showOnline'] == 0,
'action' => ''
);
$url_data = $row['url'];
}
if (!empty($url_data))
{
require_once($sourcedir.'/Who.php');
$context['user_action']['action'] = determineActions($url_data);
}
}
/***Profile Who END***/
[/code]

Profile.template.php yi aç bul

[code]
', $txt['lastLoggedIn'], ':
', $context['member']['last_login'], '
';
[/code]

sonrasına yani altına ekle

[code]

/***Profile Who START***/
if (!empty($context['user_action']))
echo '

', $txt['who_action'], ':
', $context['user_action']['action'],' (', $context['user_action']['time'], ')
';
/***Profile Who END***/
[/code]

Beğeniler: 1
Favoriler: 0
İzlenmeler: 491
favori
like
share
Musty Tarih: 19.07.2010 16:57
ftp'den temanın içine gir bulursun.
metatron Tarih: 14.07.2010 18:32
o dediklerini nereden bulacağız
bost Tarih: 02.04.2010 03:42
olmuyorrr