

	List of changes made to cpg gallery for ecard recaptcha

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

	

_______________________________________________________________________

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

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


		2) Modify the included file  ecard.php   
			
			- around line 208 put your private recaptcha key between the quotes
			
			- around lines 351 and 355 put your public key recaptcha between the <   >'s

		
		3) Upload files    captcha_errmssg.php and recaptchalib.php  to your cpg root


		4) Upload the new modified ecard.php after backing up original


		5) Your ecards are now captcha protected from spambots


_______________________________________________________________________
	
	MODS, CHHANGES, ADD-ONS 


	1) ecard.php

		- add recaptcha javascript to form template

		- add recaptcha php to "hold" sending message if captcha error

		- "reversed" sequence/format of preview and send message 
			
			- if (isset($_POST['preview'])

				now precedes

			- elseif (isset($_POST['submit'])
				
	 
	
	2) captcha_errmssg.php
		
		- add to cpg root
		
		- .js back to preserve form data
	

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

_______________________________________________________________________

	KNOWN ISSUES

	1) ie7 shows misplaced alignment on ERROR PAGE - functions are good
		- 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)

	4) Feedback/suggestions are welcome


________________________________________________________________________



