We'll create fresh WordPress site with Limit Comments and Word Count installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin adds above the comment box an active letter counter, word counter, and comment counter, that provides a user constant visual access to their input activity. Any comment that exceeds the word limit will result in a red change it count as the user tries to type more words. If the users tries to post anyway, a warning dialogue will appear below the comment box that will state the limit and the comment will not post. Once the user edits the words that exceeds the limit, the comment can be posted. User types are defined when the rule is created, isolating what user type is restricted by a given rule. Multiple rule types can be created if different rules are required.
The plugin never places a restriction or limits on the WordPress default user types Administrator, Editor, Author and Contributor. If the blog administrator would create a rule for any of the three roles seperately (Editor, Author and Contributor), then that rule would supersede the default setting. Other users types that may be seen in the user’s type dropdown are not default to WordPress and would require a rule created if limits are required.
This plugin also combines the ability to limit the number of comments allowed by the blog administrator. The defined limit is contained to each day, week, month, or per year. Once the limit is reached by definition of the time span selected, an alert message displays the reason for not allowing further comments.
The plugin settings allows you to disable the flood protection notice provided default in WordPress, where a user is normally blocked from quick successive posts resulting in a bleak 404 error. Along with this, a user is by default blocked from pasting the same commment, letter for letter, under any post. This can too can be disabled.
The latest addition includes the ability to activate a Comment Rules pop-up modal within the post. It can be deactivated in the settings but is active by default. It appears top left above the post’s comment box. You may create the rules to read any way you wish in settings, but keep the text rules short as the sample text or they will wrap and malform the windows appearance.
The plugin as a whole is very simple and uses nearly no system resources and is compatible with all tested blog add-ons loaded to the initial staging site. This includes membership platforms like Magic Members, MemberPress, Memberships Pro, Restrict Content Pro, LearnDash, S2Member and WooCommerce Memberships. Additionally, the plugin works in combination with any other WordPress module that requires a user to register before commenting. To clarify, for the plugin to work, a user must be a registered and active for the plugin to track activity. Logically, no plugin can monitor or limit unregistered anonymous comments. Guests cannot be controlled by the plugin limits, only registered users.
As of version 1.1.3, you now can from the metabox in each post, select the post not to be subject to the limit rules saved in the plugins settings. This has been a repeat feature request.
As of version 1.1.8, an administrator can optionally enter a global value in the settings panel, to limit the total number of comments allowed on all posts. If the field is left blank, the default value of WordPress is maintained.
Notes: This plugin will not work with wpDiscuz where it uses its own hook and templates. If the limit is set to two comments in 24 hours for example, but one was deleted by the moderator, the subscribers comments will now show another comment remains. Previously, any comments in the trash within the limited time was counted against the subscriber.
The plugin’s language support includes: English, Spanish, German, French and Russian.
Load time: 0.285 s; Memory usage: 3.06 MiB
PHP up to tested version: 8.3.4
MySQL up to tested version: 8.0.36
MariaDB up to tested version: 11.3.2
cURL up to tested version: 8.6.0, OpenSSL/3.2.1
PHP 7.4, 8.0, 8.1, 8.2 and 8.3 compliant.