Hide IP From Moderators (Modlar IP`yi göremesin)

Eklentiler ile ilgili gelişmeler. Yeni modlar, güncellemeler.

Hide IP From Moderators (Modlar IP`yi göremesin)

İleti murtaza 28.05.2006, 22:29

This hack removes the show IP button for moderators.

Download Information
Revision: 1.0.0
File Size: 1 Kb
phpBB Version: 2.0.11 - 2.0.13
Author: Rødøye
Downloads: 1295
Added: 2005-03-10 15:10:47
Last Update: March 11, 2005



Bu mod sayesinde
Minnacik bir fix zaten

Moderatörler IP``leri göremiyo

Bu eskiden canverde vardi

Ama aradim taradim bulamadim
Yenisini ekliyom

Kod: Tümünü seç
##############################################################
## MOD Title: Hide IP adresses for moderators
## MOD Author: rødøye < espenmolven@gmail.com > (Espen Molven) n/a
## MOD Description: Hides the "show IP" button for moderators
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1~ Minutes
## Files To Edit: viewtopic.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##############################################################
## MOD History:
##
##   2005-03-08 - Version 1.0.0
##      - Initial Release :)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
if ( $is_auth['auth_mod'] )
   {

      $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>';


      $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>';
   }
#
#-----[ REPLACE WITH ]------------------------------------------
#
   if ( $is_auth['auth_mod'] )
   {
     if ( $userdata['user_level'] == ADMIN )
     {
      $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>';
}

      $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>';
   }
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM





Sevgiyle anacim
Ögretmenim canim benim , canim benim...
Seni ben pek cok , pek cok severim.
Sen bir anaaaa , sen bir baabaaaaaa
Kalani neyyydiii yaaa unuttum , bu siirin sözlerini ariyorum...
Kullanıcı avatarı
murtaza
Üye
Üye
 
İleti: 1187
Kayıt: 15.11.2005, 17:15
Konum: Yurt Dışı

Duyurular & Güncellemeler



Kimler çevrimiçi

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

cron