email Inactive Users

Started by All Colours Sam, April 19, 2014, 02:00:47 PM

Previous topic - Next topic

landyvlad

Can this be used to send out email but set NOT to delete the inactive users?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Dave J

Quote from: landyvlad on July 01, 2023, 05:47:51 AMCan this be used to send out email but set NOT to delete the inactive users?

Yes. The settings allow for that.

filippo

#262
Hi, every day I find this error

SMF 2.1.4

All Colours Sam

Use the correct version of this mod, the one compatible with SMF 2.1, either that or there was an error while upgrading your forum from 2.0 to 2.1. When performing the upgrade, all serialized data is ported to json, including this mod's serialized data.


Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

filippo

I'm using the version suitable for the 2.1.4. And this mod was installed after the update

All Colours Sam

Then go to your DB, in the settings table find the row with variable "eiu_groups" and delete all content on its value field.

This query should do the trick, obviously take all the safety measures beforehand:
UPDATE smf_settings
SET value = ''
WHERE variable = 'eiu_groups';

Enter the mod's settings page and re-enter your desired settings, save.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

filippo

The errors seem to have disappeared, thanks

Marina3

Error:
Hook call: function "eiu_modifications" could not be called.
The callable eiu_modifications could not be called.
I use SMF 2.1.4 and php 8.2.

Kindred

I suspect that the mod does not support php 8.2
Сл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."

All Colours Sam

Quote from: Marina3 on November 04, 2023, 01:51:07 AMError:
Hook call: function "eiu_modifications" could not be called.
The callable eiu_modifications could not be called.
I use SMF 2.1.4 and php 8.2.

Thats probably related to a bad install rather than PHP support. How do you installed the mod? via packager manager or manually?
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

bynw


I've installed this mod since I was doing this task manually. I think having it automated is a wonderful idea. However I noticed that it is emailing some of the groups I did NOT select to notify. And I checked that it had emailed these members.


bynw

is @Suki still around to help with this mod?

All Colours Sam

yeah, just slow to respond.

Does the users belonging to the groups you select not to notify belongs to other groups?
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

bynw

Quote from: Suki on March 10, 2025, 10:17:31 AMyeah, just slow to respond.

Does the users belonging to the groups you select not to notify belongs to other groups?

maybe as secondary or otherwise

bynw

I took a look. The only other group they would be in is based on post count. Which all members are in those groups

All Colours Sam

Thats probably why.

The way this mod works is that it takes a user and checks if the user has any of the groups selected to be emailed/deleted, this includes additional groups and/or post based groups. Lets set a basic example:

We have user X
user X belongs to membergroup A, membergroup B and post based group 1

The mod has been configured to email users in the membergroup B

this means that user X is going to receive an email because he belongs to membergroup B.


I believe this was part of the original requirements for the mod as I haven't actually updated it in a very long time.

Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

bynw


In my instance user X was a member of group A and post based group 1

Group A is excluded but the user was still sent the email because of post based group 1.

If I exclude post group 1, then users who are only in that post based group 1, wont get the email even though they should get it.

Which defeats the purpose of it. And forces me back to doing it manually before I discovered that the mod existed.

Kindred

SMF is an inclusive system -- if a member belongs to ANY group included (for any SMF function) - that user gets the action done/permission granted. The way Suki configured it follows the standard SMF logic.

excluding group A, if you include group 1 definitely SHOULD logically include this user...
if the user is OUT of group 1 by posts -- and you exclude Group A and group 2 -- then the user won't be included...

or.... exclude ALL post count groups and only send based on assigned groups.
Сл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."

uzx1


bynw


It's a great mod. I'll have to play around with it.

Advertisement: