Adding Image Verification (Captcha ) to Wordpress Comments

Total Page:16

File Type:pdf, Size:1020Kb

Adding Image Verification (Captcha ) to Wordpress Comments

Adding Image Verification (Captcha ) To WordPress Comments

Objective: This checklist show you how to install a simple captcha into your WordPress blogs. After installation, people will have to solve the captcha before their comments will appear.

1. Download and unzip Peter's Anti Spam on to your computer 2. Upload the folder into your /wp-content/plugins/ folder. 3. Login to your blog 4. Navigate to Plugins

5. Find Peter's Custom Anti Spam. Click Activate

6. Click on Manage Tab, then Custom Anti-Spam 7. Check your blog posts. You should see the image appear at the bottom of the comment submission form. 8. Done, but for advanced customization, continue the following steps

Advance customization

 To change the text that appears in your image verifications, on your computer, open custom_anti_spam.php with a text editor.  Locate the line that looks like this: $cas_text[] = 'lunch';

 For each of those options, replace the text with your desired words, numbers or random text. Keep the length to 8 letters or less. Take care not to delete any quotes.

 To force registered and logged in users to solve the captcha, locate this line $cas_forcereg = false; and change false to true

 To automatically moderate all trackbacks, locate this line $cas_modtrack = false; Change false to true  To automatically moderate all pingbacks, locate this line $cas_modping = false; Change false to true

 Save the file  Open your FTP software, upload this custom_anti_spam.php file into the /wp- content/plugins/custom-anti-spam/ folder. You may have to overwrite the file if the plugin already exists.  Log out  Check your blog

Recommended publications