The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Block users
#8
So the US4 table has a column for active (0 or 1) and there is commented out code in the admin_user.php that actually does flip that bit if you set the thing between active and inactive (I'm 99{3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d} sure of this). I've debated about how to handle this.

I have tried (and I'm sure I could get it right) to get the login method in the User class to do a check for that and boot the person, but it would be nice to have something a little more sophisticated. It was one of the things I gave up on just before 4.0 officially released because I wanted to do it right. We have to deal with the user trying to login. The user already having a remember me cookie, and any other issues of keeping unwanted people away. I'm sure the "guest tracking" feature could also be used to bounce someone to an error 404 if they were from a banned ip.
  Reply


Messages In This Thread
Block users - by Alex - 02-17-2016, 08:54 PM
Block users - by astropos - 02-18-2016, 09:38 AM
Block users - by brian - 02-19-2016, 04:22 PM
Block users - by astropos - 02-19-2016, 04:57 PM
Block users - by brian - 02-19-2016, 05:29 PM
Block users - by astropos - 02-19-2016, 06:21 PM
Block users - by astropos - 02-19-2016, 06:23 PM
Block users - by mudmin - 02-19-2016, 09:43 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)