Moderatörlere ip göstermemecene !!!

Tüm soru(n)lar ve tartışmalar; kullanım ile ilgili soru(n)lar.

Moderatörlere ip göstermemecene !!!

İleti mmumcu 24.01.2006, 12:01

merhaba arkadaşlar. phpbb 2.0.19 kullanıyorum. bildiğiniz gibi moderatörler, her mesajın gönderdiği kişinin ip sini görebiliyorlar, bu ip ile başka bi kullanıcı mesaj göndermişmi onu görebiliyorlar. moderatörlük yetkilerini kısıtlayarak nasıl moderatörlerin ip görmesini engelleyebilirim? teşekkürler
mmumcu
Üye
Üye
 
İleti: 9
Kayıt: 09.01.2006, 00:46

İleti engino 24.01.2006, 12:16

Code:
if ( $is_auth['auth_mod'] )
{
$temp_url = "modcp.$phpEx?mode=ip&" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&" . POST_TOPIC_URL . "=" . $topic_id . "&sid=" . $userdata['session_id'];
$ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
$ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';

$temp_url = "posting.$phpEx?mode=delete&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;sid=" . $userdata['session_id'];
$delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
$delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
}




And replace it with:
Code:
if ( $userdata['user_level'] == ADMIN && $userdata['session_logged_in'] )
{
$temp_url = "modcp.$phpEx?mode=ip&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;" . POST_TOPIC_URL . "=" . $topic_id . "&amp;sid=" . $userdata['session_id'];
$ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
$ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';
}

if ( $is_auth['auth_mod'] )
{
$temp_url = "posting.$phpEx?mode=delete&amp;" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&amp;sid=" . $userdata['session_id'];
$delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
$delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
}
engino
Üye
Üye
 
İleti: 122
Kayıt: 05.01.2006, 12:24

İleti mmumcu 24.01.2006, 13:02

dostum anladığım kadarıyla yukarıdaki kodu aşağıdakiyle değiştireceğim ama bu kod hangi dosyanın içinde. onu yazarsan sevinirim...
mmumcu
Üye
Üye
 
İleti: 9
Kayıt: 09.01.2006, 00:46

İleti engino 24.01.2006, 13:19

viewtopic.php ye... ozur unutmusum
engino
Üye
Üye
 
İleti: 122
Kayıt: 05.01.2006, 12:24

Cvp: Moderatörlere ip göstermemecene !!!

İleti mmumcu 24.01.2006, 13:48

sağol dostum teşekkürler...
mmumcu
Üye
Üye
 
İleti: 9
Kayıt: 09.01.2006, 00:46


Soru(n)lar & Tartışmalar



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron