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



UserSpice
Manually Add User - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Manually Add User (/showthread.php?tid=907)



Manually Add User - anduse - 01-09-2018

In admin_users.php:
<pre>
Code:
if($settings->auto_assign_un==1) {
          $validation->check($_POST,array(
            'username' => array(
              'display' => 'Username',
              'required' => true,
              'min' => $settings->min_un,
              'max' => $settings->max_un,
              'unique' => 'users',
            ),
            'fname' => array(
              'display' => 'First Name',
              'required' => true,
</pre>
...

If auto_assign_un==1 'username' should not be checked as it is in join.php, isn't it?
Elsewise it will throw 'Username is required'


Manually Add User - Brandin - 01-10-2018

Hmm...I think I patched this on join but I must have forgotten to patch it in admin_users. I'll look into this ASAP.