Registration by Admin on behalf of new user
-
Hi Alessandro.
I currently build a wordpress-based site that will be invitation-only and members-only.
Members-only as in: users will have to log in to access any content of the site. I use the “private site” feature of Justin Tadlock’s Members plugin for that. Works fine, as intended.
Invitation-only as in: I don’t want to offer a way to register as new user to the public, but rather create a new user myself once an invitation is accepted. The user should then receive a “Welcome” e-mail with intitial login credentials and a customizable text, and should have the option to change the credentials as well as the profile without having to access the backend. I’m glad I’ve found the WP User Manager plugin for that purpose, it’s really great and works as intended – almost.
The “sending a customizable welcome mail” part works great – just only when using the registration form provided through the use wpum_register shortcode, but not when I using “User / Add New” on the backend. I would happily use the registration form, but as long as I’m logged in, I’m only presented with a “You are currently logged in as <username> …”. Once I log out, the “private site” feature will – intendedly – not allow access to the registration page. A catch22.
I can imagine different solutions to tackle this thing, such as copying the code for the wpum_register shortcode into a WPUM addon, and removing the check that diverts from “logged in or not”. Or a modification to the Members plugin that exempts the Register page (with wpum_register shortcode) from the private site redirects. Or … .
I have (rusty) PHP and (VERY rusty) WordPress plugin development knowledge, but I’d prefer not having to hack up something like that. Hence my question: is there an easier solution to my problem?
Thanks in advance for your support.
Bye, Mike
- The topic ‘Registration by Admin on behalf of new user’ is closed to new replies.