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.

Comments

21 responses to “New features for the Affiliates plugins”

  1. Jose Luis Avatar
    Jose Luis

    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 Avatar
    Jose Luis

    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 )

    1. antonio Avatar
      antonio

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

      1. Jose Luis Avatar
        Jose Luis

        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

        1. antonio Avatar
          antonio

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

          1. Jose Luis Avatar
            Jose Luis

            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

            1. 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

              1. Jose Luis Avatar
                Jose Luis

                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

                1. 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

                  1. Jose Luis Avatar
                    Jose Luis

                    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

                    1. antonio Avatar
                      antonio

                      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. I just read another post that says something about emails being sent as part of Affiliates. does that apply to my previous question?

    1. antonio Avatar
      antonio

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

      1. Jose Luis Avatar
        Jose Luis

        Hi Antonio

        Did you find de problem with the plugin aff_referrer_info ?

        Thanks

        1. antonio Avatar
          antonio

          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. 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?

    1. antonio Avatar
      antonio

      Hi,
      with Affiliates Pro Woocommerce Integration you can do it.
      cheers

  5. 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?

    1. Yes, you could use the API for that – see http://www.itthinx.com/documentation/affiliates/api please.

  6. Josephine Phillipousis Avatar
    Josephine Phillipousis

    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

    1. 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

Your email address will not be published. Required fields are marked *

Share