[ABD] Limit Topics Per User

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
frankingermann
Registered User
Posts: 25
Joined: Sat Nov 21, 2015 4:51 pm
Location: Monschau, Germany
Name: Frank Ingermann

[ABD] Limit Topics Per User

Post by frankingermann »

Extension Name: Limit Topics Per User
Author: Frank Ingermann

Extension Description: This extension lets you limit the number of new topics users can start in various (sub-) forums per day, week and/or month.

Extension Version: 0.9.0 beta1 (2015-11-22)
Requirements: phpBB 3.1.x, php >=5.3.3

Features:
  • only kicks in when user hits "new topic", no overhead otherwise
  • flexible setting of max. number of allowed topics per forum
  • individual settings for daily, weekly and monthly checks
  • allows to set a common limit for all forums, overrideable for specific forum(s)
  • limit topic count for a group of subforums in addition (that is, check by counting topics from two or more forums together)
  • checking can be limited to certain user groups (e.g. only Registered + Newly registered Users)
  • certain ranks can be excluded from all checks, (e.g. for "V.I.P."-type user ranks or Admins)
Notes/Credits:
Credits go to David (david63), whose TopicAgeWarning extension served as a blueprint for this one here.

ToDo's:
  • more testing
  • make the rules parser more robust against invalid input (bad syntax)
  • provide a means of customizing the error messages in the ACP
Screenshots:
Can be seen here on my test site.
(i currently can't upload screenshots here ;) )
Demo URL: http://phpbb3.frankingermann.de/
Demo Username: TestUser
Demo Password: TestPassword

Extension Download: http://phpbb3.frankingermann.de/viewtopic.php?f=2&t=2
Last edited by frankingermann on Sun Nov 22, 2015 9:34 pm, edited 2 times in total.
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: [BETA] Limit Topics Per User

Post by Elias »

Nice unique work 8-)
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|
User avatar
SalazarAG
Registered User
Posts: 677
Joined: Mon Mar 30, 2015 10:48 am

Re: [BETA] Limit Topics Per User

Post by SalazarAG »

Thanks to such an extension.

I have not tested it, but I have doubts.

If I create a group "Offenders" for users who are floodando much, I can only limit that group stop creating one topic a day in all forums?
I'm sorry for my English. Google Translator does a bad job. :D
frankingermann
Registered User
Posts: 25
Joined: Sat Nov 21, 2015 4:51 pm
Location: Monschau, Germany
Name: Frank Ingermann

Re: [BETA] Limit Topics Per User

Post by frankingermann »

Yes, that's possible, but it has some limitations - at least in the current
(beta) version:

"Offenders" would have to be the main group for those users,
as the ext. currently only checks the main group of each user.

Let's say your "Offenders" group has group ID 8: In the ACP options of the
ext. under "user groups to check" enter only this group ID (8).
This will work o.k. with this version.

What will NOT work (currently), is to have a different set of rules for other groups
active at the same time.

Background:
I have written this for a photography forum that has some public "photo galery" forums
and some technical forums. Photographers should be able to show one of their
photos per day in the "galery" forums (for discussion of their photos), but not more than
10 per month, so a single photographer can not flood the forum with his/her photos.

I only added the user group "whitelist" and user rank "blacklist" features
to make the extension more useable for other scenarios - personally i don't need any of
these features for our forum. Even admins (incl. myself) can only post one photo per day there ;)

...well, i guess there can be a lot of different "use-cases" for this kind of extension,
so i'm open to any suggestions!

cheers, Frank
User avatar
SalazarAG
Registered User
Posts: 677
Joined: Mon Mar 30, 2015 10:48 am

Re: [BETA] Limit Topics Per User

Post by SalazarAG »

Thank you for the explanation.

I just'll need for a group even to punish the flooders. I leave them as default group.

Many thanks and congratulations for the work!
I'm sorry for my English. Google Translator does a bad job. :D
wen33
Registered User
Posts: 4
Joined: Wed Aug 19, 2015 1:29 am

Re: [BETA] Limit Topics Per User

Post by wen33 »

