• Resolved otaku42

    (@otaku42)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @otaku42

    The registration form is hidden on purpose once a user is logged in.

    Regarding the registration confirmation email, at the moment WPUM only sends the email when signing up through the form. Sending the email through the admin “User/Add new” panel is one of the most requested features, I’ll move this up and push this into the next update ??

    Thread Starter otaku42

    (@otaku42)

    Hi @alessandrotesoro,

    thanks for your response and taking the feature into consideration for a future version. For the time being I have found a acceptable solution that works around my issue:

    The Members plugin provides a filter named members_is_private_page that allows other plugins to override the “private blog” setting on their discretion. I wrote a dead-simple plugin that makes use of this filter to make the registration page public (on a non-obvious path that I’ve set as slug for the page containing the [wpum_register] shortcode). It’s an ugly-ish hack, but works for me. Maybe it also helps someone else.

    Bye, Mike

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @otaku42

    Just to let you know a new update has been released which includes this feature.

    Thread Starter otaku42

    (@otaku42)

    Hi @alessandrotesoro,

    I’ve did just updat and test the new version, it works like a charm. Thumbs up, thanks a lot for implementing this feature!

    Bye, Mike

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Registration by Admin on behalf of new user’ is closed to new replies.