How to add affiliate payout information into wordpress admin page?

Discussion in 'Customization & add-ons' started by freshk, Dec 19, 2011.

  1. freshk

    freshk New Member

    Joined:
    Feb 14, 2008
    Messages:
    12
    I want to have my affiliate information coded into my wordpress admin area.

    So, it will display the basic affiliate information, but instead of my members needing to log into the back of amamber to access it, when they log into to their blog it will be displayed right at the top.

    Anyone know code to use to do this? Give step by step directions, I am a newbie when it comes to code.

    Thanks!
  2. freshk

    freshk New Member

    Joined:
    Feb 14, 2008
    Messages:
    12
    No one can help?
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    With the amprotect login, you can use the affiliate shortcode in a post/page:
    Affiliate ID: [aff_id]
    So you would use:
    http://www.yoursite.com/amember/go.php?r=[aff_id]&i=l0
    r = the affiliate ID
    i = is the amember redirect code (what page to send them to)

    outside of a post/page, you will need to get the amember session info, and get the amember user ID- thats the amember affiliate ID.

    David
  4. freshk

    freshk New Member

    Joined:
    Feb 14, 2008
    Messages:
    12
    Ok, so how would I code something like that? I want the information to sit at the top of the admin page. I want it to say something along the lines of,"YOU have earned $____ this month. Request payout.
    Or something similar. How much would it cost to have someone create something like this? I bascially do not want my admin to ever log into amember, I want them to only see the affiliate information in their dashboard. Can it be done?
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Is much more difficult than just a link to the affiliate page. Can be done.
    This requires going to the affiliate commission database and doing some calculations for the member since this info isnt stored in the "session" info, which holds the basic stuff like login, username, etc.

    You'll have to contact tech support to have it done, or hire a coder familiar with amember.

    David

Share This Page