Install

Remember to make backups of all your files!

  1. Download the Enthusiast Anti-Spam Addon zip.
  2. Unzip the files.
  3. Upload show_antispam.php and install_antispam.php to your main Enthusiast folder.
  4. Open up the Enthusiast show_join.php in an editor. Before this line:
    [pre lang="php"]
    if( count( $messages ) == 0 ) {
    [/pre]

    add:
    [pre lang="php"]
    if (defined(‘ANTISPAM’) && isset($antispam_messages) && count($antispam_messages) > 0) $messages = array_merge($messages, $antispam_messages);
    [/pre]

    After the comments HTML code (ending around line 466) add:[pre lang="php"] if (isset($antispam) && defined('ANTISPAM'))
    {
    echo $antispam;
    }

    ?>
    [/pre]

  5. Open up antispamconfig.php and add in the correct values for the database and the table you want to create.
  6. Change your magic word to something hard to remember with letters, symbols and numbers.
  7. Upload your changed antispamconfig.php file to your main Enthusiast folder.
  8. Go to install_antispam php in your main Enthusiast folder in your browser. It should install insantly.
  9. Upload your changed show_join.php to your main Enthusiast folder. Remember that your url to your fanlisting must be correct in Enthusiast for the anti-spam to work!
  10. Delete install_antispam.php.
  11. Refer to this page for integration into join.php (if a standalone file) or this page if using dynamic includes/NL-ConvertToPHP/skinning.