3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Delete Inactive Users
-
eunaumtenhoid
- Users

- Posts: 67
- Joined: 14 Oct 2016, 05:10
Re: Delete Inactive Users
Yeah lol ty for ext
Brazilian Portuguese translation by eunaumtenhoid [2019][ver 1.0.1]
https://github.com/phpBBTraducoes/deleteinactiveusers
Brazilian Portuguese translation by eunaumtenhoid [2019][ver 1.0.1]
https://github.com/phpBBTraducoes/deleteinactiveusers
Last edited by eunaumtenhoid on 09 Aug 2019, 17:07, edited 2 times in total.
-
dmzx Online
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Delete Inactive Users
niceeunaumtenhoid wrote: 09 Aug 2019, 17:01 yeah lol ty for ext
Brazilian Portuguese translation by eunaumtenhoid [2019][ver 1.0.1]
https://github.com/phpBBTraducoes/deleteinactiveusers
-
eunaumtenhoid
- Users

- Posts: 67
- Joined: 14 Oct 2016, 05:10
Re: Delete Inactive Users
DOUBT
deleting the user will delete his posts too?
could have an option to avoid that
deleting the user will delete his posts too?
could have an option to avoid that
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Delete Inactive Users
there is an option when deleting user thro the ACPeunaumtenhoid wrote: 09 Aug 2019, 17:20 DOUBT
deleting the user will delete his posts too?
could have an option to avoid that

Feed like a disease
And bring them to their knees
They'll pay for their deceit
And bring them to their knees
They'll pay for their deceit
-
eunaumtenhoid
- Users

- Posts: 67
- Joined: 14 Oct 2016, 05:10
Re: Delete Inactive Users
Dude what does this have to do with the extension ??
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Delete Inactive Users
you said
here is the option to avoid iteunaumtenhoid wrote: 09 Aug 2019, 17:20 DOUBT
deleting the user will delete his posts too?
could have an option to avoid that
-
eunaumtenhoid
- Users

- Posts: 67
- Joined: 14 Oct 2016, 05:10
Re: Delete Inactive Users
Man i'm talking about an option in this extension and not in the default phpbb sisteam 
-
ivailo95
- Users

- Posts: 918
- Joined: 02 Feb 2018, 12:04
Re: Delete Inactive Users
well..as you can see there is no option about it..eunaumtenhoid wrote: 10 Aug 2019, 00:38 man i'm talking about an option in this extension and not in the default phpbb sisteam![]()
-
martin Online
- Admin

- Posts: 5105
- Joined: 06 Apr 2014, 16:12
Re: Delete Inactive Users
Not tested but if a user with a post count is deleted his posts should stay in place also his name but with no link to the profile.

-
dmzx Online
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Delete Inactive Users
First post updated
-
stone23
- Users

- Posts: 46
- Joined: 07 Nov 2018, 17:44
Re: Delete Inactive Users
Hello,
There is a problem with the language in the notification email: the message is translated but the date remains in English.
In my opinion, the line 144 in the file deleteinactiveusers/cron/deleteinactiveusers_prune.php could be the source of the problem :
Can you watch so that the date appears in the user's language?
Thanks
There is a problem with the language in the notification email: the message is translated but the date remains in English.
In my opinion, the line 144 in the file deleteinactiveusers/cron/deleteinactiveusers_prune.php could be the source of the problem :
Code: Select all
'REGISTER_DATE' => date('g:ia \o\n l jS F Y', $value['regdate'])Thanks
-
dmzx Online
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Delete Inactive Users
Yes you are correct with the date.stone23 wrote: 10 Oct 2019, 13:03 Hello,
There is a problem with the language in the notification email: the message is translated but the date remains in English.
In my opinion, the line 144 in the file deleteinactiveusers/cron/deleteinactiveusers_prune.php could be the source of the problem :Can you watch so that the date appears in the user's language?Code: Select all
'REGISTER_DATE' => date('g:ia \o\n l jS F Y', $value['regdate'])
Thanks
try this, but i did not test it just a quick thought, if it works let me know:
Code: Select all
$messenger->assign_vars([
'USERNAME' => htmlspecialchars_decode($value['name']),
'REGISTER_DATE' => $this->user->format_date($value['regdate'], false, true),
]);-
stone23
- Users

- Posts: 46
- Joined: 07 Nov 2018, 17:44
Re: Delete Inactive Users
Thank you for the answer. I test and I'll let you know.
Last edited by stone23 on 29 Oct 2019, 09:31, edited 1 time in total.
-
stone23
- Users

- Posts: 46
- Joined: 07 Nov 2018, 17:44
Re: Delete Inactive Users
I tested the code but the registration date does not appear in the notification email. it does not match