OSTCaptcha

Do you have an Open Source Product available for Joomla!? Let everyone know here.
Forum rules
Global Rules
Additional Rules for this forum <------- Please read before posting
Locked
User avatar
CoolAcid
Joomla! Guru
Joomla! Guru
Posts: 786
Joined: Wed Nov 08, 2006 1:45 am
Location: Ontario, Canada
Contact:

OSTCaptcha

Post by CoolAcid » Tue Oct 02, 2007 12:37 pm

OSTCaptcha is a Joomla! 1.5 implementation of Captcha.

Extentions Site: http://extensions.joomla.org/component/ ... Itemid,35/

Feel free to post any issues you are having, or submit them to the JCode site: http://joomlacode.org/gf/project/ostwigits/

Projects that are using this plugin: If you are using this plugin, let me know and I'll add you to this list.
Last edited by CoolAcid on Wed Oct 10, 2007 12:45 pm, edited 1 time in total.
Thank you for calling the GOD department. What Now?
- My Blog: http://www.coolacid.net

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: OSTCaptcha

Post by yvolk » Sat Oct 06, 2007 7:03 pm

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  :)
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

Roaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Aug 12, 2007 7:50 pm

Re: OSTCaptcha

Post by Roaster » Sun Oct 07, 2007 6:52 pm

Hi Jay,

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

User avatar
CoolAcid
Joomla! Guru
Joomla! Guru
Posts: 786
Joined: Wed Nov 08, 2006 1:45 am
Location: Ontario, Canada
Contact:

Re: OSTCaptcha

Post by CoolAcid » Wed Oct 10, 2007 12:41 pm

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.
Thank you for calling the GOD department. What Now?
- My Blog: http://www.coolacid.net

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

OSTCaptcha - 'service not available' problem

Post by yvolk » Sun Oct 14, 2007 11:15 am

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['freecap_attempts']++;
    $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...)
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
CoolAcid
Joomla! Guru
Joomla! Guru
Posts: 786
Joined: Wed Nov 08, 2006 1:45 am
Location: Ontario, Canada
Contact:

Re: OSTCaptcha

Post by CoolAcid » Sun Oct 14, 2007 1:54 pm

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.
Thank you for calling the GOD department. What Now?
- My Blog: http://www.coolacid.net

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: OSTCaptcha

Post by yvolk » Sun Oct 14, 2007 3:34 pm

May you add an option for Captcha to behave one of the two ways:
- as it does now
- and as I suggested
?
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

florut
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu May 25, 2006 6:01 am
Location: Grenoble, FRANCE
Contact:

Re: OSTCaptcha

Post by florut » Mon Nov 05, 2007 11:58 pm

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 !

believe
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 101
Joined: Wed Oct 24, 2007 11:18 pm

Re: OSTCaptcha

Post by believe » Thu Mar 27, 2008 8:51 pm

Hello,
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 ???

Believe

User avatar
Johan-Jong
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jun 08, 2008 5:09 pm

Re: OSTCaptcha

Post by Johan-Jong » Sun Jun 08, 2008 5:16 pm

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 w01.xentronix.nl 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/5.0.2.2634 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?


Locked

Return to “Open Source Products for Joomla!”