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
#10
Ok, so I worked under the assumption that there is a field in your users table called acctPrivate. If there isn't, either make one, or do a find/replace in the code I'm about to share to whatever the column is in your db.

The code below has 2 parts. A php section that goes above your html and a form that you can drop anywhere on the page that does the button.

https://pastebin.com/DJ67mg6S
  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)