Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate and prosites not referencing the user to create affiliate account
Tagged: WP Affiliate, WPMU DEV
- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by incometv.
-
AuthorPosts
-
January 20, 2015 at 6:29 pm #12091incometvMember
Im using the WP Affiliate plugin with WPMU Prosite which integrate well together. Each time a site gets created along with a new user, the corresponding affiliate account automatically gets created as well.
I’ve added WPMU’s New Blog Template plugin. What that plugin does is, each time a site gets created in prosite the new site will be based on the setup and settings of a template blog site I already created so I don’t have to configure a new site every time prosite creates a new site and user.
The problem is, although the new site and user gets created in prosites, this time based on a template, the corresponding affiliate account is not getting created based on the new user anymore.
You’ll see the user in the user list but the user is not found on the affiliate list under “Manage affiliates”.
Do you have a helper plugin for this maybe?
Let me know if you need access.
Thanks,
John
January 20, 2015 at 11:08 pm #68143adminKeymasterHow did you do the following in the past?
Each time a site gets created along with a new user, the corresponding affiliate account automatically gets created as well.
Using the “Automatically Create Affiliate Account” feature of the affiliate plugin?
Does the new template create the user using appropriate WordPress hook?
January 20, 2015 at 11:17 pm #68144incometvMemberThe “Automatically Create Affiliate Account” is turned on.
About the hook being appropriate? I don’t know. I do know that the user is being created by the new template. Can you tell me what wordpress “hook” should be used?
January 21, 2015 at 11:02 pm #68145adminKeymasterWe use the following hook:
http://codex.wordpress.org/Plugin_API/Action_Reference/user_register
Is that template creating the user using WordPress functions so the above hook gets triggered?
January 22, 2015 at 2:38 pm #68146incometvMemberFound the problem. I had the plugin enabled on my primary site and did not turn it on for network wide activation. I had turned it off from network wide at some point as I did not want my subsites (prosites) to each run their own affiliate program. But it works with the network wide activation turned on and I disabled the subsite access to it by using Menu Editor plugin so that it does not show up on the dashboard.
-
AuthorPosts
- You must be logged in to reply to this topic.