[BETA] Reset User Post Count

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)
User avatar
david63
Registered User
Posts: 16797
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

[BETA] Reset User Post Count

Post by david63 » Mon Jun 15, 2015 10:34 am

phpbb3-extension-resetpostcount

Description:
Adds an ACP option to allow the resetting of a user's post count.

Features:
  • Adds an option in the ACP > Users & groups > User utilities
  • Can set a user's post count to any lower value, or zero
Languages:
en

Status:
0.0.1-b1

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to root/ext/
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find Reset post count under "Disabled Extensions" and click Enable.
Repository:
https://github.com/david63/david63-resetpostcount
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
John connor
Registered User
Posts: 2330
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: [BETA] Reset User Post Count

Post by John connor » Mon Jun 15, 2015 7:02 pm

Cool! I'll check this out. You can't add post count though?

User avatar
LordOfFlies
Registered User
Posts: 63
Joined: Tue Jul 14, 2015 6:55 am
Name: Matěj Štágl
Contact:

Re: [BETA] Reset User Post Count

Post by LordOfFlies » Sun Jul 26, 2015 8:05 am

Hi, could you make this UTF8 compactible. When I try to change someone posts with diacritic in his nick search system fails. thanks.

xneo70
Registered User
Posts: 66
Joined: Tue Jul 28, 2015 7:16 am

Re: [BETA] Reset User Post Count

Post by xneo70 » Sat Aug 22, 2015 2:53 pm

hi. Iinstalled this beta. It is activated, but i cannot find the apc where to menage the reset for a user. Where should itbeexpected to be? Under extensions there is nothing.

Or is it in an early beta?

Thanks.

User avatar
david63
Registered User
Posts: 16797
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Reset User Post Count

Post by david63 » Sat Aug 22, 2015 2:57 pm

david63 wrote:Features:

Adds an option in the ACP > Users & groups > User utilities
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

xneo70
Registered User
Posts: 66
Joined: Tue Jul 28, 2015 7:16 am

Re: [BETA] Reset User Post Count

Post by xneo70 » Sat Aug 22, 2015 3:27 pm

Fine. & sorry for the idiot question.

Thanks.

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [BETA] Reset User Post Count

Post by OmkePom » Sun Aug 23, 2015 9:01 am

Works fine, will make a Dutch translation.

1 Question, can you make the user automatic return to "Newly registered users" group again?

:geek:
You got Brains like a Peanut, OMG i insulted a Peanut!

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [BETA] Reset User Post Count

Post by OmkePom » Sun Aug 23, 2015 9:53 am

Dutch translation:

Code: Select all

	'ACP_POST_RESET'				=> 'Reset Aantal Berichten',
	'ACP_USER_UTILS'				=> 'Gebruikers mogelijkheden',

	'ERROR_INVALID_USER_SPECIFIED'	=> 'Deze Gebruiker komt niet voor in de Data Base.',
	'ERROR_NO_DATA_SPECIFIED'		=> 'Geen Aantal Berichten Reset is ingevoerd.',
	'ERROR_NO_POST_COUNT'			=> 'De geselecteerde Gebruiker heeft geen Berichten.',
	'ERROR_NO_USER_SPECIFIED'		=> 'Er is geen Gebruiker Geselecteerd.',
	'ERROR_RESET_GREATER'			=> 'Het gewenste Aantal Berichten is groter dan het oorspronkelijke Aantal Berichten.',

	'LOG_USER_POST_COUNT_RESET'		=> '<strong>Reset Aantal Berichten voor %1$s</strong><br />» van %2$s naar %3$s',

	'OR_ZERO'						=> '--- Of ---',

	'RESET_OVERIDE'					=> 'Overschrijf Errors',
	'RESET_OVERIDE_EXPLAIN'			=> 'Deze optie zal het instellen van een toename van het Gebruiker Reset Berichten toestaan.',
	'RESET_POST_COUNT'				=> 'Reset Aantal Getelde Berichten',
	'RESET_POST_COUNT_EXPLAIN' 		=> 'Hier kan je de Gebruiker kiezen en zijn Aantal Berichten Resetten.',
	'RESET_USER_DETAILS'			=> '%1$s heeft nu %2$s Berichten',
	'RESET_USERNAME'				=> 'Gebruikersnaam',
	'RESET_USERNAME_EXPLAIN'		=> 'De Gebruikernaam van de Gebruiker waarvan het Aantal Berichten moet worden aangepast.',
	'RESET_VALUE'					=> 'Reset Waarde',
	'RESET_VALUE_EXPLAIN'			=> 'De nieuwe Waarde van Het Aantal Berichten van de geselecteerde Gebruiker.',
	'RESET_ZERO'					=> 'Reset naar NUL',
	'RESET_ZERO_EXPLAIN'			=> 'Geselecteerd zal Gebruikers Aantal Berichten naar NUL gereset worden.<br /><strong>Let op:</strong> Geselecteerd zal de ingevulde Waarde overgeschreven worden in het <strong>Reset Waarde</strong> veld.',

	'USER_POST_COUNT_RESET'			=> 'Reset Aantal Berichten voor <strong>%1$s</strong> van %2$s naar %3$s.',
