• 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 Ajax Login 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 1 replies (of 1 total)
  • Plugin Author Max K

    (@kaminskym)

    Hi,

    I am not sure if your questions is still actual.

    Actually, each user has his own unique user ID in the database and the login, so for example you could use this and it will not require any extra actions.

    If this doesn’t fit to you, you could use this code from the link that you’ve provided:

    https://wordpress.stackexchange.com/a/162702

    About the displaying in the User Profile – this is depends on which Profile Plugin you are using.

    Max

Viewing 1 replies (of 1 total)
  • The topic ‘Unique Number generated at Registration’ is closed to new replies.