• Resolved gamicord

    (@gamicord)


    My Business Logic involves Referral— where I expect people to refer other people to buy from me, then I offer 15% Commission of the deal to the person who referred client to me.

    To get this Logic to work, I need to generate a Unique Identification Number for each person who registers on my website.

    This problem has been raised in Stack Exchange in about 10 Years ago, as can be seen here:
    https://wordpress.stackexchange.com/questions/65738/create-unique-id-for-user

    1a) I need the same thing. Is this possible with ARMember Registration Form?

    1b.) If not possible, can you Please help me with PHP Code Snippets that can make it possible?

    2.) When the Unique ID of each member is generated, I will like to display it on the User’s Profile Page.

    How can I achieve this?

    Needing to hear from you soon.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author reputeinfosystems

    (@reputeinfosystems)

    Hello,

    I understand your concern about you want to create unique Identification number on every user registration but unfortunately it will not possible directly with ARMember plugin.

    You can achieve this as per you have provided reference Link and as you want to display in member profile so ARMember does provide a facility to display custom fields on member profile. 
    So accordingly, you can create custom field from ARMember -> Manage Forms -> Edit signup form page at left side “Profile Fields” tab add textbox field and save the form. If you don’t want to create that “user identification” custom field in signup form then you can remove the field after saving the form.
    You can get that field’s meta key from field’s setting option from the same editor and you need to update the usermeta of WordPress function “update_user_meta” function with this meta key and that fields data will be updated to the member. That’s it.

    Please check accordingly and let me know how it goes.

    Thanks

    Thread Starter gamicord

    (@gamicord)

    I don’t understand anything you said.

    So the simple question I will like to ask is this:

    Would anything you said, solve my problem, and help me generate Custom User Identification Number for every member that registers on my website through ARMember plugin?

    2.) The Feature I’m asking for, is not a new thing. See an example from Stack Overflow– https://prnt.sc/q9iK4wLsUeLs

    Can you Please try to implement it in ARMember plugin?

    Needing to hear from you soon.

    Regards.

    Plugin Author reputeinfosystems

    (@reputeinfosystems)

    Hello,

    I understand your concern that you want unique number for each member that generate on member register, but unfortunately it will not possible to achieve it directly.

    If you have technical knowledge then, you can achieve using WordPress action/filters hooks according to your requirements.

    Thanks

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

The topic ‘User ID from Registration’ is closed to new replies.