Results 1 to 3 of 3

Thread: Bad-Bots Blocker Plugin

  1. #1
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Post Bad-Bots Blocker Plugin

    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

    • one to your robots.txt
    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 .
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by echo@; 12-14-2008 at 04:09 PM.
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  2. #2
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    WOW!!! Great Plugin echo!!!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  3. #3
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Just wanted to note that most search engines will cache your robots.txt for 24 hours, so if your using this plugin and finding the likes of google and yahoo are being blocked, make sure you emend your .htaccess file and remove their ips, be patience and wait for 24 hours
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



Similar Threads

  1. Indexu Demo and bots
    By echo@ in forum INDEXU DELUXE v1.x
    Replies: 3
    Last Post: 12-04-2008, 12:28 PM
  2. Block Bad Bots - extractor
    By user_not_found in forum v5.x
    Replies: 9
    Last Post: 03-13-2008, 02:36 PM
  3. Strange Sessions - Spam Bots?
    By berto in forum v5.x
    Replies: 1
    Last Post: 01-27-2007, 06:41 PM
  4. Bots-friendly URL for pagination in search.php
    By Mickey in forum Help Wanted/Job Request
    Replies: 4
    Last Post: 10-31-2006, 11:20 PM
  5. How can i see Bots crawls ????
    By cucupidon in forum v5.x
    Replies: 14
    Last Post: 10-18-2003, 08:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •