3.2 & 3.3 Extensions Database 3.2 / 3.3Delete Inactive Users

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

eunaumtenhoid
Users
Users
Posts: 67
Joined: 14 Oct 2016, 05:10
    Windows 10 Chrome

Re: Delete Inactive Users

Post by eunaumtenhoid »

Yeah lol ty for ext

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.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Delete Inactive Users

Post by dmzx »

eunaumtenhoid 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
nice :thumbup:

User avatar

eunaumtenhoid
Users
Users
Posts: 67
Joined: 14 Oct 2016, 05:10
    Windows 10 Chrome

Re: Delete Inactive Users

Post by eunaumtenhoid »

DOUBT
deleting the user will delete his posts too?
could have an option to avoid that

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Firefox

Re: Delete Inactive Users

Post by ivailo95 »

eunaumtenhoid wrote: 09 Aug 2019, 17:20 DOUBT
deleting the user will delete his posts too?
could have an option to avoid that
there is an option when deleting user thro the ACP
Image
Feed like a disease
And bring them to their knees
They'll pay for their deceit

User avatar

eunaumtenhoid
Users
Users
Posts: 67
Joined: 14 Oct 2016, 05:10
    Windows 10 Chrome

Re: Delete Inactive Users

Post by eunaumtenhoid »

Dude what does this have to do with the extension ??

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Firefox

Re: Delete Inactive Users

Post by ivailo95 »

eunaumtenhoid wrote: 09 Aug 2019, 20:05 dude what does this have to do with the extension ??
you said
eunaumtenhoid wrote: 09 Aug 2019, 17:20 DOUBT
deleting the user will delete his posts too?
could have an option to avoid that
here is the option to avoid it

User avatar

eunaumtenhoid
Users
Users
Posts: 67
Joined: 14 Oct 2016, 05:10
    Windows 10 Chrome

Re: Delete Inactive Users

Post by eunaumtenhoid »

Man i'm talking about an option in this extension and not in the default phpbb sisteam :guns:

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Firefox

Re: Delete Inactive Users

Post by ivailo95 »

eunaumtenhoid wrote: 10 Aug 2019, 00:38 man i'm talking about an option in this extension and not in the default phpbb sisteam :guns:
well..as you can see there is no option about it..

User avatar

martin Online
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Delete Inactive Users

Post by martin »

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.
Image

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Delete Inactive Users

Post by dmzx »

First post updated

User avatar

stone23
Users
Users
Posts: 46
Joined: 07 Nov 2018, 17:44
    Windows 10 Firefox

Re: Delete Inactive Users

Post by stone23 »

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 :

Code: Select all

						'REGISTER_DATE'	=> date('g:ia \o\n l jS F Y', $value['regdate'])
Can you watch so that the date appears in the user's language?

Thanks

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Delete Inactive Users

Post by dmzx »

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 :

Code: Select all

						'REGISTER_DATE'	=> date('g:ia \o\n l jS F Y', $value['regdate'])
Can you watch so that the date appears in the user's language?

Thanks
Yes you are correct with the date.

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),
					]);

User avatar

stone23
Users
Users
Posts: 46
Joined: 07 Nov 2018, 17:44
    Windows 10 Firefox

Re: Delete Inactive Users

Post by stone23 »

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.

User avatar

stone23
Users
Users
Posts: 46
Joined: 07 Nov 2018, 17:44
    Windows 10 Firefox

Re: Delete Inactive Users

Post by stone23 »

I tested the code but the registration date does not appear in the notification email. it does not match

User avatar

stone23
Users
Users
Posts: 46
Joined: 07 Nov 2018, 17:44
    Windows 10 Firefox

Re: Delete Inactive Users

Post by stone23 »

Hello,
No idea?

Post Reply Previous topicNext topic