

	List of changes made to cpg gallery for comments recaptcha

	Author: Carver - 26 March 2009 | i-imagine.net | gallery.josephcarver.com |

	Revised: 27 MArch 2009 


_______________________________________________________________________

	FUNCTIOM: TO ADD RECAPTCHA PROTECTION TO COMMENTS - STOP SPAMMERS -

	INSTRUCTION: 
		
		1) Get keys and files from recaptcha.net 
			
			- public and private keys for your site(s)
			- recaptchalib.php


		2) Modify cpg files   
			
			- db_input.php  
			- theme.php (in your theme(s))
		

		3) Upload file    captcha_errmssg.php       to your cpg root


		4) Upload  mods after backing up originals


_______________________________________________________________________
	
	MODS, CHHANGES, ADD-ONS 


	1) theme.php 
		-add javascript recaptcha
		-add changes to noscript tag
		-format color for themes


	2) db_input.php
		- add recaptcha code
		- error goes to cpg gallery error page with return button
	 
	3) captcha_errmssg.php
		- add to cpg root
		- js back to preserve form data
	

	4) misc.
		- images, formatting for author's themes preserved in demo. mods,
		  users modify as seen fit

_______________________________________________________________________

	KNOWN ISSUES

	1) Interferes with "Edit Comment" function 
		- will not be fixed by author

________________________________________________________________________

	NOTES: 

	1) Users need a Public and Private key set from recaptcha.net BEFORE applying the mods 

	2) Users should test their own recaptcha key responses with the recaptcha.net test examples
	before trying this on a live gallery 

	3) There is no support for these mods (the author is more of a photographer and engineer than anything) 


________________________________________________________________________



