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
Exclude users from view_all_users
#12
Haha. I don't know about that, but I'm happy to help.

One other tip I do to make the database more readable on things like that. I always do 0 and 1 instead of 1 and 2. 0 always means off or no. 1 always means on or yes. I title the db accordingly so...

if the column is private
1 would mean yes, private

if it's public
1 would mean yes, public

It doesn't seem like a big deal, but 6 months from now it saves you from having to go back in the code and figure out what's what.
  Reply


Messages In This Thread
RE: Exclude users from view_all_users - by mudmin - 12-05-2018, 09:50 PM
RE: Exclude users from view_all_users - by mudmin - 12-05-2018, 09:53 PM
RE: Exclude users from view_all_users - by mudmin - 12-07-2018, 02:57 PM
RE: Exclude users from view_all_users - by mudmin - 12-07-2018, 07:29 PM
RE: Exclude users from view_all_users - by mudmin - 12-07-2018, 07:59 PM
RE: Exclude users from view_all_users - by mudmin - 12-07-2018, 08:48 PM
RE: Exclude users from view_all_users - by mudmin - 12-08-2018, 05:11 PM
RE: Exclude users from view_all_users - by mudmin - 12-09-2018, 05:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)