(1) 2 3 »
frankblack frankblack
  • Just can't stay away
  • Just can't stay away
  • Joined: 2005/6/13 4:03
  • From D-Schiefbahn
  • Group: Registered Users
  • Posts: 830
  • Posted on: 2010/3/10 3:18
New javascript-based captcha for XOOPS #1
I hacked class/captcha a bit to introduce a new graphical captcha to XOOPS. Original code you will find HERE.

Requirements:
1. jquery.js must be included in theme
2. PHP 5 >= 5.2.0, PECL json >= 1.2.0
3. Do NOT use any other javascript frameworks like mootools on the same page as the captcha

Download: HERE

Good luck and have fun.
Mamba Mamba
  • Moderator
  • Moderator
  • Joined: 2004/4/23 14:58
  • From Ohio, USA
  • Group: Webmaster Registered Users Designer Group Super Moderator
  • Posts: 10293
  • Posted on: 2010/3/10 3:34
Re: New javascript-based captcha for XOOPS #2
Fantastic!!!

How difficult would be to create a Captcha module that would offer a standard API, so users could have several different Captcha implementations installed with that module, and be able to select which Captcha they want to use.

Other modules could use this one as a "helper" module...
frankblack frankblack
  • Just can't stay away
  • Just can't stay away
  • Joined: 2005/6/13 4:03
  • From D-Schiefbahn
  • Group: Registered Users
  • Posts: 830
  • Posted on: 2010/3/10 3:43
Re: New javascript-based captcha for XOOPS #3
Is there really a need for a captcha module? Instead some configurations like captchas and debugging should be moved to the system configuration.

Perhaps the core has to be modified that way, that captchas and debuggers can be added as a plugin. Once the plugin is moved to a certain folder the plugin will be displayed in the system configuration.

Just an idea.
Mamba Mamba
  • Moderator
  • Moderator
  • Joined: 2004/4/23 14:58
  • From Ohio, USA
  • Group: Webmaster Registered Users Designer Group Super Moderator
  • Posts: 10293
  • Posted on: 2010/3/10 4:36
Re: New javascript-based captcha for XOOPS #4
that would be, of course, a very good solution!!!
Burning Burning
  • Theme Designer
  • Theme Designer
  • Joined: 2006/8/22 15:44
  • Group: Registered Users Repository Group
  • Posts: 1163
  • Posted on: 2010/3/10 4:58
Re: New javascript-based captcha for XOOPS #5
hi'

I love the sexy captcha ! However something more discreet could be nice too (I'm thinking about a simple mathematical operation).

... it is not I who will make the development, so it is just an idea
frankblack frankblack
  • Just can't stay away
  • Just can't stay away
  • Joined: 2005/6/13 4:03
  • From D-Schiefbahn
  • Group: Registered Users
  • Posts: 830
  • Posted on: 2010/3/10 5:05
Re: New javascript-based captcha for XOOPS #6
Mathematical? Hmm, it is already in the package. text, image or sexycaptcha.
Runeher Runeher
  • Module Developer
  • Module Developer
  • Joined: 2008/1/24 13:46
  • From Norway
  • Group: Registered Users
  • Posts: 819
  • Posted on: 2010/7/10 3:51
Re: New javascript-based captcha for XOOPS #7
Very nice solution... :)
culex culex
  • Module Developer
  • Module Developer
  • Joined: 2004/9/23 6:26
  • From Skagen, Denmark
  • Group: Registered Users Repository Group
  • Posts: 705
  • Posted on: 2010/7/10 4:48
Re: New javascript-based captcha for XOOPS #8
Cool..

if you use

<script>
var xoops_sexycaptcha = jQuery.noConflict();
</script>

And then rename all $ to xoops_sexycaptcha in js.

You still cannot use with other frameworks ??
Programming is like sex:
One mistake and you have to support it for the rest of your life.
mariane mariane
  • Theme Designer
  • Theme Designer
  • Joined: 2008/1/11 10:31
  • From Lebanon
  • Group: Registered Users Designer Group
  • Posts: 649
  • Posted on: 2010/7/10 14:36
Re: New javascript-based captcha for XOOPS #9
in this case can we add it for many modules e.g mylinks?
thanks
the road of success is always under construction
culex culex
  • Module Developer
  • Module Developer
  • Joined: 2004/9/23 6:26
  • From Skagen, Denmark
  • Group: Registered Users Repository Group
  • Posts: 705
  • Posted on: 2010/7/13 11:01
Re: New javascript-based captcha for XOOPS #10
Hey Frank this is a great hack,

I have implimented a renamed function to this great hack to make it work with other javascript frameworks also.

Hope you can use
Programming is like sex:
One mistake and you have to support it for the rest of your life.
How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team