Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

How to import user with id specified

  • petekuhn
  • petekuhn
  • OFFLINE
  • Posts: 266
  • Thanks: 38
  • Karma: 0
2 months 2 weeks ago - 2 months 2 weeks ago #341087 by petekuhn
How to import user with id specified was created by petekuhn
We inadvertently deleted a user in CB. Because of integration with in-house components, it is important to get that user back with the same user ID.
I restored a recent backup (before the user was deleted) to a test site and exported the user from CB Users.
When I imported from CB Users, it did not use the specified ID but assigned a new one instead.
I tried it with all three import options, and I got the same result.

If this is not possible to do in CB, would a dump of the comprofiler record in MySQL and a reload onto the live site work instead? (and also the Joomla users record)
Last edit: 2 months 2 weeks ago by petekuhn.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
2 months 2 weeks ago #341092 by krileon
Replied by krileon on topic How to import user with id specified
If you imported through CB > User Management you need to adjust the dropdown before import that defaults to ignoring entry ids. Setting to "Ignore import records with matching ids" should be sufficient.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum