Tekil Mesaj gösterimi
Alt 08-20-2006, 05:06 PM   #1 (permalink)
Göz Kendine, Kulak Başkalarına İnanır
 
DoLuNaY ŞoVaLyEsİ - ait Kullanıcı Resmi (Avatar)
Ezberim Üyelik BiLgilerim
Üyelik tarihi: Aug 2006
Nerden: Bizi Satanı Bizim Bedavaya Verdimiz Bir Yerden
Yaş: 5
Üye No: 1
Mesajlar: 13.870
Ezberim Tşk İstatistikleri Tesekkür: 1234
2358 Mesajına
5144 Kere Teşekkür Edildi
Ezberim Rep PuanLaması
Tecrübe Puanı: 1000
Rep Puanı: 65307
Rep Derecesi:
DoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond reputeDoLuNaY ŞoVaLyEsİ has a reputation beyond repute
Icon28 Forumda Geçirlen Süre





includes/functions_showthread.php dosyasını açın ve kodu bulun

PHP- Kodu:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> 
bununla değiştirin

PHP- Kodu:
// ###################### Start explain_time #######################
function explain_time($time$ignoredefault false)
{
global 
$vbphrase;
if (
$time <= 1)
{
return 
$ignoredefault "" $vbphrase['less_than_1_second']; 
}
else if (
$time 60// 60 is not still a minute
{
return 
$time." ".$vbphrase['seconds'];
}
else if (
$time 3600// 3600 is not still an hour
{
$newtime floor($time/60);
if (
$newtime == 1)
{
return 
$newtime." ".$vbphrase['minute']." ".explain_time($time%60,true); 
}
else
{
return 
$newtime." ".$vbphrase['minutes']." ".explain_time($time%60,true); 
}
}
else if (
$time 86400// 86400 is not still a day
{
$newtime floor($time/3600);
if (
$newtime == 1)
{
return 
$newtime." ".$vbphrase['hour']." ".explain_time($time%3600,true); 
}
else
{
return 
$newtime." ".$vbphrase['hours']." ".explain_time($time%3600,true); 
}

else if (
$time 604800// 604800 is not still a week
{
$newtime floor($time/86400);
if (
$newtime == 1)
{
return 
$newtime." ".$vbphrase['day']." ".explain_time($time%86400,true); 
}
else
{
return 
$newtime." ".$vbphrase['days']." ".explain_time($time%86400,true); 
}

else if (
$time 2592000// 2592000 is not still a month
{
$newtime floor($time/604800);
if (
$newtime == 1)
{
return 
$newtime." ".$vbphrase['week']." ".explain_time($time%604800,true); 
}
else
{
return 
$newtime." ".$vbphrase['weeks']." ".explain_time($time%604800,true); 
}

else if (
$time 31536000// 31536000 is not still a year 
{
$newtime floor($time/2592000);
if (
$newtime == 1)
{
return 
$newtime." ".$vbphrase['month']." ".explain_time($time%2592000,true); 
}
else
{
return 
$newtime." ".$vbphrase['months']." ".explain_time($time%2592000,true); 
}
}
else 
{
$newtime floor($time/31536000);
if (
$newtime == 1)
{
return 
$newtime." ".$vbphrase['year']." ".explain_time($time%31536000,true); 
}
else
{
return 
$newtime." ".$vbphrase['years']." ".explain_time($time%31536000,true); 
}
}
return 
"Unknown"// this shouldn't happen 
}
// ###################### Start getreputationimage ####################### 
bunu bulun

PHP- Kodu:
// format posts number
$post['posts'] = vb_number_format($post['posts']); 
bununla değiştirin

PHP- Kodu:
// Hack: get the timespent and avgtimespent
$post['avgtimespent'] = explain_time(floor($post['timespent']/((TIMENOW-$post['joindate'])/86400)));
$post['timespent'] = explain_time($post['timespent']);
// format posts number
$post['posts'] = vb_number_format($post['posts']); 
member.php dosyasını açın ve bu kodu bulun

PHP- Kodu:
eval('print_output("' fetch_template($templatename) . '");'); 
bununla değiştrin

PHP- Kodu:
// get the timespent and avgtimespent
$post['avgtimespent'] = explain_time(floor($post['timespent']/((TIMENOW-$post['joindate'])/86400)));
$post['timespent'] = explain_time($post['timespent']);
eval(
'print_output("' fetch_template($templatename) . '");'); 
includes/sessions.php dosyasını açın bu kodu bulun

PHP- Kodu:
$DB_site->shutdown_query("
UPDATE " 
TABLE_PREFIX "user
SET lastactivity = " 
TIMENOW "
WHERE userid = $bbuserinfo[userid]
"
'lastvisit'); 
bununla değiştrin

PHP- Kodu:
$timespent TIMENOW $session['lastactivity']; 
$DB_site->shutdown_query("
UPDATE " 
TABLE_PREFIX "user
SET lastactivity = " 
TIMENOW ",
timespent=timespent+$timespent
WHERE userid = $bbuserinfo[userid]
"
'lastvisit'); 
"postbit" veya "postbit_legacy" templateini açın bu kodu bulun

PHP- Kodu:
$vbphrase[posts]: $post[posts 


bununla değiştirin

PHP- Kodu:
$vbphrase[posts]: $post[posts]
<
br/>Time spent in forums$post[timespent]
<
br/>Average time$post[avgtimespent

aşağıdaki kelime gruplarını ekleyin (cümle yöneticisinden)
Kod:
---------------------------------------------------
Type: Global
Name: seconds
Text: Saniye
---------------------------------------------------
Type: Global
Name: minute
Text: Dakika
---------------------------------------------------
Type: Global
Name: minutes
Text: Dakika
---------------------------------------------------
Type: Global
Name: hour
Text: Saat
---------------------------------------------------
Type: Global
Name: hours
Text: Saat
---------------------------------------------------
Type: Global
Name: less_than_1_second
Text: < 1sn. 
phpmyadminden sql döngüsünü gerçekleştirin

Kod:
alter table user add timespent int not null;




___________________________________________________________________________
Sitemizde İllegal paylaşım yasaktır..
Üyeler onay gerektirmeden mesaj ve konu atabilmektedir.
Yöneticilerimizin gözünden kaçan illegal paylaşımları tespit ederseniz lütfen [Linkleri Görebilmek İçin Üye Olmanız Gerekmektedir.Lütfen Buraya TIKLAYARAK Üye Olunuz.]tıklayıp gerekli alanları dolurup bize bildiriniz gereken en kısa sürede yapılacaktır...
[Linkleri Görebilmek İçin Üye Olmanız Gerekmektedir.Lütfen Buraya TIKLAYARAK Üye Olunuz.]
DoLuNaY ŞoVaLyEsİ isimli Üye şuanda  online konumundadır