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

  • 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

if(JFactory::getApplication()->isAdmin())
        return true;

Best Recommended Joomla Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable Joomla Hosting. Joomla 3.4 Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your Joomla website. Joomla is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.