• Resolved ozbassplayer

    (@ozbassplayer)


    Hi Jeff.
    I’m using v 6.2.3 of Theme My Login.
    I’m also using FormidablePro plugin to collect the user reg.
    (it does this perfectly well, and stores the extra field values as user meta)

    I have set up the default new user status as ‘pending’ in both FormidablePro and the WP general settings.

    I want to use TML to fire off an ‘activate your account’ email to the new user, with a link in the email that will switch the user’s role to ‘Subscriber’.

    I have looked all over and can’t find a solution. I’m getting desperate here!!

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ozbassplayer

    (@ozbassplayer)

    BTW I have turned on all the Modules.
    In the Moderation area I have set the choice to Email Confirmation.
    In the Email area I have created messages for all situations:
    ie:

    New User Activation at MYWEBSITE
    Activation URL : %activateurl%
    User Name : %user_login%
    User Email : %user_email%
    Site URL : %siteurl%
    User IP : %user_ip%

    But somehow the activation email doesn’t fire. Even if I try and login with the new credentials and get the ‘user isn’t activated’ message, click the link, check my email and then paste the link, I get a message that the user is activated, but unfortunately the user role is still ‘Pending’

    Plugin Author Jeff Farthing

    (@jfarthing84)

    This is because you set the default role to “Pending”. TML sets a user to “Pending” automatically when Moderation is active. Then, once an account is activated, it sets that account to the default role – thus, in your case, keeping them “Pending”. Set the default role to what you want it to be after activation.

    Thread Starter ozbassplayer

    (@ozbassplayer)

    Jeff that’s almost right.
    I set the roles as you suggested and can see that could solve part of the issue.
    However the first activation email still isn’t being sent – the only way I can trigger it is by trying to enter a password, failing, getting the ‘you haven’t activated your account yet’ message, then clicking the link in that message to force the activation email to actually be sent.

    I noticed in another thread that others were having the same issue, but I have yet to see a solution. Please re-open this thread.

    the dev website is:
    http://activitybuddies.jrdesign.com.au
    feel free to sign up etc and see if you get the activation email.
    You won’t.

    Where should I plug in the line to fire off an activation email after the user has registered?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    It looks to me like your using some sort of form creation plugin, such as Gravity forms? If so, that is why. It doesn’t fire the hooks TML does to make this happen.

    Thread Starter ozbassplayer

    (@ozbassplayer)

    Yes, Jeff, I am using Formidable forms for registration.
    Is there a way I can trigger the TML hooks, and if so, what?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    The hook is tml_new_user_registered.

    Thread Starter ozbassplayer

    (@ozbassplayer)

    Sorry Jeff, I didn’t get back to this thread till now. Had to use something else.
    But now I have a new client that requires similar stuff.
    Where would I put this hook?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘User Activation email not sent, User role not switching’ is closed to new replies.