
Protect Mambo against spammers!
Installation of Hashcash, Security images, and modified version of AkoComment, AkoBook, Contact for Mambo
Documentation version 1.0
Bundle version 1.0 available in my download section AntiSpamForMamboBundle1.0.zip
Report any bugs using the contact section of www.waltercedric.com
Good luck! and click read more!
Installation | Why | File | How | Risks | Manuals Changes | Require | ||||
Mambot akocomment | This mambots create a comment box in each article published. It is intended to be use with com_akocomment it now support Hashcash and security images | akocommentbot.zip | This file can be install like any mambot using the Mambo admin panel | No data can be lost, the original code has been only altered not fundamentaly changed. | none | com_akocomment | ||||
com_log4php | This is a logging framework for Mambo using the same technology as Log4Java Install it only if You want to install com_hashcash | com_log4php.zip | This file can be installl like any component using the admin panel | No data can be lost , it is only php object code | You can define a logger for the all mambo component by adding bold lines in /index.php / / checks for configuration file, if none found loads installation pageif ( !file_exists( ‘configuration.php’ ) || filesize( ‘configuration.php’ ) < 10 ) { header( ‘Location: installation/index.php’ ); exit(); } include_once( ‘globals.php’ ); require_once( ‘configuration.php’ ); define(‘LOG4PHP_CONFIGURATION’, $mosConfig_absolute_path.’/components/com_log4php/log4php.properties’); define(‘LOG4PHP_DIR’, $mosConfig_absolute_path.’/components/com_log4php/api’); require_once(LOG4PHP_DIR . ‘/LoggerManager.php’); // displays offline page if ( $mosConfig_offline == 1 ){ include( ‘offline.php’ ); exit(); } But You may also want to configure log4PHP by opening | |||||
com_hashcash | Hashcash is a protecting form framework for Mambo which use cryptographic hidden field and require some cpu power from the spammer. It is not mandatory to install com_hashcash if You prefer to use com_securityimages. But you can use both! | com_hashcash.zip | This file can be installl like any component using the admin panel | No data can be lost , it is only php object code | You will have to open the file index.php of your template site to add a line (see example below, line is in bold). <?php defined( ‘_VALID_MOS’ ) or die( ‘Direct Access to this location is not allowed.’ ); // needed to seperate the ISO number from the language file constant _ISO $iso = split( ‘=’, _ISO ); // xml prolog echo ‘<?xml version="1.0" encoding="’. $iso[1] .’"?’ .’>’; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php include($mosConfig_absolute_path."/components/com_hashcash/includes/head.inc" ); ?> <title><?php echo $mosConfig_sitename; ?></title> | com_log4php | ||||
com_securityimages | Security images are hard to read images generated by a program. User has to reproduce what he see in order to be allowed to post something It is not mandatory to install com_securityimages if You prefer to use com_hashcash. But you can use both! | com_securityimages.zip | This file can be installl like any component using the admin panel | No data can be lost , it is only php object code, and creatin a new table mos_securityimages | none the component is globally deactivated after install. Go in its admin panel, to "general tab" and switch Switch component OFF globally :to No | GD library (PHP extension) | ||||
com_contacts | This is a core component of Mambo, for handling contact it is mandatory to install com_securityimages first! there is right now no admin panel for com_contact where You can deactivate com_securityimages | com_contact.zip | Sorry You only have to overwrite all files on Your homepage using FTP source file from zip | No risk. If You do not have com_securityimages installed You may have compile error when going in page contact | manual FTP copy | com_securityimages | ||||
com_akocomment | This allow user to post comments on Your homepage. This great components has been created by Arthur Konze www.mamboportal.com It is not mandatory to install hashcash if You prefer | com_akocomment.zip | 1. If You are installing akocomment for the first time, You can install this component like any other Mambo component. OR 2. You are already using akocomment on Your homepage. (see risk 2.) You can either, depending on Your skills: – copy files manually using ftp OR | 1. No risks if you install akocomment for the first time 2. If You install it using the method 1, The install drop existing database, so You will lost existing comments or will have to restore them from a backup. It is better to ovwerwrite file manually with ftp | Component in zip file has hashcash and securityimages switched off as default. go to their admin panel to activate the spamming technology You prefer… |
| ||||
com_akoguestbook | This allow user to have a guestbook on Your homepage. This great components has been created by Arthur Konze www.mamboportal.com It is not mandatory to install hashcash if You prefer | com_akobook.zip | 1. If You are installing akobook for the first time, You can install this component like any other Mambo component. OR 2. You are already using akobook on Your homepage. (see risk 2.) You can either, depending on Your skills: – copy files manually using ftp OR | 1. No risks if you install akobook for the first time 2. If You install it using the method 1, The install drop existing database, so You will lost existing guestbook or will have to restore them from a backup. It is better to ovwerwrite file manually with ftp | Component in zip file has hashcash and securityimages switched off as default. go to their admin panel to activate the spamming technology You prefer… |
|