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
Admin Register only
#21
Yes...Although I'm not sure if I will make the admin ability to change passwords public. I need to go over that with Brian. That could be a plugin or something like that that goes in the usersc folder.
  Reply
#22
As long as I would be able to get that feature, I would be satisfied.
  Reply
#23
In a pinch, you can create a new user with the password you want and then copy the password hash in the db from your new user to the one you want to update. It's a bit hackery, but it works.
  Reply
#24
This will help me a lot! Thanks for all the work and effort you guys are putting into this!
  Reply
#25
Well if I could do it directly when I click the user it would be a lot easier.
  Reply
#26
Absolutely. I think big picture we're going to put in a password reset feature, but I can make a custom, one off plugin when I get a chance to let you edit the pw directly.
  Reply
#27
That would be amazing! I wouldn't be the only admin changing passwords which is why I want this. Not all the other admins know how to use a databases and all
  Reply
#28
This is a direct replacement for the admin_user.php file. Ideally, you should put it in the usersc folder and point the path of the init.php to the proper place. That would stop our updates from breaking this.

If you're not familiar with how that works, when a userspice core is loaded, it checks to see if there is a file in the usersc folder that has the same name. If it does, it loads the one in the usersc instead. This is to encourage you to not mod the core files and have our updates not break your software. Here ya go....

http://hastebin.com/jeguzomahe.xml
  Reply
#29
Well I'm not too familiar with the coding, so il just wait for the new update to come out and see where it goes from there.
  Reply
#30
The ability for admins to change user passwords won't be rolled out in the public release, so I think you're fine replacing admin_user.php with all the code from this file...

http://hastebin.com/jeguzomahe.xml

If you would rather do the custom trick, just create a file in usersc called admin_user.php and change the line that says
Code:
<?php require_once 'init.php'; ?>
to
<pre>
Code:
<?php require_once 'http://yourdomain.com/users/init.php'; ?>
</pre>

and you will be good to go.
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)