1
jimmyx
2.0.17.1 - Frameworks Captcha in registration
  • 2007/10/21 14:16

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


how to make this guide which is the guide to enable frameworks captcha in registration form for XOOPS 2.016 to work in the latest version XOOPS 2.0.17.1 Final ?

the guide works great in my previous XOOPS version 2016
what i like about this captcha in regsitartion page hack it helps to prevent user to forget to click
the finish buttons which always happened in my site before i use the hack


or is there any better alternative ?

2
McDonald
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2007/10/21 14:27

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Maybe the guide "XOOPS Captcha fixes for 2.0.17 and 2.2.5" can help you.

3
jimmyx
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2007/10/21 14:43

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


great....thanks for the fast response

just one problem ...is there a way to make the captcha field appear in the 2nd page of the registration process like the2016 Guide ? i prefer it to be that way

example : try register here ...http://xoopsforge.com/register.php

complete the details....hit submit..and the captcha field only appear in the 2nd process of registration..don't complete the regsitation..i just want to show an example

4
jimmyx
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2007/11/12 9:28

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


bump...any idea ?

5
sato-san
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2007/11/12 10:13

  • sato-san

  • Quite a regular

  • Posts: 224

  • Since: 2005/7/1 1


Hello @jimmyx,

you can take this.

René

6
jimmyx
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2007/11/12 11:06

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


Thanks

i've installed it in my site..the captcha appear in 1st page of my registration page..

what i really want is the captcha in 2nd registration page
just like in your site http://www.xoops-magazine.com/register.php

7
jimmyx
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2007/11/13 16:48

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


ok I've solved this based on skenow 2016 guide..

Guide: to make frameworks captcha appear in 2nd page of registration form in XOOPS 2.0.17.1

1. Install Frameworks

2. open /class/xoopsformloader.php

include_once XOOPS_ROOT_PATH."/Frameworks/captcha/formcaptcha.php";

add this to the last line before ?>

3. Open register.php

Find this code (line 149)
echo "


and replace with this

echo "";
        if(@include_once 
XOOPS_ROOT_PATH."/Frameworks/captcha/formcaptcha.php") {
        
$cpatcha = new XoopsFormCaptcha();
        echo 
$cpatcha->getCaption().": ".$cpatcha->render();
        }
    echo 
"


Go to line 175 find this
$stop .= implode(''$GLOBALS['xoopsSecurity']->getErrors())."";
    }


add this code below
if(@include_once XOOPS_ROOT_PATH."/Frameworks/captcha/captcha.php") {
$xoopsCaptcha XoopsCaptcha::instance();
if(! 
$xoopsCaptcha->verify() ) {
$stop .= $xoopsCaptcha->getMessage()."";
}
}


4. Last step : refresh/update system/clear templates_c

8
SteffJay
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2008/1/23 1:03

  • SteffJay

  • Just popping in

  • Posts: 2

  • Since: 2008/1/21


Bloody excelent jimmyx !!!! I have been looking to sort this thing out for ages... Thanks m8

9
blackrx
Re: 2.0.17.1 - Frameworks Captcha in registration
  • 2008/7/29 10:47

  • blackrx

  • Quite a regular

  • Posts: 227

  • Since: 2008/2/5 1


thanks works in XOOPS 2.0181 too

Login

Who's Online

397 user(s) are online (254 user(s) are browsing Support Forums)


Members: 0


Guests: 397


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