• So on a network, if you check “Network Setup > Add New User”, which allows non-super admins to add new users, it works fine. The problem I am having is there is no way to resend the confirmation link if sending or receiving the email should fail. The username and email become locked for some time.

    I purpose an option resend email confirmation link, unless there is already a way to do this that I haven’t found. If so, please enlighten me…

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator bcworkz

    (@bcworkz)

    Thank you for the suggestion. According to this Trac ticket, it was decided such functionality should be done via plugin and it will not be part of WP core. I believe there are customized user profile plugins that offer such functionality, but you get a lot of other functionality that you may not want. Simply adding a resend confirmation button to the profile form and nothing else wouldn’t be too involved, but likely requires custom coding. It’d be worth doing a plugin search before developing a custom plugin. Maybe such a simple plugin does exist.

    Thread Starter Xarcell

    (@xarcell)

    That Trac Ticket isn’t fair, it’s 9 years old and includes a whole list of features, not just a simple resend confirmation email.

    Due to a person not have his email setup properly, I had to do a fresh install of WPMU 13 times(because it took him 13 times to try to setup his email properly). This was the only way to send an activation email. Luckily it was a new WPMU that could afford to do fresh installs repeatedly.

    Now imagine on an existing and stable WPMU, if the user doesn’t get the first activation email for whatever reason, then they are pretty much screwed. How can they activate their account? Username & email are locked.

    This is a serious problem in which I don’t care what the solution is, but there needs to be one included in the core. Unless there is already a solution for this that I am unaware of? Can a super-admin manually activate a user if they are unable to activate it?

    Moderator bcworkz

    (@bcworkz)

    I understand what you are faced with and do not disagree. I’m just relaying what the core developer’s stance is, that it’s plugin territory. You can submit your own Trac ticket specific to this issue if you wish. Maybe it’ll be revisited, or maybe it’ll still be plugin territory. At best, it’s not going to happen fast and resolve your immediate issue.

    In the current state, your only recourse is to manually add the user, but you run into the existing email issue blocking using the same email for essentially another user. It’s pretty hacky, but you could remove the current user’s records from the DB through phpMyAdmin. If not done properly, you could corrupt the DB. At the very least, make a full DB backup before attempting anything like this.

    When I have more time, I’ll look into if there is an easy way to resend email. There probably will not be much of a user interface, but it might get the job done. I can’t promise results, only that I’ll take a look.

    Moderator bcworkz

    (@bcworkz)

    I’ve come to the realization there are more email variables than I realized. Exactly which email notification do you want to be able to resend? I initially thought we were referring to the email sent with an activation key when a user self-registers. The email body reads something like

    To activate your user, please click the following link:
    https://example.com/wp-activate.php?key={16-char-hash-key}
    After you activate, you will receive *another email* with your login.

    This is different than when the user self registers as a new user AND requests a new site at the same time. It’s also different than the email optionally sent when an admin adds a new user. And after you spoke of reinstalling a site numerous times, which has little to do with the above mentioned emails, I’m really unclear which email needs to be resent. Please clarify.

    I think some sort of solution with a crude UI would not be too difficult if it’s limited to a specific type of email.

    Thread Starter Xarcell

    (@xarcell)

    Step By Step:
    1. In Sub-site Admin Panel, The sub-site Admin creates new user.
    2. An email automatically is sent to the registered address with an activation link.
    3. If user misses the email, for whatever reason, the user email address cannot be confirmed via activation link.
    4. Activation links cannot be resent, but username & email address is locked within the system.
    5. Another attempt to register the username with same name and/or email address will be denied.

    Moderator bcworkz

    (@bcworkz)

    Thanks for clarifying. Getting that particular email message encoded turned out to be a little odd, but I got it figured out. I made the resend process into a crude plugin. The plugin code is available at https://pastebin.com/mE6yVRFX

    Paste the code into a new file named prospective-users.php and place the file in /wp-content/plugins/. Log into the network admin account and activate the plugin.

    Because all prospective users from all network sites are listed, the admin screen is only available to the network admin (super user). It’s a submenu page under the Users menu item. The email sent is always the same as the one sent to users added by an admin, though prospective users signed up by other means are listed as well. I believe the activation key is valid for all prospective users, even if they would be sent the wrong message for their signup method. I only tested for users added by admins.

    The plugin screen’s appearance is pretty crude (but easier to code), all the relevant data is shown and the resend bit does its job. I say good enough ??

    The error checking is weak. In the case of a DB write error, it’s possible for an email to be sent with the wrong activation key. This would be quite rare for a normally working site.

    Hi BCworkz ??

    It’s me i will said you thanks you because it’s what i search, but i can’t put him, i am afraid do error, i will ask my friend developpor

    I want re sent when i change the email about one user, i want click on one button and send him email for confirme again the account. Without, he can’t connect account

    Did you do this ?

    Cordialy
    M

    I just ran into a similar situation. A newly assigned team member emailed me to ask why he never got his new member notification email. I told him I setup the account and sent it. I then realized I left a character out of his email address. I figured I resend the new member email but there isn’t any option. Would be great to have one.

    Thread Starter Xarcell

    (@xarcell)

    Exactly…

    Will this plugin work with BuddyPress, too? I′m having the problem some users that register on the site don′t activate their accounts. So I have to rensend them manually after some days and delete users that still didn′t activate after 4 trys.

    • This reply was modified 5 years, 5 months ago by dlx.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Resend Confirmation Email’ is closed to new replies.