Plugin: Yes
Block: No
AddOn: No need code change in indexu files
Modification: No modification required
Title: Bad-bots and site-ripper plugin
Description: Automatically Blocks bad-bots and site-rippers in .htaccsess
Version:0.1
Compatibility: Deluxe Only (could easily work with older versions)
Price: Free
DB Changes: No
Template changes: No
Code changes: No
Additional files: Yes
Installer included: No
Installed Hook: hook_html_header_head
Support Site: http://www.nicecoder.com/community
Installation Guide: below
Screenshot: Yes
MAKE SURE YOU BACKUP YOUR .HTACCSESS AND ROBOTS.TXT
This plugin will block bad-bots and site-rippers banning them automatically in the .htaccess.
The plugin uses the "hook_html_header_head" hook, this hook loads in the header and loads the plugin for every page.
Once enabled you will notice a link in your source pointing to "yoururl/plugin/bad-bots/badbots.php" it should look somthing like
PHP Code:
<a href="http://www.yoururl/plugin/bad-bots/badbots.php" style="color:white;background:white;height:0;visibility:collapse;">.</a>
This is the file that blocks the ip that visits it.
Ok now for configuration,
uncompress the archive folder to your desktop
there is two edits
Add the following to your disallowed
PHP Code:
Disallow: /plugin/bad-bots/badbots.php
this will tell the "GOOD" robots not follow the link, or the trap.
- Second, edit the file called "bat-bot-script.php"
Find line 21 and change "$your email address goes here" to your email
upload the bad-bots directory with the edited files to your plugin folder
activate plugin.
When someone is blocked you will recive a email conferming .