Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get rid of captcha
#1
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.
Reply
#2
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;"
Kevin Mark - TheHostingTool Lead Developer
Reply
#3
it still not done.
still showing the human thing. tht's a big problem for my forum.
Reply
#4
(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
Reply
#5
Some body help me please.
i need it to start working.
Please make relese it with working captcha or no captcha option. thank you.
Reply
#6
it does nto work for me -.- i just keep getting human verification incorecct or somthing liike that on step 5
Reply
#7
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.
Kevin Mark - TheHostingTool Lead Developer
Reply
#8
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.
Reply
#9
This simply doesn't work.

and its apparent the problem has persisted over the years. damn.
Reply
#10
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)