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')) { $getantispam = antispamprocedures('Y', $info, $errorstyle); if (is_array($getantispam)) { if ($getantispam[0] == 'exit') { die($getantispam[1]); exit; } else { $antispam = $getantispam[1] . $getantispam[2]; if (!empty($getantispam[1])) { $messages['antispamaddon'] = $getantispam[1]; } } } }
- After the comments HTML code (ending around line 466) add:
<?php if (isset($antispam)) { echo $antispam; } ?>
- Open up antispamconfig.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.
[...] are installation instructions and then instructions to implement into join.php (or a greater index.php or other file [...]