Bug #388

Imported Bans Not Being Blocked

Added by Derek Denholm 97 days ago. Updated 96 days ago.

Status:Resolved Start:09/30/2008
Priority:Urgent Due date:
Assigned to:Jannik Hartung % Done:

100%

Category:Web Panel
Target version:1.3.1

Description

There is already a thread in sourcebans forums about imported bans not being blocked by sourcebans and not showing up as blocked.

Associated revisions

Revision 167
Added by Jannik Hartung 96 days ago

  • Fixed #388 - Imported Bans Not Being Blocked!!!
  • Fixed servergroupname just accept numbers in admin add form for new server admin group
  • Fixed kicking from serverpage in IE
  • Fixed #385 - Refreshing server data does not resize opened panel
  • Fixed #384 - Archived ban submission count is wrong
  • Added #382 - Steamid column in ban submission table
  • Fixed submissions always showing "STEAM_0:" even if it's a IP submission
  • Fixed some loading messages not showing in admin add form
  • Fixed #386 - added the favicon and a title to the uploadfile popup
  • Updated Smarty to 2.6.20

History

Updated by Brandon Ma 96 days ago

I had posted about it on the forums, and even asked for a fix in the tracker. Peace-Maker supposedly fixed it in issue 276, but it may have been for a totally different issue. It's right here: http://projects.interwavestudios.com/issues/show/276

It's like none of the imported bans are being blocked period.

Just found another one, and it was on my imported list since 9/08.

I may have to give up SourceBans, and go back to Mani just to keep people banned permanently.

So, please fix this asap.

Let me know if you need any other information regarding this.

Updated by Jannik Hartung 96 days ago

  • Category set to Web Panel
  • Status changed from New to Resolved
  • Assigned to set to Jannik Hartung
  • Target version set to 1.3.1
  • % Done changed from 0 to 100

found the problem now.
there was a \n in the authid column! so you should run this code to fix your existing imports:

<?php include_once 'init.php'; $imports = $GLOBALS['db']->GetAll("SELECT bid, authid FROM `".DB_PREFIX."_bans` WHERE name = 'Imported Ban' AND reason = 'banned_user.cfg import';"); foreach($imports AS $import) { $GLOBALS['db']->Execute("UPDATE `".DB_PREFIX."_bans` SET authid = '".trim($import['authid'])."' WHERE bid = '".$import['bid']."';"); } ?>

save this file in the sourcebans root!

Also available in: Atom PDF