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 Platform and WooCommerce – the login is not shared

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Wp Affiliate Platform and WooCommerce – the login is not shared

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 11 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 11, 2013 at 9:07 pm #8927
    sergeliatko
    Member

    Hi Guys,

    using the latest WP Affiliate and WooCommerce plugins,

    the setting to login users to affiliate account when user logs in is checked. It works fine when I use wp-login.php form , but on the front end form generated by WooCommerce the login is not shared,

    so the client is logging in to the site and their client account, but when going to the affiliates page, they need to login once again.

    What do I need to add to the WooCommerce login form (/process) in order to make it happen as intended?

    site : [http://woocommerce-thesis-integration.com]

    clients home : [http://woocommerce-thesis-integration.com/clients-home]

    affiliates home : [http://woocommerce-thesis-integration.com/affiliates-home] (set up as a shorcode on a static page, default setting for Affiliate Login URL )

    thank you for any help or at least a pointer,

    serge

    (btw the links on search results does not work for me)

    April 12, 2013 at 5:14 am #55083
    admin
    Keymaster

    Hi Serge, We use the following WordPress hook to listen for WordPress user login operation:

    http://codex.wordpress.org/Plugin_API/Action_Reference/wp_login

    Please confirm that woocommerce is firing the above mentioned action hook when a user is logging in via their login system.

    May 30, 2013 at 4:52 pm #55084
    sergeliatko
    Member

    Hi admin,

    thanks for your reply,

    woocommerce is using wp_signon() function which fires that wp_login hook…

    any further paths?

    May 30, 2013 at 5:01 pm #55085
    sergeliatko
    Member

    BTW just found that when you login through wp affiliate. See

    [http://woocommerce-thesis-integration.com/affiliates-home/]

    it does not log you into neither wordpress nor woocommerce …

    I thought of one feature that might be helpful for it : an option in the wp affiliate platform settings to force use of default wp-login page , thus if checked, the login link will point to login url and pass redirect_to argument of a current page.

    It will be much easier to customize default wp login page that try to keep up with all plugins possibly dealing with login process (thus if plugin fails to handle default wp login process – just dump that plugin ;) )

    May 30, 2013 at 5:15 pm #55086
    sergeliatko
    Member

    I just browsed your core code and do not really see any possible way (action_hook / filter) to inject my codes into your login process. Neither I have found the way to fire wp_signon() function into your login processing. Am I missing something? Is default wp_signon function is fired when user logs in using your login form?

    May 31, 2013 at 1:14 am #55087
    admin
    Keymaster

    I like the idea of adding an option so that the login and registration of affiliates is handled via the standard WordPress login and registration process. I will add this option and give you an update when I am done.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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