The Joomla! Forum ™



Forum rules


Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: OSTCaptcha
PostPosted: Tue Oct 02, 2007 12:37 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Nov 08, 2006 1:45 am
Posts: 785
Location: Ontario, Canada
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.

_________________
Thank you for calling the GOD department. What Now?
- My Blog: http://www.coolacid.net


Last edited by CoolAcid on Wed Oct 10, 2007 12:45 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Sat Oct 06, 2007 7:03 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 965
Location: Moscow, Russia
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


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Sun Oct 07, 2007 6:52 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Aug 12, 2007 7:50 pm
Posts: 27
Hi Jay,

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

_________________
cu,
Michael


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Wed Oct 10, 2007 12:41 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Nov 08, 2006 1:45 am
Posts: 785
Location: Ontario, Canada
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


Top
 Profile  
 
PostPosted: Sun Oct 14, 2007 11:15 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 965
Location: Moscow, Russia
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:
// $_SESSION['freecap_attempts']++;

2. Add two lines to the plugins/system/captcha.php file, inside confirm function:
Code:
 } 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


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Sun Oct 14, 2007 1:54 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Nov 08, 2006 1:45 am
Posts: 785
Location: Ontario, Canada
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


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Sun Oct 14, 2007 3:34 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 965
Location: Moscow, Russia
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


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Mon Nov 05, 2007 11:58 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 25, 2006 6:01 am
Posts: 14
Location: Grenoble, FRANCE
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 !


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Thu Mar 27, 2008 8:51 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Wed Oct 24, 2007 11:18 pm
Posts: 101
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


Top
 Profile  
 
 Post subject: Re: OSTCaptcha
PostPosted: Sun Jun 08, 2008 5:16 pm 
User avatar
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Jun 08, 2008 5:09 pm
Posts: 1
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 



Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group