MyBB Community Forums

Full Version: Max posts per usergroup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Englisch-Description (see below for German description).

I have developed this plugin on request. The plugin is (like all my plugins) available in German and English.

Specify a maximum number of posts per user group. If this number of posts has been reached or exceeded by a user of the group, the user can be blocked for new posts or new threads / topics. It can be set whether the user:

- ... for new posts in non-self created threads is blocked
- ... is locked for new posts in own threads
- ... lock for new topics (the user can't create new threads anymore)

These settings can be combined with each other. The plugin can be activated for different forums or for all forums!

Example:
  • User A is in the following primary group: "Registered".
  • A maximum of 15 posts has been set for the group.
  • User A has now posted 15 posts. Then the settings in the plugin take effect.
  • For example, the user can no longer reply to non-self created topics,, but can still create his own threads or reply to his own topics. It can also be set, however, that the user can no longer reply to own topics or may not create new topics.
---------------------------------------------------------------------

Deutsche Beschreibung / German Description:

Ich habe das Plugin für einen Benutzer entwickelt. Das Plugin ist - wie alle meine Plugins - in der Sprache Deutsch und Englisch verfügbar.

Lege pro Benutzergruppe eine maximale Beitragsanzahl fest. Wurde diese Beitragsanzahl von einem Benutzer der Gruppe erreicht oder überschritten, kann der Benutzer für neue Beiträge oder neue Threads / Themen gesperrt werden. Es kann eingestellt werden, ob der Benutzer:

- Für neue Beiträge in fremden Themen gesperrt wird
- Für neue Beiträge in eigenen Threads gesperrt wird
- Für neue Themen gesperrt wird (der Benutzer kann keine neuen Threads mehr erstellen)

Diese Einstellungen lassen sich miteinander kombinieren. Das Plugin kann für verschiedene Foren aktiviert werden oder für alle Foren!

Beispiel:
  • Benutzer "A" ist in der Gruppe "Registriert" (primäre Gruppe des Benutzers).
  • Für die Gruppe "Registriert" wurde eine maximale Beitragsanzahl von 15 Beiträgen festgelegt.
  • Der Benutzer "A" hat nun 15 Beiträge erreicht. Nun fängt das Plugin an zu arbeiten - so, wie ihr es eingestellt habt.
  • Zum Beispiel kann der Benutzer nicht mehr auf fremde Threads antworten oder eher kann nicht mehr auf eigene Threads antworten. Möglicherweise kann der Benutzer auch keine neuen Themen erstellen. Dies ist alles in den Plugin-Einstellungen definierbar.
------------------------
Lightbulb Download [current version 1.1.0): https://community.mybb.com/mods.php?action=download&pid=1289&bid=4036
------------------------
(2019-07-26, 10:11 PM)itsmeJAY Wrote: [ -> ]Englisch-Description (see below for German description).

I have developed this plugin on request. The plugin is (like all my plugins) available in German and English.

Specify a maximum number of posts per user group. If this number of posts has been reached or exceeded by a user of the group, the user can be blocked for new posts or new threads / topics. It can be set whether the user:

- ... for new posts in foreign threads is blocked
- ... is locked for new posts in own threads
- ... lock for new topics (the user can't create new threads anymore)

These settings can be combined with each other. The plugin can be activated for different forums or for all forums!

Example:
  • User A is in the following primary group: "Registered".
  • A maximum of 15 posts has been set for the group.
  • User A has now posted 15 posts. Then the settings in the plugin take effect.
  • For example, the user can no longer reply to foreign topics, but can still create his own threads or reply to his own topics. It can also be set, however, that the user can no longer reply to own topics or may not create new topics.
-- SNIP --

------------------------
Lightbulb Download [current version 1.0.0): https://community.mybb.com/mods.php?action=view&pid=1289
------------------------

Can you explain what you mean by "foreign topics/threads"?

I do not recall seeing this phrase being used in MyBB.com forums.
Maybe the word is wrong chosen by me Big Grin This means that new posts can be blocked for topics/threads that are not from the same user. The user cannot reply to topics anymore if the topics are not from the same user.
(2019-07-27, 12:34 AM)itsmeJAY Wrote: [ -> ]Maybe the word is wrong chosen by me Big Grin This means that new posts can be blocked for topics/threads that are not from the same user. The user cannot reply to topics anymore if the topics are not from the same user.

I think 'non-self' will work. Using this will make it look like this... "for new posts in foreign threads is blocked" change it to "for new posts in 'non-self' created threads is blocked".

And...

"For example, the user can no longer reply to foreign topics, but can still create his own threads or reply to his own topics."
Change it to "For example, the user can no longer reply to 'non-self' created topics, but can still create his/her own threads or reply to his/her own topics."

I don't know if this would make better sense in the German language, but you can change it as needed.
fixxed/changed, thanks.
This is definitely useful for spam prevention, thanks itsmeJAY.
Updated to Version 1.1.0

Changelog:
Quote:- Added the possibility to write an own error (own error message) instead of default error_no_permission.

error_no_permission() Screen: 
[attachment=42058]


error() Screen:
[attachment=42059]


Configuration Screen:
[attachment=42060]

Exclamation Download: https://community.mybb.com/mods.php?acti...9&bid=4036