Simple:Press Documentation

Plugin: Remove Spam Registrations

Plugin Description

Plugin: Remove Spam Registrations – This Simple:Press plugin can be used to remove unwanted spam registrations by registered users who have never posted.

Once a site is opened for user registrations it will undoubtedly receive bogus registrants. Using the Math Spam tool will help enormously keep this to a low number, but it will still happen. This plugin’s tool can help keep such bogus registrants under control.

Plugin Features

Installing this Simple:Press plugin adds:

  • A new Remove Spam Registrations section in the “Available Plugins – Install Simple:Press Plugins” panel under the forum Admin menu path Forum > Plugins > Available Plugins. From this panel the plugin can be activated, or deleted by the Admin.
  • When properly installed, a new folder in the “forum-plugin” folder named “spam-registrations” containing the plugin’s files.

Activating this plugin provides:

  • A change to the new Remove Spam Registrations section in the “Available Plugins – Install Simple:Press Plugins” panel under the Admin menu path Forum > Plugins > Available Plugins so the Simple:Press plugin can be deactivated, or have its Options set up.
    • The Options link goes to the new “Users – Spam Registrations” forum Admin panel.
    • The “Getting Started” link associated with the “Deactivate/Options” selections should be selected to view the pertinent information regarding the plugin.
  • A new “Users – Spam Registrations” forum Admin panel where options associated with the plugin are specified.
  • A new sub-menu entry “Spam Registrations” linked to the new “Users – Spam Registrations” forum Admin panel under the “Users” menu item access from the Admin menu at Forum > Users.
  • A new “Users- Spam Registrations List” popup with its “Current Spam Registrations” section where potential spam user accounts are listed for possible removal.
    • The popup list is generated after the criteria has been selected on the “Users – Spam Registrations” forum Admin panel and the “Show Spam Registrations” button has been selected.

There are no new permissions added to the permission sets due to this plugin.

Plugin Requirements

Simple:Press version 5.5.4 and above is required.

This plugin must be installed, activated, and its options set before it is operational.

As part of the installation, a “Remove Spam Registrations” section is added to the Plugin Management panel under the admin menu Forum > Plugins > Available Plugins. From this panel the plugin can be activated, deactivated, deleted, or its options set using its “Activate/Delete” and “Deactivate/Options” selections.

  • The Options link goes to the new “Users – Spam Registrations” forum Admin panel.

There are no new permissions added to the permission sets due to this plugin.

The plugin does not have template tags so no recommendation regarding Custom or Child Themes is being made.

This plugin does not need to always be active. After it has been used to eliminate Spam Registrations, it can be deactivated until it is to be used again.

  • Please see the “Plugin Installation and Activation” section of this page for the deactivation and reactivation steps.

Plugin Installation and Activation

Please see Using Plugins on how to obtain and install this Simple:Press plugin.

  • Whatever method is used to add the Simple:Press plugin, the folder that should have been added to the forum plugin folder is named “spam-registrations“.
  • If using the “Simple:Press Upload Plugin – Upload a Simple:Press Plugin” panel at the forum Admin menu Forum > Plugins > Plugin Uploader, the folder to browse for after downloading it from the Simple:Press site is “spam-registrations.zip” before clicking the “Upload Now” button.

As mentioned there the default location for Simple:Press plugin folders is …/wp-content/sp-resources/forum-plugins. If this path is changed, it is important to note that the plugin’s folder and its content need to reside in the forum plugins folder wherever it has been moved and however it has been renamed. See Storage Locations for more information.

Activation is accomplished from the Admin Dashboard panel menu by selecting Forum > Plugins > Available Plugins from the drop down forum Admin menu. On the “Available Plugins – Install Simple:Press Plugins” panel select the Remove Spam Registrations plugin and click on “Activate”. The “Activate/Delete” label changes to “Deactivate/Options” with a “Getting Started” Link.

  • The “Getting Started” link associated with the “Deactivate/Options” selections should be selected to view the pertinent information regarding the plugin.

