Page 1 of 1


Posted: Tue Oct 02, 2007 12:37 pm
by CoolAcid
OSTCaptcha is a Joomla! 1.5 implementation of Captcha.

Extentions Site: ... Itemid,35/

Feel free to post any issues you are having, or submit them to the JCode site:

Projects that are using this plugin: If you are using this plugin, let me know and I'll add you to this list.

Re: OSTCaptcha

Posted: Sat Oct 06, 2007 7:03 pm
by yvolk
Hi, I've tested OSTCaptcha v.1.0RC1.1 on Joomla! 1.5 RC2 - it works with yvComment v1.7.0 both under PHP 4.4.2 and PHP 5.1.2
The only warnings I got (turning on all errors and warnings) are:
[06-Oct-2007 19:24:53] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in \www\plugins\system\freecap\freecap.php on line 300
[06-Oct-2007 19:24:53] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in \www\plugins\system\freecap\freecap.php on line 301
So I couldn't confirm that "Captcha doesn't work" reports  :(
I may only suggest, that people forgot to "Enable" this Captcha plugin, so it didn't work  :)

Re: OSTCaptcha

Posted: Sun Oct 07, 2007 6:52 pm
by Roaster
Hi Jay,

is there a chance to get OSTCaptcha running with the default com_contact of J1.5, too?

Re: OSTCaptcha

Posted: Wed Oct 10, 2007 12:41 pm
by CoolAcid
com_contact is a Joomla! plugin - There is no plans from the dev group to include that function. One might be inclined to taker com_contact and add captcha support and re-release it as a DIFF patch.

This is not in my plans however.

OSTCaptcha - 'service not available' problem

Posted: Sun Oct 14, 2007 11:15 am
by yvolk
Hi, Jay!

Testing my yvComment, I noticed, that after some browsing through my site (and seeing Captcha
image, but not adding comments), image showed "service not available",
because it showed "secret word" too many times...
This is because Captcha counts, how many times it showed "secret image",
but IMO it should count attempts to recognize secret word (calls of 'confirm' function)!

This is a way, how to implement this:
As I found out, this number of attempts is stored in the "freecap_attempts" session variable.
As I see you have to:
1. Comment this line in plugins/system/freecap/freecap.php:

Code: Select all

// $_SESSION['freecap_attempts']++;
2. Add two lines to the plugins/system/captcha.php file, inside confirm function:

Code: Select all

 } else {
    //yvolk added two lines 2007-10-14
    $session->set('freecap_attempts', $_SESSION['freecap_attempts']);
 return false;
Of cause, this is just a patch and not a smart solution  ;)

And another suggestion, about which we talked already: please add some options to the plugin to strengthen or tighten security
(including fonts to use...)

Re: OSTCaptcha

Posted: Sun Oct 14, 2007 1:54 pm
by CoolAcid
Yep - I understand your problem.

The way it's designed is to stop people/bots from reloading the image a bunch of times until they can see something they understand.

Probably the best way (and I should build a function call for it) is to have the calling plugin clear the count (yvComment in this case) when ever it shows a new page.

The other option, is to only show the image when someone is actually going to add a comment. This can be done using simple JS code (and would look cool too) Probably the best bet would be to implement both.

Re: OSTCaptcha

Posted: Sun Oct 14, 2007 3:34 pm
by yvolk
May you add an option for Captcha to behave one of the two ways:
- as it does now
- and as I suggested

Re: OSTCaptcha

Posted: Mon Nov 05, 2007 11:58 pm
by florut
Hi CoolAcid !

I confirm the bug submitted by yvolk.

Also, it would be really great to have some config options like blur variations. I find the default captcha quite unreadable and i find the freecap lib quite and hard to understand.

Anyway, thanks for your work implementing captcha framework to Joomla!, this is very important. Please continue on this way !

Re: OSTCaptcha

Posted: Thu Mar 27, 2008 8:51 pm
by believe
I have been trying to use OSTCaptcha and BigoCaptcha, but I have been unable to see the captcha image in my registration page or in yvcomment. I am using Community builder and fireboard. How can i get your wonderful plugin to work ??? I there a particular line that I should implement extra code ???


Re: OSTCaptcha

Posted: Sun Jun 08, 2008 5:16 pm
by Johan-Jong
I have exactly the same problem, both with Bigo and OSTWidgits captcha.
The captcha image does not appear, the alt-text does.

Some system info:
Linux 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 18:22:55 CDT 2006 x86_64
Database version: 5.0.19-standard
Database collatie: utf8_general_ci
PHP version: 5.2.5
Webserver: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a FrontPage/ PHP/5.2.5
Webserver to PHP interface: apache2handler
Joomla! version: Joomla! 1.5.3 DutchJoomla! Production/Stable [ Vahi ] 22-April-2008 22:00 GMT
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)

Any ideas?