THT Community

Full Version: How to get rid of captcha
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Open up ajax.php in the /includes folder and look for the code

Code:
//Basic captcha check... thanks http://frikk.tk!
public function humancheck() {
    global $main;
    if($main->getvar['human'] != $_SESSION["pass"]) {
        $_SESSION['check']['human'] = true;
        echo 0;            
    }        
    else {
        $_SESSION['check']['human'] = true;
        echo 1;            
    }
}

Change the echo 0; to echo 1; like so

Code:
//Basic captcha check... thanks http://frikk.tk!
public function humancheck() {
    global $main;
    if($main->getvar['human'] != $_SESSION["pass"]) {
        $_SESSION['check']['human'] = false;
        echo 1;            
    }        
    else {
        $_SESSION['check']['human'] = true;
        echo 1;            
    }
    }

Then open up orderform.tpl in the /includes/tpl/ and look for

Code:
<tr>
    <td><img src="<URL>includes/captcha_image.php"></td>
    <td><input type="text" name="human" id="human" onchange="check('human', this.value)" /></td>
    <td align="left"><a title="Answer the question to prove you are not a bot." class="tooltip"><img src="<URL>themes/icons/information.png" /></a></td>
    <td id="humancheck" align="left">&nbsp;</td>
</tr>

And erase that part completely. This doesn't get rid of captcha but just always passes captcha while at the same time hiding it.
Thank you for posting this. Wink Also, if you didn't want to delete it you could aways hide it with CSS via: style="display: none;"
it still not done.
still showing the human thing. tht's a big problem for my forum.
(01-16-2011, 11:25 PM)infotronix Wrote: [ -> ]it still not done.
still showing the human thing. tht's a big problem for my forum.

I remember having this problem. Dont know where the Human Verification thing is though
Some body help me please.
i need it to start working.
Please make relese it with working captcha or no captcha option. thank you.
it does nto work for me -.- i just keep getting human verification incorecct or somthing liike that on step 5
The ability to remove the captcha will be present in v1.2.5. I might end up pushing it into v1.2.4 if I can.
Nice article having nice information. I would like to appreciate writer 's nice effort.Getting credit card debt relief is not quite as hard as you may think. They key is to do things slowly and surely, putting one foot in front of the other.One good suggestion would be to request a free credit report [free instant credit report] to see how much damage has been done.
This simply doesn't work.

and its apparent the problem has persisted over the years. damn.
I've had a client that's facing a similar issue as well. May I please request a solution that really works?

Thanks in anticipation.
Pages: 1 2