phpBB de IP yi Sadece Admin Görsün

Son güncelleme: 13.04.2008 13:03
  • sadece forum yöneticilerinin forumda saklanan kullanicilara ait ip
    adreslerini görebilmelerini istiyorsaniz asagidaki degisiklikleri
    yapmaliisniz

    viewtopic.php yi açin

    Alttaki kodu bulun


    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&" . post_post_url . "="
    . $postrow[$i][post_id] . "&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>;
    }

    alttaki kod ile degistirin


    if ( $userdata[user_level] == admin && $userdata[session_logged_in] )
    {
    $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>;
    }

    if ( $is_auth[auth_mod] )
    {
    $temp_url = "posting.$phpex?mode=delete&" . post_post_url . "="
    . $postrow[$i][post_id] . "&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>;
    }
#11.08.2005 10:24 0 0 0
  • teşekkürelr
#11.08.2005 15:28 0 0 0
  • saol tesekkurler
#02.12.2005 23:32 0 0 0
  • tsk
#11.01.2006 16:31 0 0 0
  • saol
#07.02.2006 17:31 0 0 0
  • paylasım ıcın tesekkurler
#10.02.2006 06:58 0 0 0
  • bakalım
#28.05.2006 01:22 0 0 0
  • tesekkürler birader
#28.05.2006 12:18 0 0 0
  • Konu phpBB bölümü altina tasinmistir...
#19.02.2008 18:03 0 0 0
  • teşekkürler
#13.04.2008 13:03 0 0 0