Notice: A non well formed numeric value encountered in C:\ClientSites\bestaspnethostingreview.com\httpdocs\wp-content\plugins\crayon-syntax-highlighter\crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in C:\ClientSites\bestaspnethostingreview.com\httpdocs\wp-content\plugins\crayon-syntax-highlighter\crayon_formatter.class.php on line 119
BestASPNETHostingReview.com | Best and cheap Joomla hosting. In this post we will show you how to Removing the captcha code from middle of registration page in Joomla, lets check it out.
- Open the file: components/com_users/models/forms/registration.xml
- You will find a XML tage here at the end like:
<field
name=”captcha”
type=”captcha”
label=”COM_USERS_CAPTCHA_LABEL”
description=”COM_USERS_CAPTCHA_DESC”
validate=”captcha”
/>
- CUT THIS CODE AND SAVE THE FILE
- Now, open the file: plugins/user/profile/profiles/profile.xml
- Now, paste the above cut code just above the closing fieldset tag .i.e. </fieldset>
- SAVE THE FILE AND you are DONE !!!
Warning!! The above steps work perfectly fine in frontend, but when you go to the backend, in user manager, when you click on any user you might get and error like this
You need to do the following to fix it
- Open the file: libraries/cms/form/field/captcha.php
- Find the function public function setup(&$element, $value, $group = null)
- Add this code in the first lines
if(JFactory::getApplication()->isAdmin())
return ”;
- Open the file: libraries/cms/form/rule/captcha.php
- Find the function test(&$element, $value, $group = null, &$input = null, &$form = null)
- Add this code in the first lines
1 2 | if(JFactory::getApplication()->isAdmin()) return true; |