New features for the Affiliates plugins

The Affiliates plugins have been updated with a few interesting features. Besides making sure that all works smoothly with the currently latest WordPress 3.8, there are a few important and useful additions. The latest versions 2.5.0 of the Affiliates, Affiliates Pro and Affiliates Enterprise plugins now feature:

  • Commission totals are shown for each affiliate in the Affiliates > Manage Affiliates section.
  • A new dashboard widget has been added, that shows the total accumulated amounts for all affiliates by referral status. The widget includes the complete referral history by default and is also capable of displaying the summarized totals for a specific number of days back to present.
  • A new shortcode [affiliates_earnings] has been added that lists the monthly earnings for affiliates. This is a useful addition that allows affiliates to see how their performance has evolved. In newly generated affiliate areas (under Affiliates > Options), this shortcode is now included automatically. Existing affiliate areas can be updated by including the shortcode manually.

, , , , , ,

21 Responses to New features for the Affiliates plugins

  1. Jose Luis May 25, 2015 at 6:06 pm #

    Hi Antonio

    I´m tryng to modify the code to show also the username (nicename), but i´m sure i´m doing something wrong. Here in pastebin you can see what i did http://pastebin.com/8xGPFCFz.

    I have added the lines 14 add_shortcode ( ‘aff_referrer_info’, ‘aff_referrer_info’ );
    Line 24 $nicename = isset( $attr[‘show_nicename’] ) ? true : false;
    Lines 39, 40, 41 if ( $nicename ) {
    $output .= $affiliate[‘nicename’] . $sep;
    }

    Could you tell me what i´m doing wrong??

    Best Regards

  2. Jose Luis May 19, 2015 at 7:24 pm #

    Hi Antonio
    Thanks for your job but still not working properly after to do the change.

    This is the php code that I´ve got into my cpanel. I took it from your forum

    (moderated: please do not post large chunks of code – moved to http://pastebin.com/f2Dx3fdV )

    • antonio May 22, 2015 at 4:36 pm #

      Hi Jose Luis,
      I was using an incorrect test. Please use this filter to get the correct info.
      Thanks,
      Antonio B.

      • Jose Luis May 25, 2015 at 9:24 am #

        THANK YOU VERY MUCH ANTONIO!!!
        It´s seems to work!!

        I have a couple of cuestios more about Affiliates-Referrer-Info.

        Q 1.- Can i show also the username?

        Q 2.- Can i show the diferents affiliates usernames one by one randomly each time someone reaches that particular page?

        Thanks a lot

        • antonio May 25, 2015 at 10:33 am #

          Perfect,
          you can use the Affiliates API to customize the code and shows more information.
          Regards,
          Antonio B.

          • Jose Luis May 25, 2015 at 12:15 pm #

            Do i need to buy de plugin Affiliates Pro or Affiliates by username to can do it???

            If not, could you tell me where in Affiliates API I can find the documentation info to can doit??? I don´t see there the aff_referrer_info information.

            Thanks

            • kento May 25, 2015 at 5:05 pm #

              Hi,

              #1 You can use the function affiliates_get_affiliate_user() to obtain the user ID of the affiliate and from there use any information you want to display from the user account.

              #2 No, you’d have to write a function for that.

              Cheers

              • Jose Luis May 25, 2015 at 6:18 pm #

                Hi Kento

                I didn´t see your comment before to replay to Antonio. After to see your comment i made some changes that i want to show you because i can´t do it work. check please http://pastebin.com/5iXmT4x6

                Line 14 add_shortcode ( ‘aff_referrer_info’, ‘aff_referrer_info’ );
                Line 24 $affiliate_id = isset( $attr[‘show_user_id ‘] ) ? true : false;
                Lines 39, 40, 41 if ( $affiliate_id ) {
                $output .= $affiliate[‘user_id’] . $sep;
                }

                I´ll apreciete your help with it.

                Thanks a lot

                • kento May 25, 2015 at 6:35 pm #

                  Hi Jose,

                  See line 52 http://pastebin.com/QJ7gYPvB where you have the user object you can use. I haven’t tested it, but I’ve corrected your attribute check and assigned it to the $show_user_id variable which is used there. Once you have the user object, it’s pretty simple to add the info to your output.

                  Cheers

                  • Jose Luis May 26, 2015 at 9:46 am #

                    Hi Kento

                    I´m a little confused with your comment and i don´t know what to do exactily because I´m having some errors with that code you corrected. I had paste it into my pcpanel and some errors comes.

                    I have try to fix the problem on my self but only appears the name and email. The thing is that now there is an space betwin the name and the email, but still not sowing the username on that place.

                    Here is the php code that i have in the cpanel http://pastebin.com/mLMKQ6kG and ussing the shortcode [aff_referrer_info show_name=”true” show_user_id=”true” show_email=”true”/]

                    Remember that i´m ussing the free Affiliates version plugin.

                    I apreciete your help because this maby is a very simpple thing, but very important for what I need.

                    Best regards

                    • antonio May 26, 2015 at 2:26 pm #

                      Hi Jose Luis,
                      after line 50 you need to append to the output the user’s information ( to the $output variable ).
                      We are happy to help you but this is beyond support as it involves customization. I would recommend to check the WooWorkers directory or post an offer on jobs.wordpress.org, also there are quite a few freelancer sites around where you can post offers for small customizations.
                      Thanks

  3. Byron Zaner June 8, 2014 at 2:59 pm #

    I just read another post that says something about emails being sent as part of Affiliates. does that apply to my previous question?

    • antonio June 9, 2014 at 8:00 am #

      Yes, Affiliates Pro includes notifications (Affiliates Pro includes Affiliates Pro Woocommerce Integration plus other integrations).
      cheers

      • Jose Luis May 18, 2015 at 6:53 pm #

        Hi Antonio

        Did you find de problem with the plugin aff_referrer_info ?

        Thanks

        • antonio May 19, 2015 at 6:03 pm #

          Hi Jose Luis,
          I think I have found the problem (the shortcodes are loaded too early). You need to add the shortcodes in the ‘init’ hook.
          Set
          add_action ( 'init', 'add_aff_referrer_info_shortcodes' );
          function add_aff_referrer_info_shortcodes($data) {
          add_shortcode ( 'aff-referrer-info', 'aff_referrer_info' );
          add_shortcode ( 'aff_referrer_info', 'aff_referrer_info' );
          }

          instead of
          add_shortcode ( 'aff-referrer-info', 'aff_referrer_info' );
          add_shortcode ( 'aff_referrer_info', 'aff_referrer_info' );

          Regards,
          Antonio B.

  4. Byron Zaner June 8, 2014 at 2:55 pm #

    I use WOO and would like to set each customer up as an affiliate as they purchase our product to give them an incentive to refer others. Is there an easy way to do that with Affiliates?

    I would like my web admin to setup an email to them telling them this when it happens. I know this is not part of the Affiliates plugin. Do you know of any shortcodes or plugins to do this?

  5. Corrinda March 27, 2014 at 10:57 pm #

    I have both events I sell with Event Espresso and Digital Products I sell wtih Easy Digital Downloads.

    Can the plugin be integrated with both?

  6. Josephine Phillipousis March 3, 2014 at 7:28 pm #

    Hello, we are considering purchase of AFFILIATES ENTERPRISE. It seems awesome and incredible for sure… I have two quick questions though…

    1. Will the affiliate have to use the backend of WordPress (meaning if each of the affiliates will have a unique dashboard on the front-end itself) for checking on their commissions, etc…

    2. Can we make modifications to the plugin or is it encrypted? If it is partially encrypted, then could you please tell me what features can be modified and customized and which ones can’t be altered/customized?

    Sincerely,
    Josephine

    • kento March 4, 2014 at 8:56 am #

      Hi Josephine,

      I would suggest to try the free version first, that will give a general idea whether the system is suitable for your needs. The affiliates do not need to have access to the back end, there’s an affiliate area that can be generated and customized where they can view their stats – see the Documentation for details please. The Pro and Enterprise parts of the plugin are compacted but not encrypted, modifying any of the parts is not recommended as the API should provide you with everything you need for customization.

      Cheers

Leave a Reply

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