Now that you have a website with online fill-out forms and registration, this inevitably leads to unwanted visitors that will come to your site. Spam will be un-wanted users registering for a new account, filling out a comment or contact form, and/or registering for an event where you are not requiring credit card payment(s). While the system includes many features to prevent spam (reCAPTCHA, etc.) some small amount will slip through. If the spammer requests a website user account, this will result in a "blocked" user record on your front end website as well as a contact record in your back office. Rest assured, the spammer cannot login or cause any ill affect. They have no access to any area of your site or back office (they are blocked automatically by the system). While these records pose no harm, we recommend you clean up these records on a regular basis to keep your database orderly. To cleanup these spam accounts, complete the following two tasks.
Note: If you prefer to not allow anybody to request a user account on your website, this feature can be disabled. CLICK HERE to read more.
STEP 1: Delete Back Office Contact Record
- Login to your website. Make sure you have the role of "senior staff". Navigate to your back office.
- Click on "Search/ Advanced Search". Toogle the button for "CMS User?" at the bottom middle of the advance search basic criteria screen. This means "Does the contact have a Drupal (e.g. website) Account?". Click Search.
- From this list, select ONLY the records that are spam. Choose the action "delete contacts" and click "go".
- The system will take you to a verification page. A warning message will appear, saying "Are you sure you want to delete the selected contact(s)? The contact(s) and all related data will be moved to trash and only users with the relevant permission will be able to restore it". Click the button "Delete Contact(s)".
- Now go to the front website. Locate the admin menu item labeled "People".
- Use the filters at the top of the page to filter on the status of "blocked". This will show you a list of all users who have not been authenticated by you and are blocked (meaning they cannot login, do not have access to member areas of your website, etc).
- Select all the records and choose the Update Option "cancel the selected user accounts". Click the "updated" button to be led to the next screen.
- On the confirmation screen, choose the option "Delete the account and its content". Click the button to "cancel accounts".