Skip to Content Skip to Menu

Assigning passwords

  • tmoran
  • tmoran
  • OFFLINE
  • Posts: 166
  • Thanks: 12
  • Karma: 1
9 years 5 months ago #263780 by tmoran
Assigning passwords was created by tmoran
Hi,

I have a database of 500+ users who have never received a password (up until this point the database was being used purely for administration purposes).

I understand all passwords are hashed and cannot be resent, however I now want to give users access to the site.

I could send out an email advising every user to click Lost Password, but would prefer a password be sent to them.

Is there any reason why I can't export the entire database, delete all the users in Joomla/CB, and then re-import the database with generated passwords sent to each user in the email confirmation?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 5 months ago #263801 by krileon
Replied by krileon on topic Assigning passwords

Is there any reason why I can't export the entire database, delete all the users in Joomla/CB, and then re-import the database with generated passwords sent to each user in the email confirmation?

I suppose you could. I think CB Juice will send the emails, but I can't recall. I'd recommend testing this with 1 test user to see if it works as expected. Then do it in batches of 50 users if working ok (500 registrations at once would likely timeout or run out of memory).

Another option is to enable admin approval and random password generation within CB > Configuration > Registration. Then unapprove all of your users (ensure they're confirmed and enabled first). Now approve them and it should send them an email with their newly generated password informing them their sign up has been approved. This also works with confirmation so you can use either/or to attempt to generate passwords. As with the above suggestion test with a test user to ensure it's working as expected.


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.
The following user(s) said Thank You: ocaswell

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

Moderators: beatnantkrileon
Powered by Kunena Forum