Get XOOPS XOOPS FAQ Forums News Themes Modules
News World of XOOPS Developers Hacks Modules Themes YAXS Archive Submit News

XOOPS vs. Herko Coomans

Local Support

Make a donation

Please select an amount to donate


Do you want your username revealed with your donation?
Yes - List me as a Generous Donor
No - List my donation as from an Anonymous Donor


Search

Twitter News

Cumulus Tag Cloud

admin Arabic banner block Christmas comments cumulus DayDawn dhsoft e-Commerce E-Learning Google GUI hacks instant-zero jQuery module news Nordic Olédrion oxygen PageRank security SEO simple-XOOPS sport tag Theme wiki xoops

New Users

Registering user

# 117251

gerd69

Welcome to XOOPS!

Archives

Advertisement

XOOPS Code hosted on SourceForge

Xoops reCaptcha class v1.00 beta

Posted by Catzwolf on 2010/7/25 11:00:00 (825 reads) | Posted on Hacks
What is Xoops reCaptcha?

Xoops reCaptcha is class that will allow users to add and use reCaptcha widget to prevent spam being posted on their website.

This class can be used in conjunction with the Xoops Captcha or it can replace it all together, with just few lines of code.

While this class can be utilized by anyone, it is aim more at Xoops developers wishing to add reCaptcha to their code.

The class is cleanly written and has developer comments to help aid you in it's usage and there is also documentation within the package that will explain how to add the required calls to make it work.

For its usage, you will be required to create a private and public key and these can be entered one of two ways (Again, this is explained in the documentation).

Xoops reCaptcha, can be used in two ways, either within XoopsFormclass or statically through its own API and methods.

There are examples of its usage within the documentation.

Xoops reCaptcha v1.00 is beta and should not be considered ready for a production website, but used to help with further development.

While I have tried to make this as easy to use as possible, it is not for total beginners. If you require help with this class, I am sure people at the Xoops forum will only be to glad to help out.

You can download this class from the following:
Xoops reCaptcha v1.00

Please submit bugs and features here:
bugs and feature requests


Printer Friendly Page Send this Story to a Friend Create a PDF from the article


Bookmark this article at these sites

                   

The comments are owned by the poster. We aren't responsible for their content.

Thank you ! I hop it unclouded in xoops 2.5
Posted: 2010/7/25 13:31 • Updated: 2010/7/25 13:31
unfortunately, recaptcha unable to stop SPAM registration in my websites (xoops based). XOOPS needs better captcha than that.

p/s: xoops framework captcha even worst.
Posted: 2010/7/25 23:16 • Updated: 2010/7/25 23:16
@Novosmart, so what you are saying that there is an issue with Xoops and spam and not reCaptcha and spam? I assume that reCaptcha then works for you on non Xoops based sites or that this newly create captcha for Xoops doesn't work?

Which of the above is right and where do we need to start looking to solve the problem?
Posted: 2010/7/26 0:35 • Updated: 2010/7/26 0:35
reCaptcha is not effective to slow down SPAM in any website that i have (but somehow XOOPS worst than others), however non-xoops based somehow have alternative captcha that could significantly reduce the SPAM registration. One bad thing about XOOPS is... there is no other better captcha alternative.

Unfortunately, I'm too busy to code my own captcha (i'm digital image processing guy) now, and I hope XOOPS have someone that have DIP experience to come-out with higher quality captcha.

p/s: reCaptcha actually weak
Posted: 2010/7/26 2:27 • Updated: 2010/7/26 2:27
Novasmart, you can try the Captcha from Frankblack: see here
Posted: 2010/7/26 4:11 • Updated: 2010/7/26 4:12
Quote:
where do we need to start looking to solve the problem?

Block direct access to register.php. (you need to read the whole thread).

Would be nice to get some feedback about this as it works 100% with my Coppermine gallery which was getting hammered.
Posted: 2010/7/26 5:37 • Updated: 2010/7/26 5:41
Trying to understand (in the post of novasmart) if spammers can understand and fill xoops Captcha and reCaptcha or have found another way to bypass without complete any of these...
Posted: 2010/7/26 9:06 • Updated: 2010/7/26 9:06
The problem is that using reCaptcha alone will not stop spammers, it's there to help against bots and it is not 100% full proof.

I am working on another solution that judges posts and give them spam points using Akismet. I should have something either later today or tomorrow for testing.
Posted: 2010/7/26 11:53 • Updated: 2010/7/26 11:53
Quote:
The problem is that using reCaptcha alone will not stop spammers, it's there to help against bots and it is not 100% full proof.

Nothing ever is I would suggest a set of different captcha methods, and select them randomly. One time it could be a picture, other time reCaptcha, other time a math question. This would throw off some of the bots.
Posted: 2010/7/26 15:05 • Updated: 2010/7/26 15:05
Quote:
Nothing ever is I would suggest a set of different captcha methods, and select them randomly. One time it could be a picture, other time reCaptcha, other time a math question. This would throw off some of the bots.


or Admin can select what that he need !!
Posted: 2010/7/26 15:15 • Updated: 2010/7/26 15:15
The problem with what you are saying is this, Xoops currently has no mechanism in place to allow developers to add custom configuration and this means that users have to go and edit config files.

This is why Xoops is losing the CMS battle with other CMS's right now. Everything that module developers, theme developers and users have go through loops to do simplest tasks that others CMS users take for granted and I don't see that changing any time soon.
Posted: 2010/7/26 16:00 • Updated: 2010/7/26 16:00
Blocking direct access to register.php will stop robot registrations by a significant amount, if not completely. Your money back if you can prove me wrong
Posted: 2010/7/26 16:07 • Updated: 2010/7/26 16:07
... and if you do prove me wrong, my next suggestion would be a 'nonce'. Add a random value to the session variable, submit it in the registration form and perform a match in register.php.

But I'm confident you won't need to do that.
Posted: 2010/7/26 16:15 • Updated: 2010/7/26 16:15
Quote:
Xoops currently has no mechanism in place to allow developers to add custom configuration and this means that users have to go and edit config files.

Maybe not much longer! Eduardo has already a reCaptcha plugin working in his RMCommons

BTW - let's move the discussion to this thread in the forums
Posted: 2010/7/26 17:13 • Updated: 2010/7/26 17:22