<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Captcha colour</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Captcha colour</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 08:18:50 +0000</pubDate>

<item>
<title>hipfish on "Captcha colour"</title>
<link>https://www.machform.com/forums/topic/captcha-colour#post-990</link>
<pubDate>Fri, 07 Mar 2008 11:04:46 +0000</pubDate>
<dc:creator>hipfish</dc:creator>
<guid isPermaLink="false">990@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;BRILL THANKS!!
&#60;/p&#62;</description>
</item>
<item>
<title>WarPig on "Captcha colour"</title>
<link>https://www.machform.com/forums/topic/captcha-colour#post-960</link>
<pubDate>Thu, 06 Mar 2008 13:06:58 +0000</pubDate>
<dc:creator>WarPig</dc:creator>
<guid isPermaLink="false">960@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Be sure to take that captcha function out of the /** comments **/ so it looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/** Hook samples **
function form1_hook_pre_validation($user_input){
return $user_input;
}

function form2_hook_post_insert($insert_data){

}

**/
//sample customizing captcha look and feel
function form1_hook_pre_captcha(){
$capthca_theme =&#38;lt;&#38;lt;&#38;lt;EOT
&#38;lt;script&#38;gt;
var RecaptchaOptions = {
theme : &#38;#39;white&#38;#39;
};
&#38;lt;/script&#38;gt;
EOT;
return $capthca_theme;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Other than that, it seems to work fine...
&#60;/p&#62;</description>
</item>
<item>
<title>hipfish on "Captcha colour"</title>
<link>https://www.machform.com/forums/topic/captcha-colour#post-955</link>
<pubDate>Thu, 06 Mar 2008 11:51:51 +0000</pubDate>
<dc:creator>hipfish</dc:creator>
<guid isPermaLink="false">955@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;I cannot change my captcha colour (I have referred to your instructions re this topic in a previous post).&#60;/p&#62;
&#60;p&#62;Please could you help?&#60;/p&#62;
&#60;p&#62;My code is below from custom_hooks.php&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
/******************************************************************************&#60;br /&#62;
 MachForm&#60;/p&#62;
&#60;p&#62; Copyright 2007 Appnitro Software. This code cannot be redistributed without&#60;br /&#62;
 permission from &#60;a href=&#34;http://www.appnitro.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62; More info at: &#60;a href=&#34;http://www.appnitro.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/&#60;/a&#62;&#60;br /&#62;
 ******************************************************************************/&#60;/p&#62;
&#60;p&#62;/** Hook samples **&#60;br /&#62;
	function form1_hook_pre_validation($user_input){&#60;br /&#62;
		return $user_input;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	function form2_hook_post_insert($insert_data){&#60;/p&#62;
&#60;p&#62;	}&#60;/p&#62;
&#60;p&#62;	//sample customizing captcha look and feel&#60;br /&#62;
	function form1_hook_pre_captcha(){&#60;br /&#62;
		$capthca_theme =&#38;lt;&#38;lt;&#38;lt;EOT&#60;br /&#62;
&#38;lt;script&#38;gt;&#60;br /&#62;
var RecaptchaOptions = {&#60;br /&#62;
   theme : 'white'&#60;br /&#62;
};&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
EOT;&#60;br /&#62;
		return $capthca_theme;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;**/&#60;br /&#62;
?&#38;gt;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
