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: 68
Joined: 9 years ago
    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 7 years ago, edited 2 times in total.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6549
Joined: 12 years ago
    Windows 10 Chrome

Re: Delete Inactive Users

Post by dmzx »

eunaumtenhoid wrote: 7 years ago 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: 68
Joined: 9 years ago
    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: 920
Joined: 8 years ago
    Windows 7 Firefox

Re: Delete Inactive Users

Post by ivailo95 »

eunaumtenhoid wrote: 7 years ago 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: 68
Joined: 9 years ago
    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: 920
Joined: 8 years ago
    Windows 7 Firefox

Re: Delete Inactive Users

Post by ivailo95 »

eunaumtenhoid wrote: 7 years ago dude what does this have to do with the extension ??
you said
eunaumtenhoid wrote: 7 years ago 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: 68
Joined: 9 years ago
    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: 920
Joined: 8 years ago
    Windows 7 Firefox

Re: Delete Inactive Users

Post by ivailo95 »

eunaumtenhoid wrote: 7 years ago 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
Admin
Admin
Posts: 5139
Joined: 12 years ago
    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: 6549
Joined: 12 years ago
    Windows 10 Chrome

Re: Delete Inactive Users

Post by dmzx »

First post updated

User avatar

stone23
Users
Users
Posts: 46
Joined: 7 years ago
    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: 6549
Joined: 12 years ago
    Windows 10 Chrome

Re: Delete Inactive Users

Post by dmzx »

stone23 wrote: 6 years ago 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: 7 years ago
    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 6 years ago, edited 1 time in total.

User avatar

stone23
Users
Users
Posts: 46
Joined: 7 years ago
    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: 7 years ago
    Windows 10 Firefox

Re: Delete Inactive Users

Post by stone23 »

Hello,
No idea?

Post Reply Previous topicNext topic