• Resolved soad2609

    (@soad2609)


    Greetings, I have built a site where users can register through ultimate member, however, the data they enter while registering are not saved in any database table. That’s why I can’t download those information and they are not saved. So I just want those information to be saved so that I can safely keep them plus I can download them to access while in offline.
    How can I do that in Ultimate Member? Please, help me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • justdave

    (@justdave)

    I’m pretty sure it is all saved in the database. It all goes in usermeta. If you’re trying to access the data from a plugin, try get_user_meta($userid, $keyword, true) where $keyword is the slug you assigned to the field when you put it on the form.

    Thread Starter soad2609

    (@soad2609)

    @justdave Thanks for your reply but they are not viewable. All of those data are so messy. I can’t even get proper information. Is there any way to see all the data in the proper order of all users at once? Plus, would you please recommend some plugins to access data from the database?

    justdave

    (@justdave)

    You can set up a profile form in UM that includes all the fields, and view them there. You can also set up a directory in UM that will show all the fields you want (the customization options allow you to have as much as you want on the index page, too)

    Thread Starter soad2609

    (@soad2609)

    @justdave Thank you so much. Just another thing is there any way to show the serial number of users like the first user will have the number one, second one will be number two and so on?
    And if my site crashes somehow will all the users’ data will be deleted?

    hshah

    (@hshah)

    @soad2609

    As @justdave has already mentioned, all the information is definitely saved in the database… it wouldn’t be anywhere else. You then have the option of what, where and how to display the information.

    If by “serial number” you mean the User ID then yes you easily can. Just bear in mind that it may not always appear sequential because users could be deleted in between – for example, when I was setting up my website, I had created a bunch of test users which I deleted afterwards, so whilst my ID is 2, the next actual user is 10. I also migrated users around, so the ID after that is 100 something.

    Anyways, see this:
    https://wordpress.org/support/topic/display-wordpress-user-id-on-profile/

    How you go about it all really depends on where you want to show this ID etc.

    With regards to site “crashing”… there are many things that could go wrong and the chances of each happening can vary wildly. The best thing to do is keep regular backups of both the files and database. Most hosts have such options, and you can get WordPress plugins to do the job as well 🙂

    • This reply was modified 4 years ago by hshah.
    Thread Starter soad2609

    (@soad2609)

    @hshah Thank you so much for your reply. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is there any way to save user registration data to database?’ is closed to new replies.