Updating Announcement settings for all users by bulk?

Started by jdawg20, January 28, 2024, 10:59:17 PM

Previous topic - Next topic

jdawg20


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

jdawg20


Doug Heffernan

Quote from: jdawg20 on January 28, 2024, 10:59:17 PMIs there a script or something i can run?


Quote from: jdawg20 on January 29, 2024, 11:07:32 AM

Wanna set that to on for everyone

There is no script to do that, at least that I know of. However, you can do that by running a sql query. I don't have access to my installation right now to be able to look into this, but the table that you need is smf_user_alerts_prefs should you want to check it out for yourself.

Arantor

Holder of controversial views, all of which my own.


Kindred

#5
That would be illegal in the EU and potentially a violation of the US and Canada spam laws.

You can not send emails unless the user has actively confirmed that they are willing to receive them.  In SMF, that is handled by requiring the user themselves to turn that on
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sesquipedalian

As Kindred rightly says, what you are trying to do is illegal in the EU, the US, Canada, and probably many other countries as well.

Moreover, sending email announcements to users who did not ask for them will get your email messages flagged as spam. You will soon find that your email messages stop being delivered to recipients' inboxes at all.

Don't do it. It's illegal and it will only hurt you in the long run anyway.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Steve

As the OP hasn't been here in almost 2 months, I'm assuming this is solved and marking it so.
My pet rock is not feeling well. I think it's stoned.

Advertisement: