Registration Confirmation

I was able to change notifications.

However, I noticed after registration that there was a confirmation message,
Thanks for signing up!
Please check your email for the confirmation link.
Log in here.

I checked the backoffice, and didn’t see a place to edit this text.
So I did a search through the code and found… it in “class-affiliates-registration” http://nimb.ws/wztXa5

So I have 2 questions.
I have the settings to auto activate, with no confirmation link sent.
but the text says, “check for confirmation link.”
1. shouldn’t the confirmation message be editable by affiliate admin in the backoffice the same way notifications are?

and also… I have a registration redirect url set on the page to “/affiliate-area”
http://nimb.ws/TAxLSg…
So is it possible to do:
2a. A auto login?
2b. or.. a way to change the login link.. so that it goes to the affiliate login rather than the customer login location?

Please help.

But if I change the code in class-affiliates-registration..
and we do an update, your updates will override it, right?

Thanks so much in advance!


Comments

5 responses to “Registration Confirmation”

  1. Ok, so if I find a plugin that does autologin with wordpress, it will work with your registration?
    I have added the captcha, that’ll probably be enough for us.
    Thanks again!

    1. Hi Craig,

      I would say possibly yes, but since I’ve never tried such a setup I can’t be 100% positive.
      For sure, I wouldn’t recommend it, but this is up to you.

      Cheers,
      George

  2. I have a similar issue:

    I installed Affiliates Pro

    I simply want the new affiliate to register, so I created the page via the Affiliates Pro plugin, and put in [affiliates_registration] , removed all other shortcodes.

    We DON’t want ” please check your email for the conformation link” and we DON’t want ‘log in here” .

    When we receive the registration, we come email the affiliate and share with them the automatically generated referral link.

    Please assist how to do the registration only, probably simply but I cannot find it yet,

    Thank you in advance,
    Douwe

    1. Hi Douwe,

      Please follow the instructions on my previous comment describing the two snippets that should be placed in functions.php file of your child theme.
      You can keep only the [affiliates_registration] shortcode, in your affiliate area page.

      Cheers,
      George

  3. Hi Craig,

    If you have a better look on these lines you will also notice two filter hooks.
    The first affiliates_thanks_sign_up_text will help you modify the message

    Thanks for signing up!

    while the second affiliates_check_confirmation_text will help you modify the message

    Please check your email for the confirmation link.

    If you are not familiar with WordPress hooks, you should have a look here because they are pretty handy. Hooks allow you to modify the normal execution of a plugin without modifying the plugin files, as a result you will keep the changes upon a plugin update.

    I will provide you two example usages for these hooks, but IMO you should have a look at the documentation as well.

    Example snippet for the first filter:

    add_filter( 'affiliates_thanks_sign_up_text', 'example_affiliates_thanks_sign_up_text' );
    function example_affiliates_thanks_sign_up_text( $thanks_message ) {
    return 'Well done!';
    }

    Example snippet for the second filter

    add_filter( 'affiliates_check_confirmation_text', 'example_affiliates_check_confirmation_text' );
    function example_affiliates_check_confirmation_text( $confirmation_text ) {
    return 'Check your email';
    }

    Both snippets should be added to the functions.php file of your child theme.

    Regarding the auto-login, we don’t support it for security reasons. Although you might find plugin(s) for WordPress, I wouldn’t recommend it.

    Regarding the redirect URL, you should add the URL, like http://example.com/affiliate-area-page.

    Kind regards,
    George

Share