Integration with WP Referral – UserPro Forums https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/feed/ Sat, 04 May 2024 22:32:47 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-29504 <![CDATA[Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-29504 Tue, 25 Mar 2014 10:34:47 +0000 markessence Hello,

I’m the author of WP Referral (http://codecanyon.net/item/wordpress-referral-plugin/5393776) and I would like to have a solution in order to integrate UserPro with WP Referral. Many of our customers are requesting this integration.

Basically on user registration we need to have a hidden field referral_id with the value from ref cookie and of course that info should go in user_meta table as meta_key=’referral_id’ with meta_value=$_GET[‘ref’].

Thank you for your assistance.

Best Regards,
Shannon

]]>
https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30522 <![CDATA[Reply To: Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30522 Wed, 02 Apr 2014 09:31:20 +0000 tttwb I agree with this and think it would be amazing if these two plugins could be integrated.

]]>
https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30709 <![CDATA[Reply To: Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30709 Thu, 03 Apr 2014 10:54:16 +0000 admin Hi Shannon,

That should be so simple! There are hooks in register do_action(‘userpro_before_fields’, $hook_args); I already use it to post HIDDEN inputs, like nonce. You can use that hook to add a hidden input or any kind of inputs before fields. These fields can later be processed after new registration – there’s another hook that runs when profile is updated (e.g. when someone register, edit profile, etc)

do_action(‘userpro_profile_update’, $form, $user_id);

These 2 hooks allow you to connect any custom fields 🙂 referral id could be just one example.

]]>
https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30736 <![CDATA[Reply To: Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30736 Thu, 03 Apr 2014 12:02:18 +0000 markessence I’ll give it a try.
Another question. In this manner should I try with Facebook login also?
When someone log in with Facebook and there is a ref cookie, the user must be saved with referral id…

]]>
https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30862 <![CDATA[Reply To: Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30862 Fri, 04 Apr 2014 10:53:50 +0000 admin There’s another hook that runs whenever a new user get approved.

Here it’s

do_action(‘userpro_after_new_registration’, $user_id);

]]>
https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30953 <![CDATA[Reply To: Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-30953 Sat, 05 Apr 2014 07:26:40 +0000 markessence Thank you.
We’ve updated our plugin to work with UserPro.
http://markessence.com/blog/demo/wp-referral/

]]>
https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-47093 <![CDATA[Reply To: Integration with WP Referral]]> https://forum.userproplugin.com/forums/topic/integration-with-wp-referral/#post-47093 Tue, 08 May 2018 09:13:33 +0000 henrythien Everyone tut for work!

]]>