Foruma ve konuya girince "Bu forumu görüntüleyen kullanıcılar" ve " Bu konuyu görüntüleyen kullanıcılar" yerine "Toplam X kullanıcı çevrimiçi: :0 Kayıtlı, 0 Gizli ve 1 Misafir" yazıyodu.
Bende daha sonra düzenlediğim dosyalara baktım ve hiçbir hata bulamadım en sonunda bu modun ShowBotsInOnlineList moduyla çakıştığını anladım, çünkü ShowBotsInOnlineList modunda page_header.php de aşağıdaki düzenleme gerekiyor
Kod: Tümünü seç
#
#-----[ BUL ]------------------------------------------
#
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
#
#-----[ BUNUNLA DEGISTIR ]------------------------------------------
#
$l_t_user_s = $lang['Online_usersbots_total'];
/*
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
*/
Kod: Tümünü seç
#
#-----[ FIND ]------------------------------------------------
#
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
#
#-----[ REPLACE WITH ]----------------------------------------
#
// Start replacement - Topic in Who is online MOD
if ( $total_online_users == 0 )
{
$l_t_user_s = ( ( isset($topic_id) ) ? $lang['Browsing_topic'] : ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Online_users_zero_total'] ) );
}
else
{
$l_t_user_s = ( ( isset($topic_id) ) ? $lang['Browsing_topic'] : ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Online_users_total'] ) );
}
// End replacement - Topic in Who is online MOD
Kod: Tümünü seç
$l_t_user_s = $lang['Online_usersbots_total'];
/*
// Start replacement - Topic in Who is online MOD
if ( $total_online_users == 0 )
{
$l_t_user_s = ( ( isset($topic_id) ) ? $lang['Browsing_topic'] : ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Online_users_zero_total'] ) );
}
else
{
$l_t_user_s = ( ( isset($topic_id) ) ? $lang['Browsing_topic'] : ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Online_users_total'] ) );
}
// End replacement - Topic in Who is online MOD
*/
$l_t_user_s = $lang['Online_usersbots_total'];
/*
*/
kodlarını kaldırdım ve bu sefer topic who is online modu çalıştı ancak bu kezde ana sayfada Toplam 1 "kullanıcı çevrimiçi :: 0 Kayıtlı, 0 Gizli ve 1 Misafir" yazıyo. Yani orda X Arama motoruda yazmalıydı.
Bu iki modu nasıl birbirine uyumlu hale getirebilirim?
Biraz uzun oldu ama

Şimdiden teşekkürler