Tutorial

For those of you that don't like Captcha or specifically reCaptcha that Dolphin 7.1.x now includes this tutorial will show you how to remove it.

If you haven't Added and Activate Captcha in Dolphin 7.1 you can skip this first part.

If you have added captcha already, then you can remove your reCaptcha keys from your Dolphin 7.1.x Administration panel.

You can find a direct link in your Dolphin 7.1.x Administration Dashboard after logging in here:

Generate reCaptcha Keys



Alternatively you can go to:
Settings
-Advanced Settings
--Security

Enter Dolphin Captcha Keys



Then, remove your ReCAPTCHA public key and ReCAPTCHA private key and save the changes.

After that, you can remove the captcha from your Join, Forgot, and Contact pages.

To remove it from the Join page you need to go to your Dolphin 7.1.x Administration.
Go to:
Builders
-Profile Fields
--Join Form

In the "Active Items" section locate the "Captcha" block under "Security Image" column.

Profile Fields Join



Drag the "Captcha" block down to the "Inactive Items" section.

Captcha Inactive



This will remove it from the Join page.

You will probably want to move the "TermsOfUse" block over to the "Misc Info" column, and then move the "Security Image" block to the "Inactive Blocks" section as well. Otherwise, Security Image text will be displayed on the Join form, but no image/captcha will be showing, which will probably confuse a few people.

Terms of use Security Image



That takes care of the captcha on the Join page.


The other two pages Contact (contact.php) and Forgot (forgot.php) have captcha hard coded into the files. In order to remove it from these pages you will need to manually edit them with your hosts file manager, ftp client, text editor, etc.

Consider backing up the files before editing them just in case you mess up.

They are located in the Dolphin main/root directory or:
yoursite.com/contact.php
yoursite.com/forgot.php

Open contact.php and look for the captcha line of code:

            'captcha' => array(
                'type' => 'captcha',
                'caption' => _t('_Enter what you see'),
                'name' => 'securityImageValue',
                'required' => true,
                'checker' => array(
                    'func' => 'captcha',
                    'error' => _t( '_Incorrect Captcha' ),
                ),
            ),

You can either remove the code completely, or comment the code out with /* */ like so:

            /*'captcha' => array(
                'type' => 'captcha',
                'caption' => _t('_Enter what you see'),
                'name' => 'securityImageValue',
                'required' => true,
                'checker' => array(
                    'func' => 'captcha',
                    'error' => _t( '_Incorrect Captcha' ),
                ),
            ),*/

Then, save the changes to contact.php back to your hosting account.

Navigate to yoursite.com/contact.php and the captcha should be gone. Send yourself a message with the contact page/form to make sure it still works properly just in case.

No Captcha Contact



Then, open forgot.php and find the captcha lines of code again:

        array(
            'type' => 'captcha',
            'name' => 'captcha',
            'caption' => _t('_Enter Captcha'),
            'required' => true,
            'checker' => array(
                'func' => 'captcha',
                'error' => _t( '_Incorrect Captcha' ),
            ),
        ),

Either remove those lines of code or comment them out again like so:

       /* array(
            'type' => 'captcha',
            'name' => 'captcha',
            'caption' => _t('_Enter Captcha'),
            'required' => true,
            'checker' => array(
                'func' => 'captcha',
                'error' => _t( '_Incorrect Captcha' ),
            ),
        ),*/

Then, save the changes to join.php back to your hosting account.

Navigate to yoursite.com/forgot.php and the captcha should be gone. You might test the forgot page/form to make sure it still works properly just in case as well.

No Captcha Forgot



Additionally:
There are a few things to keep in mind. The changes you made using the Dolphin Administration Profile Fields Builder to the Join form/page should remain after an upgrade.

The changes you make to contact.php and forgot.php may or may not remain after an upgrade. For instance if Boonex happens to release an upgrade that includes changes to contact.php, forgot.php, or both you would need to reapply these changes.

Fortunately these two pages are not something that would likely change that much in an upgrade, but it's something to keep in mind and remember if you do change them.

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Sponsored Links
Recommend