Spam Blocker installation
Installation for phpnukeScript: Spam Stopper Module for PHP-Nuke 7.5+ Version: 0.2 Beta Author: John Haywood (aka: Guardian) of Code-Authors.com Contact: webmaster@code-authors.com Copyright: Copyright © 2006 by Code Authors License: GNU/GPL (see provided LICENSE.txt file) Additional Credits: Eelco Wesemann for inspiration and some code from PHPrbl www.phprbl.init1.nl Dr Dave for inspiration and some code borrowed from Referrer Karma www.unknowngenius.com/blog/wordpress/ref-karma/ Nikolas for letting me use some code from aStatSpam - www.webdigity.com Montego - montegoscripts.com for his encouragement and assistance Bob Marion - nukescripts.net whose 'Project' module inspired the 'good pratcise' in module design Raven - www.ravenphpscripts.com for his advice and fantastic support site, without whom I would have left the nuke community long ago Evaders99 for bug fixes in v0.01 The nuke community for driving me to create this module and sending me spam and hacker reports Introduction and Requirements - It requires PHP-Nuke 7.5 thru 7.9 plus Patched 3.2 to be installed. - Or Raven Nuke version 2.02.02+ - Spam Blocker is a module for blocking bad referer spam and referers with 'bad' words in their url. - Some of the code used in this module has been taken from PHPrbl and Referrer Karma which are both - public domain scripts / licensed under GPL (there was simply no point re-inventing some wheels). - We do not claim copyright for the code, merely for the 'port' for phpNuke. - You will need to set your preferences and database connection data in the file - modules/Spam_Stopper/admin/spam_stopper_config.php - BEFORE uploading this script. Installation --------------- Extract the zipped archive to a temp dir and copy the included files as noted below (and chmod if shown): --------------------------------------------------------------------------------- README.txt (do not upload, your reading it) html/cache ----------------------------------> nukeroot/cache CHMOD 777 html/referrer-karma.php ---------------------> nukeroot/ html/images/*.* -----------------------------> nukeroot/images/*.* html/modules/*.* ----------------------------> nukeroot/modules/*.* * nukeroot = the root directory of your phpNuke site. SQL -------------------- Using phpmyadmin you can now import the data structure from the file install.sql Core File Edits ----------------------------- - In a text editor -- OPEN -- mainfile.php -- AT END OF FILE BEFORE -- ?> -- ADD -- if(file_exists('referrer-karma.php')) {include_once ('referrer-karma.php'); } if(function_exists('check_referrer')) { check_referrer(); } -- SAVE AND UPLOAD -- |
Last Updated: 2007-11-04 02:35:24 (1935 views)


