Change notification emailaddress and permanent affiliate question.

This plugin sure is great. Very easy to setup and use. I have 2 question however:

The notification emails to the affiliates are send from wordpress@mydomain.com where can I change the emailaddress?

I also purchased the permanent affiliate add-on which works great but I wondered if there is a way I can see how many customers are linked to an affiliate. Also wondered if there is a shortcode to display this on the affiliate-area page so the affiliate can see this too.


Comments

8 responses to “Change notification emailaddress and permanent affiliate question.”

  1. Hi Antonio. Thanks for the reply. I managed to solve the e-mail problem and the emails are not going to the spam folder anymore but I’m not sure what to do with the code regarding the permanent affiliate count. Do I paste that into functions.php?

    1. Yes, you can add the code in functions.php
      cheers

      1. Thank you!

      2. Although it seems to be working I am getting an error when I use the shortcode code.

        Warning: Missing argument 2 for wpdb::prepare(), called in /home/modem/domains/mydomain.nl/public_html/wp-content/themes/bazar/functions.php on line 32 and defined in /home/modem/domains/mydomain.nl/public_html/wp-includes/wp-db.php on line 1154

        It does output the correct them though. Any idea what it can be?

        1. Hi, that looks like an older version of Affiliates Pro is installed, in one of the more recent versions of WordPress, that prepare method changed and the newer versions of the plugin have been taking that into account. In other words, update 🙂

          1. Im running the latest version of everything.

            Affiliate Pro Version: 2.7.1
            Affiliates Permanent Version: 1.2.0
            Wordpress Version 4.0
            WooCommerce Version: 2.2.4

            1. WordPress is complaining about Antonio’s use of $wpdb->prepare(). Change the line that reads:

              $user_meta_query = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->usermeta WHERE meta_key='$meta_key' AND meta_value='$meta_value'" ) );

              to

              $user_meta_query = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->usermeta WHERE meta_key=%s AND meta_value=%s", $meta_key, $meta_value ) );

  2. Hi,
    1.- Affiliates plugin uses the wordpress email settings. This post can help you to change this email data.
    2.- I have create a shortcode with this functionality, I hope you find it useful 🙂
    cheers

Share