Edit
Mattix
Registered User
Posts: 25
Joined: Sat Oct 25, 2014 7:00 pm

Re: [BETA] Limit Topics Per User

Post by Mattix »

This is an epic extension and exactly what I needed.

My board has a trade section where people should not be able to flood the first page with offers, until now we have moderated this by hand. This extension (set to max 2 new topics per week) automates a bunch of moderator-work, for which I and my compatriots thank you very much :)
BF79
Registered User
Posts: 499
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: [BETA] Limit Topics Per User

Post by BF79 »

can limit reply too ?
frankingermann
Registered User
Posts: 25
Joined: Sat Nov 21, 2015 4:51 pm
Location: Monschau, Germany
Name: Frank Ingermann

Re: [BETA] Limit Topics Per User

Post by frankingermann »

Hello BF79,

no, the ext. does not limit the number of replies - only the number
of newly started topics per user, forum and timerange.

It is made exactly for scenarios like what Mattix describes: prevent
users from flooding (sub-)forums with new topics.

cheers, Frank
BF79
Registered User
Posts: 499
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: [BETA] Limit Topics Per User

Post by BF79 »

frankingermann wrote:Hello BF79,

no, the ext. does not limit the number of replies - only the number
of newly started topics per user, forum and timerange.

It is made exactly for scenarios like what Mattix describes: prevent
users from flooding (sub-)forums with new topics.

cheers, Frank
aii !! no chance to have reply too... ? my members have over 20 reply per day each one with thank.. good...let see...only to see hiden contain
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [BETA] Limit Topics Per User

Post by 3Di »

BF79 wrote:
frankingermann wrote:Hello BF79,

no, the ext. does not limit the number of replies - only the number
of newly started topics per user, forum and timerange.

It is made exactly for scenarios like what Mattix describes: prevent
users from flooding (sub-)forums with new topics.

cheers, Frank
aii !! no chance to have reply too... ? my members have over 20 reply per day each one with thank.. good...let see...only to see hiden contain
Did you ever take in consideration to purge the userbase?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
BF79
Registered User
Posts: 499
Joined: Fri Feb 13, 2015 1:28 pm
Name: Fouad B

Re: [BETA] Limit Topics Per User

Post by BF79 »

3Di wrote:
BF79 wrote:
frankingermann wrote:Hello BF79,

no, the ext. does not limit the number of replies - only the number
of newly started topics per user, forum and timerange.

It is made exactly for scenarios like what Mattix describes: prevent
users from flooding (sub-)forums with new topics.

cheers, Frank
aii !! no chance to have reply too... ? my members have over 20 reply per day each one with thank.. good...let see...only to see hiden contain
Did you ever take in consideration to purge the userbase?
I dont understand !! how ? where will help me to block them to not reply too much in one day ?
all what I do !! is purge cache :oops:
frankingermann
Registered User
Posts: 25
Joined: Sat Nov 21, 2015 4:51 pm
Location: Monschau, Germany
Name: Frank Ingermann

Re: [BETA] Limit Topics Per User

Post by frankingermann »

Hello BF79,

this ext. helps to solve one problem i had,
but you seem to have a different problem.

This ext. is about new topics. If you take this as
a blueprint, you (or someone else) can make an
extension out of it that limits replys.

Feel free to use it, or any parts of it, for your own extension!

cheers, Frank
(long-term Open Source supporter ;) )
Mattix
Registered User
Posts: 25
Joined: Sat Oct 25, 2014 7:00 pm

Re: [BETA] Limit Topics Per User

Post by Mattix »

I have a few ideas for extra features and tweaks. You don't have the extension on github or the like, do you? Somewhere I could fork and submit pull requests.
frankingermann
Registered User
Posts: 25
Joined: Sat Nov 21, 2015 4:51 pm
Location: Monschau, Germany
Name: Frank Ingermann

Re: [BETA] Limit Topics Per User

Post by frankingermann »

Hi Mattix,

no, sorry, no Github yet (i'm a complete Git newby ;) )
I'll try to put it on Github next week. In the meantime
feel free to change what you want, you can PM me
your version if you like.

cheers, Frank
Locked

Return to “Abandoned Extensions”