This plugin was originally written for a client, but may be useful for others. The client was using the s2Member framework to manage paid users, and WP Affiliate Manager to allow members to make affiliate income. They wanted members to get an affiliate account automatically when they registered.
When a user registers on a site using the s2Member framework, this plugin automatically creates an affiliate account for the user.
Errors and successes are logged in the WP Affiliate Manager log files if debugging is enabled in WP Affiliate Manager.
- Upload the plugin zip file using WordPress’ plugin installer, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to the Settings->Auto s2Member Affiliate screen. Copy the URL given there and add it to s2Member settings, API/Notifications -> Registration Notifications or API/Notifications -> Signup Notifications.