| Re: 2.0.17.1 - Frameworks Captcha in registration |
| by blackrx on 2008/7/29 10:47:20 thanks works in XOOPS 2.0181 too |
| Re: 2.0.17.1 - Frameworks Captcha in registration |
| by SteffJay on 2008/1/23 1:03:33 Bloody excelent jimmyx !!!! I have been looking to sort this thing out for ages... Thanks m8
|
| Re: 2.0.17.1 - Frameworks Captcha in registration |
| by jimmyx on 2007/11/13 16:48:40 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 le="color: #000000"><?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) le="color: #000000"><?php echo "<form action='register.php' method='post'> and replace with this le="color: #000000"><?php echo "<form action='register.php' method='post'>"; 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 le="color: #000000"><?php $stop .= implode('<br />', $GLOBALS['xoopsSecurity']->getErrors())."<br />"; } add this code below le="color: #000000"><?php if(@include_once XOOPS_ROOT_PATH."/Frameworks/captcha/captcha.php") { $xoopsCaptcha = XoopsCaptcha::instance(); if(! $xoopsCaptcha->verify() ) { $stop .= $xoopsCaptcha->getMessage()."<br />"; } } 4. Last step : refresh/update system/clear templates_c |
| Re: 2.0.17.1 - Frameworks Captcha in registration |
| by jimmyx on 2007/11/12 11:06:55 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 |
| Re: 2.0.17.1 - Frameworks Captcha in registration |
| by sato-san on 2007/11/12 10:13:33 Hello @jimmyx, you can take this. René |