You got Brains like a Peanut, OMG i insulted a Peanut!

User avatar
LordOfFlies
Registered User
Posts: 63
Joined: Tue Jul 14, 2015 6:55 am
Name: Matěj Štágl
Contact:

Re: [BETA] Reset User Post Count

Post by LordOfFlies » Mon Dec 07, 2015 8:21 pm

Hi david!

I've created a few new features to this ext:
  • In setting new post count form are new buttons which determines operands - "Set", "Add", "Sub" ("Div", "Mul").
  • Fixed problem with diacritic usernames (fe. Matěj), displaying error "This user don't exist".
  • Redesigned reset_post_count.html
  • Removed "Are you sure.. " check.
I would like to create PR on Git but I am worried about last feature mentioned. I know it was your work, so should I include it in that pull request?

Regards, LoF.

User avatar
david63
Registered User
Posts: 16797
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Reset User Post Count

Post by david63 » Mon Dec 07, 2015 9:30 pm

By all means create the PR and I will take a look at it - but I am not promising that I will merge it.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
3Di
Former Team Member
Posts: 14465
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Reset User Post Count

Post by 3Di » Mon Dec 07, 2015 9:34 pm

What happens if you re-syncronise the posts count in ACP?
Months ago I tried it and I remember something failed, I forgot what.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
david63
Registered User
Posts: 16797
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Reset User Post Count

Post by david63 » Mon Dec 07, 2015 9:40 pm

3Di wrote:What happens if you re-syncronise the posts count in ACP?
Months ago I tried it and I remember something failed, I forgot what.
Cannot say that I have tried it but I would expect the post count to revert to the "correct" value.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
3Di
Former Team Member
Posts: 14465
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Reset User Post Count

Post by 3Di » Mon Dec 07, 2015 9:47 pm

david63 wrote:
3Di wrote:What happens if you re-syncronise the posts count in ACP?
Months ago I tried it and I remember something failed, I forgot what.
Cannot say that I have tried it but I would expect the post count to revert to the "correct" value.
Yes.

I checked this extension because I was in need for something that increases/decreases the user's posts count in order to test an extension of mine in localhost, related to posts number (TPOTM). Also to learn how to make an ACP model for it.

Anyway, is it the intended behaviour of this extension or do you think it should be somehow changed? What are your plans, if any?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
david63
Registered User
Posts: 16797
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Reset User Post Count

Post by david63 » Tue Dec 08, 2015 8:29 am

3Di wrote:is it the intended behaviour of this extension or do you think it should be somehow changed
Sorry but I don't quite follow that - can you elaborate.
3Di wrote:What are your plans, if any?
Currently I don't have any plans for this extension - but I am always open to suggestions.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
GOLX
Registered User
Posts: 94
Joined: Tue Aug 02, 2016 1:17 am

Re: [BETA] Reset User Post Count

Post by GOLX » Sun Aug 28, 2016 12:14 am

Hello

How can I increase the count of user's posts?
This function was disables and all user messages were not counting causing annoyances.
Can anyone help me to increase the counter?

thanks

Post Reply

Return to “Extensions in Development”