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
#8
(12-07-2018, 06:47 PM)Moomintroll Wrote: Hi Mudmin,
As an extension of making accounts public or private, I need to create a button that toggles a field in the user's account between 1 and 2.
So, for example, a red button on the account page that says 'Account Set to Private', but when clicked updates the field to the public setting (say '2') and displays a green button that says 'Account set to Public'...and vice versa
How would I go about that?

Would the user be setting their own account public/private or would you be doing it for them? The logic is different based on which one.  I'm guessing this is on account.php, right?
  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: 3 Guest(s)