The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
#1
Is there a way to exclude certain users from the results shown on the view_all_users page?

I've looked over the site using various search terms but nothing seems to address the issue.

I need this for two reasons:

First, although GDPR requires a 'Forget Me' option, if a financial transaction is made there is a separate requirement to keep a record for 10 years (I think), so straight deletion is not an option.

Second, for similar reasons, it would be useful for active members of a society to be able to withhold their names from such a public directory (even one that is restricted to other members).

I'm reasonably sure I can create a column in the users table that could contain a 0, 1 or 2 code, but its the retrieval query in the view_all_users page that I'm stumped by.

I've found these lines:
Code:
$userQ = $db->query("SELECT * FROM users LEFT JOIN profiles ON users.id = user_id ");
// group active, inactive, on naughty step
$users = $userQ->results();
...but I'm not sure what they're doing.

Cheers in advance!
  Reply


Messages In This Thread
Exclude users from view_all_users - by Moomintroll - 12-05-2018, 07:30 PM
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: 2 Guest(s)