RSGallery2 Support Forums

RSgallery2 support forums => RSgallery2 bugs & problems => Topic started by: Mats Gudmundsson on July 22, 2008, 07:55:48 am



Title: Turn CAPTCHA off in 2.0.0 ? (due to can't comment)
Post by: Mats Gudmundsson on July 22, 2008, 07:55:48 am
How to fix this?

Often when anyone tries to comment on a pic the comment is not saved and this message comes Incorrect CAPTCHA check, comment is NOT saved!

Having this problem in 2.0.0...

Is there any way to turn CAPTCHA off? Edit some file? Please help me out.

Thanks for your help

PS. It is the same problem in your Demo Gallery!!! Just try to add a comment to some picture!


Title: Re: Turn CAPTCHA off in 2.0 ?
Post by: Mats Gudmundsson on July 28, 2008, 05:31:58 am
Ok, found it my self... Just adding the solution here to help others...

Don't really understand what CAPTCHA is but it is just to comment out two lines in .../components/com_rsgallery2/lib/rsgcomments/rsgcomments.php

Code:
// Check if security check was OK
if ($checkSecurity == false ) {
  //$mainframe->redirect( $redirect_url, JText::_('Incorrect CAPTCHA check, c$
  //exit();
}

This should really be settable from the configuration page (atleast in the debug mode editing the config file direct)