Skip to Content Skip to Menu

Importing mass users without notifications

1 year 6 days ago #335897 by huguesmarcil
Replied by huguesmarcil on topic Importing mass users without notifications
Thank you Kyle I'll try that

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

11 months 3 weeks ago #336059 by huguesmarcil
Replied by huguesmarcil on topic Importing mass users without notifications
Hey Kyle,
Imported users can't log in because their passwords have been re-generated (checked in database). How can I avoid this?
Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
11 months 3 weeks ago #336067 by krileon
Replied by krileon on topic Importing mass users without notifications
You have to import plaintext passwords. You can't import already encrypted passwords. Plaintext passwords will then encrypt for that Joomla install. If you need a 1 to 1 import you should be doing so directly through your database (e.g. phpmyadmin lets you import data from several different formats).


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.

11 months 3 weeks ago #336069 by huguesmarcil
Replied by huguesmarcil on topic Importing mass users without notifications

If you need a 1 to 1 import you should be doing so directly through your database (e.g. phpmyadmin lets you import data from several different formats).
 
I can do that but does it mean I have to import both table_comprofiler_userreports and table_users?
Also, do I risk losing data this way?
 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
11 months 3 weeks ago #336070 by krileon
Replied by krileon on topic Importing mass users without notifications
You'd have to handle the entire user creation process. So yes you'd need to import into Joomla users table as well. An alternative is import through CB > User Management then import passwords into _users in your database directly so you can bypass the encryption process. The import/export is exactly that it's not a backup feature so it will go through the normal user creation processes so you'll need to keep that in mind for future usage.


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.

11 months 3 weeks ago #336072 by huguesmarcil
Replied by huguesmarcil on topic Importing mass users without notifications
Ok. Just for reference here is how I think I can manage that:
Warning: Spoiler!


Unfortunately, this doesn't work because the ID numbers are lost when importing via CB, whatever option you choose.
How do I keep the IDs of the imported file?

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

Moderators: beatnantkrileon
Powered by Kunena Forum