• 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 Pie Register 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 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pie Register

    (@pieregister)

    Hi,

    Unfortunately, this is not possible with Pie Register. Please note that WordPress assigns each user a unique user id. This user id is a simple integer value.

    We can provide you the custom code to assign a custom user id to your users. Pie Register hook ‘pie_register_after_user_created’ can be used to generate a custom user id after registration.

    Please let us know if you require the code snippet. The code will generate a unique user id, which will be added to the user meta. Then, the user id can then be displayed using a short code.

    Thank you
    Pie Register Support

    Thread Starter gamicord

    (@gamicord)

    Thank You Sir, for this reply.

    Now, what I am asking for, is not a new thing. You can see sample of it here– https://prnt.sc/5CCCkfXJMRfI

    and also in Stack Overflow here– https://prnt.sc/q9iK4wLsUeLs

    1.) Can you implement this functionality as a default functionality in Pie Register Core?— and make it something that Admin can enable and disable in Settings?

    2.) You said:

    WordPress assigns each user a unique user id. This user id is a simple integer value.

    Now, I won’t mind using this “unique user id” that WordPress assigns to each user.

    The question is– How do I get this “unique user id” to appear on the User’s Profile Page?

    2b.) You said again:

    We can provide you the custom code to assign a custom user id to your users. Pie Register hook ‘pie_register_after_user_created’ can be used to generate a custom user id after registration.

    Please let us know if you require the code snippet. The code will generate a unique user id, which will be added to the user meta. Then, the user id can then be displayed using a short code.

    Yes, I will need this PHP Code Snippet.

    3.) Please, does Pie Register have a User Dashboard, when users register?

    I mean something like this– https://prnt.sc/Jr7cfzCxkpdS

    Or like this— https://prnt.sc/aJzwItgPtV2V

    Waiting earnestly for your reply.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting Unique User ID at Registration’ is closed to new replies.