To deactivate the plugin, click on “Deactivate”. The “Deactivate/Options” label changes to “Activate/Delete”.
To reactivate the plugin, click on on “Activate”. The “Activate/Delete” label changes to “Deactivate/Options”.

Plugin Administrative Options

After activation, a) on the aforementioned “Available Plugins – Install Simple:Press Plugins” panel, click “Options” on the Remove Spam Registrations plugin section or b) under the Users entry on the Forum menu on the left side forum Admin page click the Spam Registrations sub-menu item to get the “Users – Spam Registration” Admin panel with its “Remove Spam Registrations” section.

This plugin and it’s options should be used with great care!
It will delete or optionally move to a designated User Group, user registrations that meet your criteria.
    • Elapsed Time Since Registration

Spam registrations are not immediately recognizable. If an account has not had any activity or limited activity after it has been registered for a period of time, it may have been the result of a Spam Registration.

The search for spam users can be narrowed down by tweaking the number of days to go back looking for spam registrations.

  • In the input box to the right of “All users who registered longer ago than (days):, input the grace period in days being allowed an account after registration before its lack of activity makes it a potential spam account.
    • The default is set to 7 days.
    • Maximum Users to Process at One Time

Searching a large number of accounts and their data can be computationally intensive and can result in slow operation or errors.

  • In the input box to the right of “Maximum users to process at one time (0=all, adjust if getting cpu expiration errors):, input the maximum number of site users to process at a time.
    • The default is set to 0 which allows all users to be processed at the same time.
    • Selecting the Criteria for Identifying Potential Spam Accounts

One (1) of two (2) criteria can be selected for identifying potential spam user accounts.

      • A user account that has never visited the forums, or
      • A user account that has visited the forums, but never posted in them
Note:
An account may meet the selected criteria as a potential spam account, but the account will not be marked as a potential spam account if:

  • the user has authoring a blog post, or
  • the user has left a comment on a blog post
  • Select the check box to the left of “Never visited the forums” to use it as the criteria.
    • The check box is selected if it contains a green check mark.
  • Select the check box to the left of “Visited but never posted in the forums” to use it as the criteria.
    • The check box is selected if it contains a green check mark.
  • When all selections on the panel have been made, click the “Show Spam Registrations” button at the bottom of the panel to see the list of potential spam user accounts that meet the criteria.

After the “Show Spam Registrations” button as been clicked, the popup “Users – Spam Registrations List” forum Admin panel with its “Current Spam Registrations” section is generated with the list of potential spam user accounts for possible deletion or movement to a different usergroup.

  • Delete Users
  • To delete any users on the list, select them and leave the Select usergroup option as “Select usergroup”.
  • Click on the “Remove Spam Registrations” button and the selected user account will be deleted.
  • Move Users to a Different Usergroup
  • To move any users on the list to another usergroup, select them and then select the usergroup to which they are to be moved.
  • Click on the “Remove Spam Registrations” button and the selected user account will be moved to the selected usergroup.

This plugin does not need to always be active. After it has been used to eliminate Spam Registrations, it can be deactivated until it is to be used again.

  • Please see the “Plugin Installation and Activation” section of this page for the deactivation and reactivation steps.

To be complete for multilingual forums, the language translation files for this plugin should be installed or downloaded/properly placed in the appropriate forum-language folder for SP plugins using one of the procedures below in the “Plugin Language Translation” section of this page.

Plugin Language Translation

A plugin may not have language translation files, but in general each Simple:Press plugin has its own language translation files each with multiple pages for translating the forum plugin’s message strings.

Forum Plugin translation files are to reside in a unique forum folder location as defined by the “Simple:Press Plugin Language Files” entry on the “Integration – Storage Locations” forum Admin panel available through the forum Admin menu at Forum > Integration > Storage Locations.

  • The default location for forum plugin translation files is the folder “…/wp-content/sp-resources/forum-language/sp-plugins”.

