8 Responses to Modify text in Confirmation Page after affiliate signs up

  1. Ruth August 15, 2014 at 1:07 pm #

    Hi

    Thanks for the responses. I will implement that filter so long and test.

    The login link: No, it doesn’t redirect, and generates the wrong URL. Which file is the code in? I’ll change it.

    Ruth.

    PS. I had bought the plugin a few days ago to put on my site at http://www.naturalblacksalve.com, but then changed my mind, set up a new site at http://www.zenithherbal.biz, and this is where the plugin resides now.

    Only on the one site though. Not on both.

    Hope that’s ok, please confirm.

    Also try signing up on http://www.zenithherbal.biz/affiliate-area/ and see how the link points to the wrong location.

    • Ruth August 15, 2014 at 1:20 pm #

      OK, updated it. Login link now hand-fixed but awful. I hope you update this soon.

      Line 267 in class-affiliates-registration.php

      from: get_home_url( get_current_blog_id(), ‘wp-login.php?checkemail=confirm’ )

      from: get_home_url( get_current_blog_id(), ‘wordpress/wp-login.php?checkemail=confirm’ )

      • kento September 1, 2014 at 3:31 pm #

        Have you checked your .htaccess? This change should not be required.

    • kento September 1, 2014 at 3:30 pm #

      Hi Ruth,

      Sure the URL change is ok, thanks for asking 🙂

  2. kento August 11, 2014 at 9:52 am #

    Regarding your suggestion for the login link, this will point to the right URL even if you have it in a subfolder.

  3. kento August 11, 2014 at 9:50 am #

    I’ve updated the code from the previous comment, it was missing the priority and number of arguments.

  4. kento August 11, 2014 at 9:46 am #

    I’ve moved the additional suggestions from the separate topics into this one.

  5. kento August 11, 2014 at 9:39 am #

    Hi Ruth,

    Good point! We don’t have a filter in place to modify the output and I also find we’re missing at least a CSS class to be able to target the output so that its appearance can be adjusted easily. Until that is added, you could use an approach such as this one where a word (or a sentence) is targeted using jQUery. Not optimal but a solution while we add a filter and CSS classes.

    Another option would be to use a filter:

    add_filter( 'gettext', 'my_gettext_filter', 10, 3 );
    function my_gettext_filter( $translations, $text, $domain ) {
    if ( ( $domain == 'affiliates' ) && ( $text == 'Please check your email for the confirmation link.' ) ) {
    $translations = '<span style="font-weight:bold;">' . $translations . '</span>';
    }
    return $translations;
    }

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share