Skip to Content Skip to Menu

Using the "CB Captcha" feature in own CB plugin

  • Kampp
  • Kampp
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 12
16 years 10 months ago #52550 by Kampp

Sorry that there is a confusion between captcha 1.0 and 2.0, as we decided to keep captcha version 1.0 freely downloadable for some time.

Does that mean Captcha 1.0 at some point will be replaced by 2.0 or simply disapear?

What do I need for it to work with Captcha 1.0? I really want it to work with both versions.

I tried your code with captcha 2.0. The only thing that seems to error is the no matter what I type in the captcha field it get's accepted. What am I doing wrong?

Post edited by: Kampp, at: 2007/12/16 22:18

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in or Create an account to join the conversation.

  • Kampp
  • Kampp
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 12
16 years 9 months ago #53133 by Kampp
Bump... and a merry Christmas :)

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
16 years 9 months ago #53136 by nant

Please Log in or Create an account to join the conversation.

  • Kampp
  • Kampp
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 12
16 years 9 months ago #53369 by Kampp
Will the Captcha 2.0 take over when the 1.0 dies or will there simply not be any captcha module any longer unless you are member of the documentation?

@ Beat - I tried your code with captcha 2.0. The only thing that seems to error is the no matter what I type in the captcha field it get's accepted. What am I doing wrong?

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in or Create an account to join the conversation.

  • Kampp
  • Kampp
  • OFFLINE
  • Posts: 76
  • Thanks: 10
  • Karma: 12
16 years 9 months ago #53628 by Kampp
Ok, Beat...

I did some testing. No matter what is written in the captcha filed I get the following array
[code:1]Array ( [0] => 1 )[/code:1]
In other word that it was correct!
returned from:
[code:1]global $_PLUGINS;
$_PLUGINS->loadPluginGroup('user');
$pluginsResults = $_PLUGINS->trigger( 'onCheckCaptchaHtmlElements', array( ) );[/code:1]
Is there something wrong with the check of captcha field in the Captcha plugin?

Edit:
If I write nothing at all in the captcha filed it is also approved... Could this mean that the code set's it to 1 at first and then changes it to 0 if not approved, but something goes wrong during this process?

Post edited by: Kampp, at: 2008/01/04 22:17

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in or Create an account to join the conversation.

  • ewel
  • ewel
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
16 years 2 days ago #77653 by ewel
I have tried and tried but I cannot get anything out of the class for non-CB uses of the Captcha plugin. My best guess is that the class does not actually work. Could that be? It would be great if the Joomlapolis team could check into this, because I would love to be able to use the CB Captcha plugin in those few places where I need one besides in CB.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum