Spam protection with image confirmation code (captcha)

Download plugins, language packs and stuff.

Spam protection with image confirmation code (captcha)

Postby FI-DD » Tue Dec 27, 2005 8:29 pm

Protect your comments against spam bots with an image code.



The comment will only show after entering the correct code in the text box.



Image



Installation:
  • Copy the captcha folder and captcha.php to your plugins directory.
  • Activate the plugin in "Options -> Manage plugins".
  • Go to "Options -> Manage templates -> Comment form" and add {captcha} where you want to show the image and text box.


If you can't get it to work try this:
http://forums.cutenewsru.com/spam-prote ... html#13241
Attachments
captcha.zip
Spam protection with image confirmation code (captcha)
(32.08 KiB) Downloaded 1800 times
Last edited by FI-DD on Fri Jul 18, 2008 9:47 am, edited 1 time in total.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

where is the image?

Postby afxback » Fri Dec 30, 2005 10:06 am

It dosnt show any image and botton. where is the image? how dose it work/?
afxback
 
Posts: 134
Joined: Fri Nov 11, 2005 4:59 pm

Postby FI-DD » Fri Dec 30, 2005 5:02 pm

Installation instructions are in the first post. It should work - nobody complained so far. :)
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby PJR » Sat Feb 11, 2006 11:16 am

It gives me an error?!?



Fatal error: Undefined class name 'phpcaptcha' in /mnt/data/accounts/p/punkrock/data/www/administrace/plugins/captcha.php on line 48

PJR
 
Posts: 165
Joined: Mon Oct 17, 2005 3:15 pm
Location: Czech republic

Postby Namila » Thu May 25, 2006 11:10 am

Doesn't work at me :cry: I've read the readme, did the steps 1 to 4 but I've no idea where to put the code from step 5 :?: I tried a lot but got error messages every time. The security image will not be published. My host supports gd2 and my cute news version is 1.4.1.
Namila
 
Posts: 1
Joined: Wed May 24, 2006 10:38 pm

Postby FI-DD » Thu May 25, 2006 6:29 pm

Namila wrote:and my cute news version is 1.4.1.


Then you are in the wrong forum.



Try this one: http://cutephp.com/forum
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Re: Spam protection with image confirmation code (captcha)

Postby SS » Fri Jun 09, 2006 4:04 pm

FI-DD wrote:Protect your comments against spam bots with an image code.



The comment will only show after entering the correct code in the text box.





I installed experimentally this script on some websites and worked ok, but yesterday have put on some hosting and it does not work. The image appears, but without letters. What can be the reason? All files is uploaded. Sample: http://www.pawfineart.com/gallery/2006/06/08/test.html

(sorry for my english)
SS
 
Posts: 32
Joined: Fri Jun 09, 2006 3:51 pm

Postby FI-DD » Sat Jun 10, 2006 1:48 pm

You can try to set the full path to the TrueTypeFont.



Open plugins/captcha/captcha.php and change this:

Code: Select all
$aFonts = array('VeraMoBd.ttf');




to something like this (depending on your path):

Code: Select all
$aFonts = array('/var/myhost/mydomain/public_html/cuteru/plugins/captcha/VeraMoBd.ttf');
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby SS » Sat Jun 10, 2006 5:05 pm

FI-DD wrote:You can try to set the full path to the TrueTypeFont.



Open plugins/captcha/captcha.php and change this:

Code: Select all
$aFonts = array('VeraMoBd.ttf');




to something like this (depending on your path):

Code: Select all
$aFonts = array('/var/myhost/mydomain/public_html/cuteru/plugins/captcha/VeraMoBd.ttf');




Thank you very much!



Yes, text has appeared, but now there is other problem - the entered code is not accepted and appears error:

Code: Select all
Fatal error: Undefined class name 'phpcaptcha' in /homepages/12/d146872239/htdocs/plugins/captcha.php on line 48
SS
 
Posts: 32
Joined: Fri Jun 09, 2006 3:51 pm

Postby SS » Sat Jun 10, 2006 6:13 pm

Now the problem is solved, but the code very difficultly distinguishes (though I am confident that type correctly as on others servers this script works well). Nevertheless there is a problem, after acceptance of a code, there is a form in which it is necessary to enter some password. Strange. The password of admin is accepted only. However in admin setings is enabled all comments...
SS
 
Posts: 32
Joined: Fri Jun 09, 2006 3:51 pm

Postby SS » Mon Jun 12, 2006 2:30 am

The problem is solved, but has bug. Captca validate code only after second attempt (after click on back). If I open page first time, or refreshed it, the code will be never accepted. See - http://sgallery.net/artnews/
SS
 
Posts: 32
Joined: Fri Jun 09, 2006 3:51 pm

Postby FI-DD » Mon Jun 12, 2006 6:31 pm

I tested it twice and it worked twice (first try).
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby SS » Mon Jun 12, 2006 7:59 pm

FI-DD wrote:I tested it twice and it worked twice (first try).


Thank you!

Strange... However it is good news for me. I thought of it, what is it can be only on my computer, as has installed recently IE7 and have noticed many bugs.
SS
 
Posts: 32
Joined: Fri Jun 09, 2006 3:51 pm

Postby raspb3rry » Thu Jun 22, 2006 6:22 am

The image doesn't appear for me, even after changing it to my own path >.<.



If my normal path to my cutenews script is:



Code: Select all
/home/miso/public_html/z/




then I will need to put this right?



Code: Select all
/home/miso/public_html/z/plugins/captcha/VeraMoBd.ttf




^^^ But that doesn't work, because the image doesn't turn up!
raspb3rry
 
Posts: 12
Joined: Thu Jun 22, 2006 5:39 am

Postby FI-DD » Thu Jun 22, 2006 9:01 am

I can't really help you with this. The path seems to be different from server to server. Try and change the path until it works (hopefully).
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Next

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron