$sourcedir/BoardIndex.php
bul

[code]$context['num_users_online'] = count($context['users_online']) + $context['num_users_hidden'];[/code]

Sonrasına Ekleyin

[code]// Bugun uye olanlar by Nicholas-Maeglin
$today = @getdate(forum_time(false));
$aasam = mktime(0, 0, 0, $today['mon'], $today['mday'], $today['year']) - ($modSettings['time_offset'] * 3600);

$s = strpos($user_info['time_format'], '%S' === false ? '' : ':%S';
if (strpos($user_info['time_format'], '%H' === false && strpos($user_info['time_format'], '%T' === false)
$time_fmt = '%I:%M' . $s . ' %p';
else
$time_fmt = '%H:%M' . $s;

$result = db_query("
SELECT
mem.ID_MEMBER, mem.lastLogin, mem.realName, mem.memberName, mem.showOnline,
mg.onlineColor, mg.ID_GROUP, mg.groupName
FROM {$db_prefix}members AS mem
LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP)) WHERE mem.dateRegistered >= $aasam", __FILE__, __LINE__);

$context['users_reg_today'] = array();
$context['list_users_reg_today'] = array();

while ($row = mysql_fetch_assoc($result))
{
$userday = strftime('%d', forum_time(true));

$title = ' title="' . $row['realName'] . '"';

// Renk Kodları
if ( empty($row['onlineColor']))
$link = '' . $row['realName'] . '';
else
$link = '' . $row['realName'] . '';

$is_buddyy = in_array($row['ID_MEMBER'], $user_info['buddies']);
if ($is_buddyy)
{
$link = '' . $link . '';
}

$context['users_reg_today'][$row['lastLogin'] . $row['memberName']] = array(
'id' => $row['ID_MEMBER'],
'username' => $row['memberName'],
'name' => $row['realName'],
'group' => $row['ID_GROUP'],
'href' => $scripturl . '?action=profile;u=' . $row['ID_MEMBER'],
'link' => $link,
'is_buddy' => $is_buddyy,
);

$context['list_users_reg_today'][$row['lastLogin'] . $row['memberName']] = empty($row['showOnline']) ? '' . $link . '' : $link;
}
mysql_free_result($quer);

krsort($context['users_reg_today']);
krsort($context['list_users_reg_today']);

$context['num_users_reg_today'] = count($context['users_reg_today']);
[/code]


$themedir/BoardIndex.template.php

Bul

[code] ' . $txt['smf223'] . '' : '[/swf2][swf3]


';
}[/code]

Sonrasına ekle

[code]// Bugun uye olanlar by Nicholas-Maeglin

echo '

', $txt['members_registered_today_title'] , '


', $txt[158], ' ', $txt['uot_users_online_today_title'], '

';

echo '

';

echo $txt['uot_total'], ': ', $context['num_users_reg_today'], '';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if ( empty($context['users_reg_today']) && $context['user']['is_guest'])
echo '
', implode([/swf2][swf3], $context['list_users_reg_today']);

echo '

', $context['show_stats'] && $settings['show_sp1_info'] ? '
' . $txt['smf223'] . '' : '[/swf2][swf3]


';
[/code]

$themedir/languages/Modifications.turkish.php

bul

[code] // Version: 1.1; Modifications[/code]

sonrasına ekle

[code]$txt['members_registered_today_title'] = 'Bugün Üye Olanlar';
$txt['message_has_got'] = 'mesaja sahip';[/code]
[/quote]

Paket ekte.

Alıntıdır.

[url]http://rapidshare.com/files/144797699/Members_Registered_Today_tr.tar.gz.html[/url]

Beğeniler: 0
Favoriler: 0
İzlenmeler: 591
favori
like
share
falta Tarih: 03.03.2009 16:37
olmadı hata verdi...