Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Affiliate: how to have affiliates automatically logged in *without* eMember?

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate: how to have affiliates automatically logged in *without* eMember?

Tagged: automatic login, WP Affiliate

  • This topic has 11 replies, 3 voices, and was last updated 13 years, 1 month ago by Roger MacRae.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • April 25, 2012 at 7:14 am #6171
    Chris Aitken
    Member

    Today I purchased WP Affiliate and will be integrating with my WP eStore and WP PDF Stamper products. My site, however, runs on Wishlist Member.

    I have only told my affiliates about how to access affiliate information from within our site (I’m using the [wp_affiliate_view] shortcode. Is there a way to make WP Affiliate automatically login a member, assuming the affiliate ID is identical to the WordPress user ID and the user is logged into WordPress?

    Thanks, Chris

    April 26, 2012 at 12:01 am #44410
    admin
    Keymaster

    Hi Chris, At the moment there is no option for the affiliate plugin to log the user into WordPress automatically

    April 26, 2012 at 4:10 am #44411
    Chris Aitken
    Member

    Thanks for the quick reply. When I re-read my question, I realized I wasn’t totally clear! What I was trying to ask is the following:

    If I have a user already logged into WordPress using the same ID as their affiliate ID, and I’m using the [wp_affiliate_view] shortcode, is there a way to make WP Affiliate automatically login the user to WP Affiliate without having them click the Login button and enter exactly the same username/password as their WordPress ID/password?

    Thanks, Chris

    April 26, 2012 at 12:51 pm #44412
    admin
    Keymaster

    That is something I can look into.. it should be doable.

    April 29, 2012 at 7:03 am #44413
    Chris Aitken
    Member

    Thanks so much! That would be incredibly helpful … please let me know if there is any additional information I can provide.

    Cheers, Chris

    May 6, 2012 at 8:58 am #44414
    Roger MacRae
    Member

    I would love to see this as well

    May 10, 2012 at 8:07 am #44415
    admin
    Keymaster

    I have added an option for this. You can use the newly added option to automatically log in a logged in WP user into the corresponding affiliate account (if they have one). Get a new build of the plugin from here:

    https://support.tipsandtricks-hq.com/update-request

    Then do the following to enable this option:

    1) Open the “wp_aff_advanced_configs.php” file and look for the following line of code:

    define('WP_AFFILIATE_AUTO_LOGIN_WP_USERS', '0');

    2) Once you find it change it to the following:

    define('WP_AFFILIATE_AUTO_LOGIN_WP_USERS', '1');

    That should do it.

    May 15, 2012 at 8:30 pm #44416
    Roger MacRae
    Member

    awesome awesome awesome. Now is there a way to have people automatically added as affiliates when are added as a wordpress user?

    May 16, 2012 at 2:31 am #44417
    admin
    Keymaster

    No but I will look into that. (You can import your WordPress users as affiliates though)

    May 18, 2012 at 12:24 am #44418
    Roger MacRae
    Member

    yeah and while the import is a great option for the moment it is not viable for the long term. It would be great if you could just have new users automatically added.

    May 23, 2012 at 5:31 am #44419
    admin
    Keymaster

    We have completed this feature work so whenever a WordPress user is created an affiliate account will also get created for that user. You can find the settings for this feature in the following area:

    WP Affiliate Settings -> WP User Settings tab

    May 23, 2012 at 10:45 am #44420
    Roger MacRae
    Member

    That’s awesome. Thank you very much. Now just one more thing. Can we make this work both ways.

    What I mean by both ways is:

    If they register as a wordpress user they are automatically added as an affiliate if they aren’t one already.

    or

    If they register as an affiliate they are automatically registered as a wordpress user if they aren’t one already.

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