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
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
User Management Changes - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29)
+--- Thread: User Management Changes (/showthread.php?tid=576)

Pages: 1 2


User Management Changes - Brandin - 08-06-2017

Lets do this to address the permission issue.

Add a setting for permission_restriction int 1 default 0
This is the admin_user.php I got working fine:
http://pasted.co/688eb081

If this value is set to Disabled = 0, restrictions won't take place.
If the value is set to Enabled = 1, restrictions will occur and you will have disabled checkboxes.

I will work on the IF query to make it so if you are in the master account you can bypass this.


User Management Changes - Brandin - 08-06-2017

Lets also add a auto_assign_un int 1 default 0 setting.

This will allow you to decide if you want to auto assign as I described above, or not.

Code:
admin_users.php
http://pasted.co/7added63

If you do deploy this part - I would recommend doing the join modifications that I put in this file here:
Code:
join.php
http://pasted.co/a3f81a82

Code:
users/views/_join.php
http://pasted.co/447c8805

Let me know if you run into any problems Smile


User Management Changes - mudmin - 08-10-2017

Ok. I'll take a look. Fresh eyes this weekend.