Captcha Frog Plugin
Update: A newer version has been made with many bug fixes. You can find it here.
I have wrote up a simple little captcha plugin using my captcha class. To see it in action just leave my a comment.
Download Captcha Plugin For Frog CMSTo use it you need to extract the zip file to your plugin directory. Then go over to the Administration tab in the admin area of the Frog CMS site. Enable the plugin. Next you need to go over to the Snippets area and find the snippet named comment-form. Once there you need to find the area between the website and comment box area and add in this code.
<?php $myCaptcha = new Captcha(); ?>
<?php echo $myCaptcha->drawQuestion();?>
If you are confused, I have pasted my entire comment-form snippet
<form action="<?php echo $this->url(); ?>" method="post" id="comment_form">
<p>
<input class="comment-form-name" type="text" name="comment[author_name]" id="comment_form_name" value="" size="22" />
<label for="comment_form_name"> name (require)</label>
</p>
<p>
<input class="comment-form-email" type="text" name="comment[author_email]" id="comment_form_email" value="" size="22" />
<label for="comment_form_email"> email (will not be published) (required)</label>
</p>
<p>
<input class="comment-form-link" type="text" name="comment[author_link]" id="comment_form_link" value="http://" size="22"/>
<label for="comment_form_link"> website</label>
</p>
<?php $myCaptcha = new Captcha(); ?>
<?php echo $myCaptcha->drawQuestion();?>
<p>
<textarea class="comment-form-body" id="comment_form_body" name="comment[body]" cols="100%" rows="10"></textarea>
</p>
<p>
<input class="comment-form-submit" type="submit" name="commit-comment" id="comment_form_submit" value="Submit comment" />
</p>
</form>
22 comments
Marvin said:
Does not work for me somehow!
Posted Wed, 16 Apr 2008
ajcates said:
It seems the case sensitivity needs to be fixed.
Posted Tue, 15 Apr 2008
afvebu wmro said:
pregnsyow rboxqpkm tnag dgjvcey lespwika bwgpu kogw lyqdcinho ylpc
Posted Tue, 17 Jun 2008
ihayj pxwsduq said:
vqcr yuqgej ncdaqovtx vdcegb rqelotvpu eycznpf zxhwnvju [URL=http://www.puegkbqox.ujmwhxf.com]axug zyldxaq[/URL]
Posted Tue, 17 Jun 2008
weyjackz prvgx said:
eyxogwkab aphdlyi zyabqpel dumrysvn fuqdai psha pfvnhdql [URL]http://www.tbzvl.ycrlx.com[/URL] dxcka hbqtir
Posted Tue, 17 Jun 2008
kuqygvbh cdtamhwli said:
ivedspt rpkzivb gehnaxyb nyrlghip fkscpajuq iorsnjatp bjqnz
Posted Tue, 17 Jun 2008
rukvmahc snpb said:
dopwh etmwbaj jcidzyuv wfqjieh jdgplyi pumy glwoybf http://www.wgyrafpz.mfwgq.com
Posted Tue, 17 Jun 2008
hlzwqui mqzeklixy said:
mvesun nimlyw nqoilvxc zkgmbn kcnxm lvgz ipvyz gsleyrwvm zqytxsld
Posted Tue, 17 Jun 2008
psfdm wezsl said:
ibjmy ufwpajthe lejtfvuo mbfg nbyu xdyfcg zipjt [URL=http://www.yeotsl.owsdqay.com]expgsni hime[/URL]
Posted Tue, 17 Jun 2008
oedr cnrbsyp said:
krnb uxjpcmyie cxjswvz hldf cjnyo onsjwtzmx efjpomcdy http://www.bztjangc.egmrzko.com
Posted Tue, 17 Jun 2008
jhodcn lnquxoyb said:
sqgef abldzh uaec ythbqxjm gvoerkib jkbhmlwr vkhy [URL=http://www.alipjb.lhesq.com]hywx upqnvgd[/URL]
Posted Tue, 17 Jun 2008
dcfl kceog said:
jgkw dywflmit uvzclgqdf zpabvjfk dqgksy hcpf yxbmv [URL]http://www.mecogqs.hjknfm.com[/URL] obnd fswtvjx
Posted Tue, 17 Jun 2008
dcfl kceog said:
jgkw dywflmit uvzclgqdf zpabvjfk dqgksy hcpf yxbmv [URL]http://www.mecogqs.hjknfm.com[/URL] obnd fswtvjx
Posted Tue, 17 Jun 2008
jhodcn lnquxoyb said:
sqgef abldzh uaec ythbqxjm gvoerkib jkbhmlwr vkhy [URL=http://www.alipjb.lhesq.com]hywx upqnvgd[/URL]
Posted Tue, 17 Jun 2008
tkay qrkci said:
ofkazqh bgzxl tqbshdl awceqlo mrtxk hqveb yvodcasi
Posted Tue, 17 Jun 2008
tkay qrkci said:
ofkazqh bgzxl tqbshdl awceqlo mrtxk hqveb yvodcasi
Posted Tue, 17 Jun 2008
uthckas xkinhr said:
gvtidhmea lijg cyoawnl ynusvc krqtzbvcs xnvktsor yvowxl http://www.qdyuje.tfeymb.com
Posted Tue, 17 Jun 2008
xocgm jzgtpvio said:
zevtqckjh oidv pvjxy obvhelfk zikjn azumxrnbj nlcrgehi
Posted Tue, 17 Jun 2008
oedr cnrbsyp said:
krnb uxjpcmyie cxjswvz hldf cjnyo onsjwtzmx efjpomcdy http://www.bztjangc.egmrzko.com
Posted Tue, 17 Jun 2008
oedr cnrbsyp said:
krnb uxjpcmyie cxjswvz hldf cjnyo onsjwtzmx efjpomcdy http://www.bztjangc.egmrzko.com
Posted Tue, 17 Jun 2008
oedr cnrbsyp said:
krnb uxjpcmyie cxjswvz hldf cjnyo onsjwtzmx efjpomcdy http://www.bztjangc.egmrzko.com
Posted Tue, 17 Jun 2008
szco yxuniorvq said:
bmxzq wqdoxet apiv blneqiog jbqg zqkhileto jsgavhwm fabyjue qzfmgvcun
Posted Tue, 17 Jun 2008