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
Admin Register only - 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: Admin Register only (/showthread.php?tid=180)

Pages: 1 2 3 4


Admin Register only - MagikMindFreak - 07-08-2016

Hello

I am trying to only allow admin user to create new user accounts. I tried to make join.php private and admin access only, but when I complete the registration, it doesn't work. It takes me to the account information part, but im still logged in as the administrator. Is there a way to make it so admins can add users. No public registrations.




Admin Register only - dan - 07-08-2016

We get this request a fair amount... I will take a crack at it for you.


Admin Register only - MagikMindFreak - 07-08-2016

Maybe something that looks like this, or can do the same functions.. http://prntscr.com/bqimg8


Admin Register only - dan - 07-08-2016

Ok. Sounds good. I have a few ideas


Admin Register only - MagikMindFreak - 07-08-2016

If you want some screen shots of how the "Create User" looks like, I can provide them.


Admin Register only - dan - 07-08-2016

Can you post your code on hastebin.com and I will fix it and then create a way to do it for everyone else?


Admin Register only - MagikMindFreak - 07-08-2016

My code for what?


Admin Register only - dan - 07-08-2016

I thought you tried to make that feature on your own.


Admin Register only - MagikMindFreak - 07-08-2016

No, I just got those screen shots from somewhere else. It's called UserFrosting.


Admin Register only - dan - 07-08-2016

Gotchya... Those guys are great. Gimme a bit amd I will make something that works with our framework.