• Resolved codimex

    (@codimex)


    Hi! I love your plugin in everything it does. However, I’ve found an issue that might sadly prevent me to use the user registration functionality. It seems it doesn’t use the “user_register” action hook to add users in the database, and that’s something really needed in combination with other plugins such us, for instance, myCred (rewarding points when a user registers). I’m not an expert, but it seems that the “user_register” hook is the most WordPress-friendly way to add users to the database. Is there any workaround, snippet or so to bypass your actual hook, or notifying WordPress a user has been added via “user_register”, so that myCred points can be awarded when registering? I’d really love to use this functionality, too, since Forminator is both a robust and a flexible form builder, even in the complex process of registering users (love the field mapping functionality!!!). Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hi @codimex

    Hope you are doing well today.

    I need to check with our development team but I believe you are correct we are not using the default registrar function for registration form, insated we have some filters and hook for that function.

    I’m not sure how myCred plugin works but if you can trigger its function after the forminator using a custom code the issue should be fixed, you can use this hook to run the myCred codes after a user registers with forminator.

    forminator_cform_user_registered

    I also bringing this query to our forminator developer’s attention, I will get back to you once I have further updates.

    Best Regards
    Amin

    Thread Starter codimex

    (@codimex)

    Mmm… Didn’t think of triggering the native “user_register” hook after Forminator’s own hook. This might be tricky in combination of the email activation link (since the user is in a grey area of “being both registered and not registered yet”), but I’ll try to explore that. Anyway, I’m looking forward further updates on this. Thank you!

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hi @codimex

    We got further feedback from our development team.

    Since we are using this function wp_insert_user function to insert the user, user_register should works fine, if the myCred plugin is not working maybe its relay on something else, since myCred is a third-party plugin we don’t know how it works in the background.

    I’m afraid this will be outside the scope of support we can provide because it needs custom coding. For that, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here https://jobs.wordpress.net/, if you need further advice about it, feel free to email wpsupport@incsub.com.

    Subject: ATTN: WPMU DEV support – wp.org

    Best Regards,
    Amin

    Thread Starter codimex

    (@codimex)

    Thank you for your answer. Figured out a different solution. Marking as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘User registration forms – “user_register” action hook’ is closed to new replies.