1
wishcraft
Profile 1.68 - Recaptcha for disability Support

Profile 1.68
Verbose Validation Edition
Sponsored by TXMod Xoops, Child Share, AFS Espania

Profile 1.68 is a version of Profile module for XOOPS that allows for a verbose registration to be done.

This has a field for validation that allows for Text Match, RegEx or SQL Validation to be used to prevent people registering with your website without having validation data of sometype such as an existing email address or an invite code or some regular expression statement.

Featuring still Multiple Fields, 2 Types of validation - one which uses JSON; the other that uses the Field $_POST validation method.

Simply upgrade your existing XOOPS 2.4 or 2.5 to XOOPS Profile 1.65 to experience the difference. We can really recommend XinCodes 1.05 for a user based invitation to be done.


New in this feature:
  • Recaptcha.net - Remember to change the API Keys


Some Other Features:
  • Verbose Validation - SQL or Match or RegEx Match Validation
  • Directory - Browsable directory of users
  • Multifielded User Profiles - Set your own variables


Download: xoops2.5_profile_1.68.zip - 133 Kb

Demo: Pre installed at http://xoops.demo.chronolabs.coop or try http://www.xortify.com/register.php and put in my email address for validation. Notice how it unlocks the form wherever it is.

--=[ Example SQL Validation for a basis of pre-existing users email, remember to change 'prefix']=--

Select count(*) from `prefix_userswhere `emailLIKE "[value]" and `level` > 0
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

2
timgno
Re: Profile 1.68 - Recaptcha for disability Support
  • 2011/5/19 8:45

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Thank you for this job simon!

It 'easier to modify the beta version for xoops 2.4.x, as this is also good for comments?

the code that I used and arises to change is this:
register.php
/* reCaptcha hack */ 
xoops_load('XoopsRecaptcha'); 
$xoopsRecaptcha =& XoopsRecaptcha::getInstance(); 
$xoopsRecaptcha->getConfig(); 
if (!
$xoopsRecaptcha->doValidate() ) 

    
$stop .= $xoopsRecaptcha->getErrors(true); 
}

forms.php
/* hack reCaptcha  */
if ($step_no == 1

   
$caption'Codice di verifica'$privatekey=''$publickey='';
   
$reg_form->addElement( new XoopsFormRecaptcha($caption$privatekey$publickey ), true ); 
}


does not work if I send the registration, blank page

3
wishcraft
Re: Profile 1.68 - Recaptcha for disability Support

I Just imported Recaptcha from the ban module here on the svn :: http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/xortify/cloud/1.22/htdocs/modules/ban/
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

4
timgno
Re: Profile 1.68 - Recaptcha for disability Support
  • 2011/5/19 11:28

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


ReCaptcha Class - this is better because it can be used in the profile, comments and contact module

5
wishcraft
Re: Profile 1.68 - Recaptcha for disability Support

It can't alter the core. It has to operate within the module to be a correct core change for the release with 2.5.2 and so on with xortify as well 2.48.

Sorry plus it is only 1.00 version of it on a remote unsupport part of the web. Hideous Google Code.
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

6
fdeconiac
Re: Profile 1.68 - Recaptcha for disability Support
  • 2011/5/19 20:32

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


Hi Wishcraft,

I meet a problem with captcha.

I tried to validate register form without entering captcha :
- the page refresh with the error message
- pwd fields get empty

Up to there that is normal... except that the captcha doesn't appear again... it's replaced by this message :
"Input error: Invalid referer"

Tks for your help

7
fdeconiac
Re: Profile 1.68 - Recaptcha for disability Support
  • 2011/5/19 20:35

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


By the way, is there an option to deactivate the captcha ?

I don't need it as i'm using already the validation code...

8
timgno
Re: Profile 1.68 - Recaptcha for disability Support
  • 2011/5/20 8:54

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
wishcraft wrote:
Sorry plus it is only 1.00 version of it on a remote unsupport part of the web. Hideous Google Code.


now it works, this in the core for comments, profile and contact modules

Register on TXMod Xoops
Contact TXMod Xoops

I'm trying to insert also in mylinks module

9
timgno
Re: Profile 1.68 - Recaptcha for disability Support
  • 2011/6/5 10:34

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


you should add the reCaptcha for any step to more security

10
wishcraft
Re: Profile 1.68 - Recaptcha for disability Support

Here is what I did for links, i made it so there are 5 links you have to put on the site linking to the site for backlinking, that doesn't allow for a link to be added unless it can find 1 of 5 combinations of HTML on the site being linked to.

Download: http://cid-6580d2a11c091017.office.live.com/self.aspx/XOOPS%20Modules/Wflinks/xoops2%5E_JQuery%5E_wflinks.zip

Your theme requires JQuery for this module to work.
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

144 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

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

Latest GitHub Commits