Notification Tokens for affiliates that get referred and custom tokens?

Hi There,

Love the plugin!

So I’m stuck…..

We are creating a system where we have some custom fields on our affiliate registration form.

We are using the Affiliate Notifications feature to notify our affiliates when they refer another affiliate.

I see the default tokens listed here: http://docs.itthinx.com/document/affiliates-enterprise/notifications/

…. but I need to be able to do the following:

For example.

John refers Susan as an affiliate….

I want John to get a notification email that says…

Congrats you referred a new affiliate. Here is their contact info

Name
Email
Phone

This will display’s Susan’s information so John can know who it is.

Is there a way to do this currently?

Thanks,

Joel

10 Responses to Notification Tokens for affiliates that get referred and custom tokens?

  1. Joel January 18, 2016 at 12:14 pm #

    Awesome Antonio! 🙂

    • antonio January 19, 2016 at 9:14 am #

      Hi Joel,
      now Affiliates Extra Tokens supports the affiliates registration field. In the code, we assume that ‘aff_field_name’ is the registration form field name.
      Kind Regards,
      Antonio B.

  2. antonio January 18, 2016 at 11:23 am #

    Hi Joel,
    we’re creating a solution compatible with the last Affiliates Pro/Enterprise version.
    Please give me a day.
    Kind Regards,
    Antonio B.

  3. Joel January 13, 2016 at 3:40 pm #

    Thanks….it didn’t work…. we are beginning to wonder if that plugin works…..

    Do you have any recommendations for a programmer who is familiar with your plugin we could hire to look at this?

    Thanks,

    Joel

    • antonio January 14, 2016 at 8:53 am #

      Hi Joel,
      That’s true. Checking the Affiliates code, right now it’s not possible, you should create your own solution.
      Sorry, I don’t know a freelance to make this changes, you can use this wordpress page: http://jobs.wordpress.net/
      I have suggested to the team to add this modification to the future.
      Kind Regards,
      Antonio B.

  4. Joel January 13, 2016 at 7:58 am #

    Hi Antonio,

    We are having a hard time getting this custom token to show as I described above…. do you see any issues with this code

    http://screencast.com/t/zvxKdPaLnFTU

    Is there anyone we can hire who is familiar with your plugin that you could recommend?

    Thanks.

    • antonio January 13, 2016 at 9:10 am #

      Hi Joel,
      ‘get_user_meta’ first param is the user’s id, it should be:
      $data['user_phone'] = get_user_meta( $referral->user_id, $key, $single );
      Kind Regards,
      Antonio B.

  5. Joel January 6, 2016 at 6:36 am #

    Awesome…I think we are close…. so if we have created a custom field called “phone” in the affiliate registration form what table does that get stored in.

    With that existing plugin I was able to pull in First Name, Last Name, and user_email because they exist in the $userdata but not sure how to pull in phone…

    Any ideas?

    • antonio January 7, 2016 at 10:00 am #

      Hi Joel,
      These values are saved as usermeta, so they are stored in wp_usermeta database table. You can use ‘get_user_meta’ function to get them.
      Kind Regards,
      Antonio B.

  6. antonio January 4, 2016 at 7:20 am #

    Hi Joel,
    You can use the ‘affiliates_notifications_tokens’ filter to add your custom tokens. This plugin can help you as reference to create your own.
    Kind Regards,
    Antonio B.

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