Information regarding downloading language files, “mo’ language file placement, and translation (language localization) is found at Localization.

WARNING: On the Localization page, the Language Translation “.mo” Files Overview should be reviewed and well understood for naming convention and language translation file placement.

More information is available regarding translation files at Simple:Press Translations. which is the repository for Simple:Press language translation files. On the base page, select the “Getting Started Guide” link for basics about it’s use. On that page, select the “register a username here” link to obtain a password to the site. Use the “Contact Form” link to request the desired language if it is not currently available. The “Contact Form” link may also be used to volunteer to be a validator for a translation project.

This plugin’s available language translation files with translation statistics, and message translations can be viewed at Spam Registrations within the repository for Simple:Press language translation files.

  • Installing this Simple:Press Plugin’s Language Translation “.mo” files
    The plugin’s language translations files for each language can be correctly located in two ways.

    • Using the Admin Word:Press “Site Language” and Simple:Press “Language Translation” Features
      WARNING: On the Localization codex page, the Language Translation “.mo” Files Overview should be reviewed and well understood for naming convention and language translation file placement.
        • Under the “Language Translation Selection Sequences” heading, the “Coordinated Language Translation File Download Using the Simple:Press ‘Language Translation’ Selection” section, follow the instructions at “Adding its Translation File(s) After Downloading/Activating a Simple:Press Theme or Simple:Press Plugin”.
          • Follow the instructions to select the “Site Language” and then get to the admin page with the “Integration – Language Translations” section where there should be an entry for “Remove Spam Registrations” along with an “Install” button.
          • Click on the “Install” button for this plugin to install the language translation file for the current “Site Language” language.
            • Note: If the message “No Translation Project Exists” is displayed rather than the “Install” button, a translation file for that language could not be found in GlotPress at this time. Consider posting in the Simple:Press forum if it is felt there needs to be one added.
          • Be sure to verify the locale (filename) for the “.mo” file matches the language code for the language as referenced in the “Warning” above. If it does not, change it to match.
          • As called out in the section, continue to change the “Site Language” language and repeat the process until all desired translation files for this plugin have been installed.

       

    • Manually Finding and Storing Simple:Press Plugin’s Language Translation ‘mo’ files
    • WARNING: On the Localization codex page, the Language Translation “.mo” Files Overview should be reviewed and well understood for naming convention and language translation file placement.
    • After reviewing the material discussed under the “Language Translation Selection Sequences” heading, the “Manual Installation of Simple:Press Language Translation Files section, follow the steps outlined at “Finding and Storing ANY Simple:Press Plugin’s Language Translation ‘mo’ files”.
    • Each time through the process at the step, “Scroll down the list and click on the name of the plugin whose language files are being sought to see the translation file Version Number available”, substitute “Spam Registrations” for the phrase “the name of the plugin whose language files are being sought”.
    • Be sure to verify the locale (filename) for the “.mo” file matches the language code for the language as referenced in the “Warning” above. If it does not, change it to match.
    • Repeat the steps for each language it is desired to have a translation file (french, spanish, etc.) for the plugin on the website.

Plugin Special Notes

This plugin and it’s options should be used with great care!
It will delete or optionally move to a designated User Group, user registrations that meet your criteria.

Plugin Usage

Forum Admins use the plugin set up the plugin’s options.

Forum users do not use the plugin, but their accounts might be deleted or moved to a different usergroup.

Template Tags Used in the Plugin

There are no Template Tags used in this plugin.

Actions and Hooks Used in the Plugin

There are no Actions and Hooks available in Template Tags for this plugin.

There are no other Actions and Hooks available for this plugin.

Plugin and Template Tag Changelog

Since Simple:Press version 5.3.

Codex page sync’d to code version 5.6.1 and plugin version 1.1.12.

More Topics In SimplePress: Plugins


Copyright © 2006-2019 Simple:Press. All Rights Reserved.