- This topic has 1 reply, 2 voices, and was last updated 10 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Some minor problems integrating with S2Member
Tagged: affiliates, s2member, s2Member integration
Hi,
I have been having some issues with integrating this plugin with S2Member on our site. I have followed the integration steps and the commission tracking is working perfectly.
However, the registration, login and 2-Tier tracking is causing me headaches. I have done some testing and can see that the auto-registration and parent referrer tracking functions are tied to the ‘user_register’ hook in WordPress. Unfortunately during a pro-form registration this hook is not fired by S2Member and therefore the functions do not get called.
Additionally, the ‘wp_login’ hook is only called during login for admin users. This means that the auto affiliate login function tied to this hook is not called for all non admin users. The ‘wp_logout’ hook is called for both admin and non admin users.
I suspect that the issue is with S2Member as from what I can see these hooks should be called. I have logged an issue on their forum but I just wanted to check quickly here to see if it was something you were aware of or have any ideas about a potential solution.
Many Thanks for all the hard work!
Best wishes,
Nigel.
Hi Nigel, Those hooks need to be fired properly if you want the WP User side of things to work correctly (just like it does with core WordPress). This is not something we will be able to address if the hook does not get fired.