Manually Activate Users (Not Just Invite)

AI-generated summary

DavidO seeks a way to manually activate invited users in Discourse, proposing a new column with an “Activate User” button that auto-sets passwords (without emailing them) to ensure volunteers receive digest notifications. He’s transitioning from a mailing list and notes many users aren’t tech-savvy. He’s open to budget proposals, acknowledging it’s for a non-profit. pfaffman suggests activating all users via Rails console with User.all.update_all(active: true), noting it’s likely a one-time need. itsbhanusharma recommends using the mailing list import tool (meta.discourse.org/t/importing-mailing-lists-mbox-listserv-google-groups-emails/79773) for smoother migration. pfaffman admits he assumed an import had already occurred, given his work in Discourse migrations. itsbhanusharma questions whether the import script sends invites, suspecting emails were bulk-invited instead. DavidO confirms he used the bulk import tool and will re-import remaining users via spreadsheet, agreeing one of these solutions should suffice.

What would you like done? I’d like a new column with a button per row (Invited User) that shows “Activate User” and it will automatically set a password for them (doesn’t need to email it to them). They’ll then receive at least the digest notifications. We’ve moved everyone from a mailing list software and not everyone is savvy enough to setup an account (I know it sounds crazy, but it’s a reality), and they’re all volunteers.

Here’s the column that I’m thinking… /u//invited/pending

When do you need it done? Not a strict timeline, but the sooner the better. Just so everyone starts getting the notifications that they need.

What is your budget, in $ USD that you can offer for this task? It’s for a non-profit, so I’ll likely be donating whatever the cost, personally. That said, I realize these things take time (cost money), so I’m open to proposals. I’m new to Discourse, so I’m not familiar with what to expect.

1 Like

Isn’t this going to be done just once at the transition? It’s likely easier to just activate everyone at the rails console. Something like

User.all.update_all(active: true)
3 Likes

I think here is a better solution for you to migrate the entire mailing list:

3 Likes

Oh! Yes, since a considerable part of my income comes from imports, I’d assumed that they’d already done the import or I’d have suggested that!

1 Like

I doubt that the import script will ever send invites?

Seems like they pulled the emails and sent a bulk invite to everyone?

2 Likes

Thanks fellas. I did use the bulk import tool, but I could get the remaining ones back into a spreadsheet to import.

You’re right, it’s just for this initial list, so one of these should work. I’ll check it out.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.