[CDB] PhpBB IUM (Inactive User Manager/reminder)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
Havym
Registered User
Posts: 62
Joined: Sun Jan 29, 2017 3:50 pm
Location: Netherlands
Name: Marco

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Havym »

Yes i mean the IUM.

I see, but doing it for every user who should be deleted takes me a lot of time.
My question was is it possible to shut down sending mail in total to deleted users by IUM?
andreask
Registered User
Posts: 752
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by andreask »

Well, there is no option for it in IUM.
But you can always disable it by editing the code.
Let me check, and I will get back to you with the instructions on how to do it.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
andreask
Registered User
Posts: 752
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by andreask »

Havym wrote: Thu Mar 22, 2018 9:29 pm Yes i mean the IUM.

I see, but doing it for every user who should be deleted takes me a lot of time.
My question was is it possible to shut down sending mail in total to deleted users by IUM?
So...
It's quite easy...
Edit andreask/ium/classes/delete_user.php
Find...

Code: Select all

		if ( $type == 'admin')
		{
			$act = ($action != null) ? $action : $posts;
			$this->email_for_delition($id, $type);
And comment out $this->email_for_delition($id, $type);.
So it should be like this...

Code: Select all

		if ( $type == 'admin')
		{
			$act = ($action != null) ? $action : $posts;
			// $this->email_for_delition($id, $type);
If you want to disable the emails when they are autodeleted as well, then you have to find...

Code: Select all

		if ( $type == 'auto')
		{
			$this->email_for_delition($id, $type);
(it's a few lines above actually)
And comment the same line as on the previous example.
// $this->email_for_delition($id, $type);

Let me know if you have any problems.
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Hartenheer »

Havym wrote: Thu Mar 22, 2018 7:13 pm Forgive my bad english...... :oops:

But when i use the system to delete a person who is inactive for a period, a email is sent to the person that he is removed by a administrator.
I don't wont this message to be sent at all.
Subject: You have been deleted from {SITENAME} by the administrator

Hello, {USER_NAME}

We're verry sorry, but your account has been deleted by the administrator!
The reason for the deletion is that you have not logged in for more than {INTERVAL_DAYS_SUM} days to "{SITENAME}".
If you like, you can sign up again.
We hope to see you again soon.

{EMAIL_SIG}
Where is this e-mail?
I do not see him in languages.
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
Ivan007
Registered User
Posts: 26
Joined: Tue Jan 09, 2007 8:28 am
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Ivan007 »

It appears that extension is sending reminders to deactivated accounts?
Could this behavior be changed and exclude deactivated accounts from mailings?

Thanks!
Havym
Registered User
Posts: 62
Joined: Sun Jan 29, 2017 3:50 pm
Location: Netherlands
Name: Marco

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Havym »

Hartenheer wrote: Sun Mar 25, 2018 6:15 am Where is this e-mail?
I do not see him in languages.
Havym wrote: Fri Mar 16, 2018 9:25 am I changed it before with the inactive messages but i couldn't find the delete message
I copied the English version to the dutch side and translated myself.
@Andreask... Thanks for the help, i will give it a try.
andreask
Registered User
Posts: 752
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by andreask »

Ivan007 wrote: Sun Mar 25, 2018 8:25 pm It appears that extension is sending reminders to deactivated accounts?
Could this behavior be changed and exclude deactivated accounts from mailings?

Thanks!
Hi Ivan007,

I see, unfortunately I do not have my laptop (service) so I cannot work on this for now. As soon as I have it back I will fix it.
Because of that I also found another missconfiguration on the info that is shown in the user list...
So I double thank you for reporting your findings!

best regards,

Andreas
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
Ivan007
Registered User
Posts: 26
Joined: Tue Jan 09, 2007 8:28 am
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Ivan007 »

andreask wrote: Mon Mar 26, 2018 1:04 pm Because of that I also found another missconfiguration on the info that is shown in the user list...
So I double thank you for reporting your findings!
No issues, it’s not an mission critical issue ;)
We can wait, for some time :)
User avatar
Naguissa
Registered User
Posts: 498
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Naguissa »

Very useful extension.

I've created a Pull Request on GitHub adding spanish and catalan translations (es, es_x_tu and ca).
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Hartenheer »

Havym wrote: Thu Mar 22, 2018 7:13 pm Forgive my bad english...... :oops:

But when i use the system to delete a person who is inactive for a period, a email is sent to the person that he is removed by a administrator.
I don't wont this message to be sent at all.
Subject: You have been deleted from {SITENAME} by the administrator

Hello, {USER_NAME}

We're verry sorry, but your account has been deleted by the administrator!
The reason for the deletion is that you have not logged in for more than {INTERVAL_DAYS_SUM} days to "{SITENAME}".
If you like, you can sign up again.
We hope to see you again soon.

{EMAIL_SIG}
@andreask Where is this e-mail listed?
I can not find him
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
User avatar
Naguissa
Registered User
Posts: 498
Joined: Thu Mar 02, 2017 6:55 am
Location: Barcelona
Name: Naguissa
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Naguissa »

Hartenheer wrote: Wed Mar 28, 2018 5:37 pm
Havym wrote: Thu Mar 22, 2018 7:13 pm Forgive my bad english...... :oops:

But when i use the system to delete a person who is inactive for a period, a email is sent to the person that he is removed by a administrator.
I don't wont this message to be sent at all.
Subject: You have been deleted from {SITENAME} by the administrator

Hello, {USER_NAME}

We're verry sorry, but your account has been deleted by the administrator!
The reason for the deletion is that you have not logged in for more than {INTERVAL_DAYS_SUM} days to "{SITENAME}".
If you like, you can sign up again.
We hope to see you again soon.

{EMAIL_SIG}
@andreask Where is this e-mail listed?
I can not find him

<PHPBB_ROOT>/ext/andreask/ium/language/en/email/admin.txt
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Hartenheer »

Strange, I only have inactive and sleeper there

Solved.

I had added a language, and so again posted an update.
Not seen that there were adjustments
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
igorbond
Registered User
Posts: 138
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by igorbond »

And can I remind the active forum topics at the time of sending?
Image
andreask
Registered User
Posts: 752
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by andreask »

I'm sorry, could you please explain?
Here is what I am working on right now...
Inactive User Manager for phpBB
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!
User avatar
Hartenheer
Registered User
Posts: 780
Joined: Fri Jan 23, 2015 12:23 pm
Location: The Netherlands
Name: Willem Hartman
Contact:

Re: [3.1][3.2][RC] PhpBB IUM (Inactive User Manager/reminder)

Post by Hartenheer »

Is it possible to delete the person after 6x reporting?

Then I can put the time of notifications longer.
Sorry English is not my native language :oops:
regards: Willem

https://bierfijnproevers.nl/bierforum
Locked

Return to “Extensions in Development”