[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 » Sun Nov 22, 2015 8:10 pm

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: 4614
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: [BETA] Limit Topics Per User

Post by Elias » Sun Nov 22, 2015 8:36 pm

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: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [BETA] Limit Topics Per User

Post by SalazarAG » Sun Nov 22, 2015 10:31 pm

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 » Sun Nov 22, 2015 11:11 pm

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: 665
Joined: Mon Mar 30, 2015 10:48 am

Re: [BETA] Limit Topics Per User

Post by SalazarAG » Sun Nov 22, 2015 11:27 pm

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 » Tue Dec 08, 2015 9:52 pm

Edit

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

Re: [BETA] Limit Topics Per User

Post by Mattix » Thu Mar 17, 2016 10:24 pm

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: 255
Joined: Fri Feb 13, 2015 1:28 pm

Re: [BETA] Limit Topics Per User

Post by BF79 » Thu Mar 17, 2016 11:23 pm

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 » Fri Mar 18, 2016 6:18 pm

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: 255
Joined: Fri Feb 13, 2015 1:28 pm

Re: [BETA] Limit Topics Per User

Post by BF79 » Fri Mar 18, 2016 7:31 pm

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
Registered User
Posts: 12940
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Limit Topics Per User

Post by 3Di » Fri Mar 18, 2016 7:39 pm

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?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

BF79
Registered User
Posts: 255
Joined: Fri Feb 13, 2015 1:28 pm

Re: [BETA] Limit Topics Per User

Post by BF79 » Fri Mar 18, 2016 7:53 pm

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 » Fri Mar 18, 2016 11:41 pm

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 » Sat Mar 19, 2016 2:40 pm

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 » Sat Mar 19, 2016 5:43 pm

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”

Who is online

Users browsing this forum: No registered users and 7 guests