Install
Remember to make backups of all your files!
- Download the Enthusiast Anti-Spam Addon zip.
- Unzip the files.
- Upload show_antispam.php and install_antispam.php to your main Enthusiast folder.
- Open up the Enthusiast show_join.php in an editor. After the following line (it’s around line 71):
if( isset( $_POST['join'] ) && $_POST['join'] == 'yes' ) {
add:
if(function_exists('antispamprocedures')) { if (!isset($pathtofooterfile)) { $pathtofooterfile = ''; } $antispam = antispamprocedures('Y', $info, $errorstyle, $path, $pathtofooterfile); }
- After the comments HTML code (ending around line 466) add:
<?php if (isset($antispam)) { echo $antispam; } ?>
- Open up enthconfig.php and add in the correct values for the database and the table you want to create.
- Change your magic word to something hard to remember with letters, symbols and numbers.
- Upload your changed antispamconfig.php file to your main Enthusiast folder.
- Go to install_antispam php in your main Enthusiast folder in your browser. It should install insantly.
- 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!
- Delete install_antispam.php.
- Refer to this page for integration into join.php (if a standalone file) or this page if using dynamic includes/NL-ConvertToPHP/skinning.