Skip to content
Snippets Groups Projects
Name Last commit Last update
inc/plugins
releases
README.md

MyBB 1.8.* No Links Allowed Plugin

About

This plugin prevents certain configurable member groups (by default guests, registered users, and members awaiting activation) from posting links in their posts until a configurable post count (default of 25 posts) is reached.

This plugin helps to reduce spam content on your MyBB forums by preventing the user from posting links until he reaches a certain number of good (hopefully) posts.

Installing, Configuring, and Using

Download & Install

Download and extract this release file.

To install this plugin, simply upload the "no_links.php" file to the "inc/plugins/" directory for your forum files.

Configuration

In the Admin CP, go to "Configuration" --> "Plugins". Under "Inactive Plugins", click on "Activate" next to "No Links Allowed (0.2)". Now, go back to the config main page by clicking on the "Configuration" tab at the top of the page. Scroll down to the bottom of the page. Under the "Plugin Settings" section, click on "No Links Allowed". Select "Yes" under "Power" to enable this plugin.

For restricted groups, enter a comma separated list of group IDs this plugin will apply to. The default of 1,2,5 applies by default to guests, registered users, and members awaiting activation. This means that registered users, guests, and members awaiting activation will be unable to post links in their posts until they've reached a configurable post amount. To identify group IDs, in the Admin CP, click on the "Users & Groups" tab. On the left side of the page, click on "Groups". Under the "Group" table, hover over the links for each group. The ID is contained in the URL for each group. https://forumlink/admin/index.php?module=user-groups&action=edit&gid=2 is the link for "Registered" users. Thus, the group ID for registered users is "2".

For restricted forums, enter a comma separated list of forum IDs that should use this plugin. To have this apply to all forums, simply enter the default of '*' without quotes to specify that it should apply to all forums. To indentify individual forum IDs, in the Admin CP, click on the "Forums & Posts" tab at the top of the page. Under the "Forum" table, hover over the forum link. The forum ID is contained in the URL for each group. https://forumlink/admin/index.php?module=forum-management&fid=3 is the link for a forum I have called "Rules" (it will vary by forum, so look at your forums and their IDs). Thus, the forum ID in this case for the "Rules" forum is "3".

For Minimum Posts, enter the number of posts a user must make that are link free before they will be allowed to post links. The default is 25. That means that a user will not be able to post links in their posts until they have posted 25 times (we're hoping they will be legit posts that add value to the forum, but they may not). It's a good way to help prevent spam.

Here's a screenshot of the settings page (click to enlarge):

Attached Image Hosted by DragNDropz www.dragndropz.com

Using

When a member attempts to post links, they will receive this message if the forum is configured to use the plugin, the user's group is added to the applied list of restricted users, and their post count is less than the minimum specified in the "No Links Allowed" settings (click on the thumbnail to enlarge):

Attached Image Hosted by DragNDropz www.dragndropz.com