How to Removing the captcha code from middle of registration page in Joomla

5 (100%) 1 vote

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

ima22

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