https://www.icyphoenix.com/viewtopic.php?f=4&t=1002&p=8322#p8322
-----------------------------------
MrC
Wed 31 Jan, 2007 07:30

Re: How Ban Bots
-----------------------------------
I've had problems with the banning system after installing CT v5

I also got the message "user does not excist" while banning ip ranges, what i did to solve it:

Open adminadmin_user_ban.php

[Code]

Find

// CrackerTracker v5.x
      if ( !empty($HTTP_POST_VARS['ban_email']) )
      {
         include_once($phpbb_root_path . 'ctracker/constants.' . $phpEx);
         $temp_userdata = get_userdata(CT_FIRST_ADMIN_UID, false);
         if( !$temp_userdata )
         {
            message_die(GENERAL_MESSAGE, $lang['No_user_id_specified'] );
         }

         if ( $temp_userdata['user_email'] == $HTTP_POST_VARS['ban_email'] )
         {
            message_die(GENERAL_MESSAGE, $lang['ctracker_gmb_1stadmin']);
         }
      }

Replace with:

// CrackerTracker v5.x
//      if ( !empty($HTTP_POST_VARS['ban_email']) )
//      {
//         include_once($phpbb_root_path . 'ctracker/constants.' . $phpEx);
//         $temp_userdata = get_userdata(CT_FIRST_ADMIN_UID, false);
//         if( !$temp_userdata )
//         {
//            message_die(GENERAL_MESSAGE, $lang['No_user_id_specified'] );
//         }
//
//         if ( $temp_userdata['user_email'] == $HTTP_POST_VARS['ban_email'] )
//         {
//            message_die(GENERAL_MESSAGE, $lang['ctracker_gmb_1stadmin']);
//         }
//      }

[/code]

Now be aware this disables some functionallity is CT, however till now i've not had any problems by disableling this part.


