Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam Apple Battlefield billige Blocks Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot HP html5 Human HỘ IP iPhone jQuery List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon Room security Sentry site Smartphone Smarty Smoking Spam Studio support tag tags tdmcreate template The Theme themes web weight xoops Xortify

New Users

Registering user

# 137288

samerhadid

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 »


#1 Posted on: 2010/3/10 2:18 New javascript-based captcha for XOOPS
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.

Top

frankblack
Just can't stay away
Just can't stay away
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)


#2 Posted on: 2010/3/10 2:34 Re: New javascript-based captcha for XOOPS
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...

Top

Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7832
(Show More) (Show Less)


#3 Posted on: 2010/3/10 2:43 Re: New javascript-based captcha for XOOPS
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.

Top

frankblack
Just can't stay away
Just can't stay away
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)


#4 Posted on: 2010/3/10 3:36 Re: New javascript-based captcha for XOOPS
that would be, of course, a very good solution!!!

Top

Mamba
Moderator
Moderator
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 7832
(Show More) (Show Less)


#5 Posted on: 2010/3/10 3:58 Re: New javascript-based captcha for XOOPS
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

Top

Burning
Theme Designer
Theme Designer
Joined:
2006/8/22 14:44
Group:
Registered Users
Repository Group
Posts: 1109
(Show More) (Show Less)


#6 Posted on: 2010/3/10 4:05 Re: New javascript-based captcha for XOOPS
Mathematical? Hmm, it is already in the package. text, image or sexycaptcha.

Top

frankblack
Just can't stay away
Just can't stay away
Joined:
2005/6/13 3:03
From D-Schiefbahn
Group:
Registered Users
Posts: 785
(Show More) (Show Less)


#7 Posted on: 2010/7/10 2:51 Re: New javascript-based captcha for XOOPS
Very nice solution... :)

Top


Danordesign - Get XOOPS Modules!
XOOPS Nordic

Runeher
Module Developer
Module Developer
Joined:
2008/1/24 12:46
From Norway
Group:
Registered Users
Posts: 723
(Show More) (Show Less)


#8 Posted on: 2010/7/10 3:48 Re: New javascript-based captcha for XOOPS
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 ??

Top


Programming is like sex:
One mistake and you have to support it for the rest of your life.
culex
Module Developer
Module Developer
Joined:
2004/9/23 5:26
From Skagen, Denmark
Group:
Registered Users
Repository Group
Posts: 639
(Show More) (Show Less)


#9 Posted on: 2010/7/10 13:36 Re: New javascript-based captcha for XOOPS
in this case can we add it for many modules e.g mylinks?
thanks

Top


the road of success is always under construction
mariane
Theme Designer
Theme Designer
Joined:
2008/1/11 9:31
From Lebanon
Group:
Registered Users
Designer Group
Posts: 488
(Show More) (Show Less)


#10 Posted on: 2010/7/13 10:01 Re: New javascript-based captcha for XOOPS
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

Top


Programming is like sex:
One mistake and you have to support it for the rest of your life.
culex
Module Developer
Module Developer
Joined:
2004/9/23 5:26
From Skagen, Denmark
Group:
Registered Users
Repository Group
Posts: 639
(Show More) (Show Less)




(1) 2 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]