• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Remove Captcha

Demian

New Member
Joined
Sep 10, 2010
Messages
36
Reaction score
0
i have error image no working.
help for remove or disable captcha
srry my English
i use modern aac
 
Try
  • system/application/controllers/accounts.php
Replace this:
PHP:
		function _checkCaptcha($word) {
			if(strtolower($word) == strtolower($_SESSION['captcha']) && !empty($_SESSION['captcha'])) {
				return true;
			}
			else {
				$this->form_validation->set_message('_checkCaptcha', 'Captcha word is incorrect.');
				return false;
		}
With this:
PHP:
		function _checkCaptcha($word) {
			/*if(strtolower($word) == strtolower($_SESSION['captcha']) && !empty($_SESSION['captcha'])) {
				return true;
			}
			else {
				$this->form_validation->set_message('_checkCaptcha', 'Captcha word is incorrect.');
				return false;*/
			return true;
		}
  • system/application/views/create.php
Delete this:
PHP:
<fieldset>
                        <legend>Security image</legend>
                        <div class="table">
                                <ul style="width: 30%">
                                        <li class="even">
                                                
                                        </li>
                                        <li class="even">
                                                <label>Captcha World</label>
                                        </li>
                                </ul>
                                <ul style="width: 70%">
                                        <li class="even">
                                                <?php echo $captcha;?>
                                        </li>
                                        <li class="even">
                                                 <input type='text' name='captcha'/> 
                                        </li>
                                </ul>
                        </div>
                </fieldset>
 
Try
  • system/application/controllers/accounts.php
Replace this:
PHP:
		function _checkCaptcha($word) {
			if(strtolower($word) == strtolower($_SESSION['captcha']) && !empty($_SESSION['captcha'])) {
				return true;
			}
			else {
				$this->form_validation->set_message('_checkCaptcha', 'Captcha word is incorrect.');
				return false;
		}
With this:
PHP:
		function _checkCaptcha($word) {
			/*if(strtolower($word) == strtolower($_SESSION['captcha']) && !empty($_SESSION['captcha'])) {
				return true;
			}
			else {
				$this->form_validation->set_message('_checkCaptcha', 'Captcha word is incorrect.');
				return false;*/
			return true;
		}
  • system/application/views/create.php
Delete this:
PHP:
<fieldset>
                        <legend>Security image</legend>
                        <div class="table">
                                <ul style="width: 30%">
                                        <li class="even">
                                                
                                        </li>
                                        <li class="even">
                                                <label>Captcha World</label>
                                        </li>
                                </ul>
                                <ul style="width: 70%">
                                        <li class="even">
                                                <?php echo $captcha;?>
                                        </li>
                                        <li class="even">
                                                 <input type='text' name='captcha'/> 
                                        </li>
                                </ul>
                        </div>
                </fieldset>


in account.php

must also remove the line

$this->form_validation->set_rules('captcha', 'Captcha', 'required|callback__checkCaptcha');
 
Back
Top