Captcha (Visual Confirmation) for adding comments - Page 2 Captcha (Visual Confirmation) for adding comments - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Captcha (Visual Confirmation) for adding comments

Started by Abbas Ali, March 25, 2006, 08:39:59 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

scotty588

Can someone help me with mine. I am still confused about the theme.php file. I am on msn and aim right now if thats easier. Thanks.

Also is there a way to mass delete comment spam?

antisa33

Hello
Thanks for the mod, i have done all that you say in my cpg148 but i cant see the numbers, i see a cross, why ?
Thanks
Isa

Abbas Ali

@scotty588: I am attaching the modified theme file. Replace it with your theme.php file. (Remove the .txt extension from attached file)

@antisa33: Did you copied captcha.php, captcha.class.php and fonts directory properly? Also a link to your site might help.
Chief Geek at Ranium Systems

Gail

Hi,

I started having problems with spammers and comments last week; I turned off the ability to add comments and then searched this forum for solutions. Thank you so much for this mod - i uploaded/edited my files this afternoon and everything seems to be working. I have since enabled comments again.  :)

Thanks to the development team for all of your work.

Gail
Practice random acts of kindness.

scotty588

Thanks Abbas I did what you said and it doesn't seem to show up at all. I have enabled guest comments so you can see. Hopefully I won't get mass spammed.
http://scottyk87.dmservers.com

Abbas Ali

Can't say what's happening.. are you sure that you replaced themes/blackbirch/theme.php with the file i gave?
Chief Geek at Ranium Systems

antisa33

@abbas ali : try http://www.mandala-colorier.com/coloriage-2-3.html
I see a cross on IE and nothinbg in firefox.
I copy all the files correctly, and i have done all your modifications
Thanks a lot for all  :)


scotty588

Abbas: I replaced the theme.php with the one you attached and took off the .txt extention. I overode it and it still does not show up. If you contact me on aim or msn I would be happy to set you up with a temp ftp account to look for the problem if you willing.

Abbas Ali

@antisa33: I tried the url http://www.mandala-colorier.com/coloriage-2-3.html and the image is shown. Also captcha is working fine..Did you resolved it?

@scotty588: Send me a PM with the ftp details.
Chief Geek at Ranium Systems

bobby131313



Beautiful Mod!

Worked perfectly first shot. Thank you!

One stupid little thing though, just grammer...

"Confirmation code didn't matched" in db_input.php probably should be...

"Confirmation code does not match"

I feel silly even mentioning it, but I'm kind of anal and you might be too.  ;D


Abbas Ali

Chief Geek at Ranium Systems

jaydj

Thanks ! You're a xavior !  Now I don't have to delete hundreds of spam messages a day. :)
I just want to clarify that if I should use another theme, I should edit the themes/mytheme/theme.php file right ?
If I don't then will my comment area break or will the confirmation code just be absent from the form ?

Thanks again !

Abbas Ali

Yes you should edit theme/yourtheme/theme.php. If that block of code is not present in your theme then you should copy it from sample theme to your theme.

If you don't edit the other theme then confirmation image will be absent from comment area. But since in db_input.php we are checking whether user has specified correct confirmation code or not..it won't work. So in short every theme you use should have that confirmation code.
Chief Geek at Ranium Systems

antisa33

Abbas, when your tried my mod on my website, have you clic on ok ?
I always have this message error :
Confirmation code didn't matched 
Can you try to add a comment ?

Abbas Ali

I was able to add comment on your website. Check http://www.kidsandcolors.com/colorina_colors-1355.html and you will see a comment 'Nice horse' added by me. Make sure that 5 letters are coming in the image. If not then reupload the fonts directory. Also make sure that the image reads different letters every time you refresh a page. If not then that means the image is coming from your cache and is not the correct image.
Chief Geek at Ranium Systems

Joachim Müller

@Abbas & devs: should this go into the devel branch as an option? While I'm doing the comment approval clean-up, I could implement it as well.
Things that need checking before doing so:
  • Are we allowed to include the library and fonts with Coppermine (license-wise)
  • Add a check if GD with Freetype is enabled and only allow Captchas if true

Abbas Ali

Yes this could be a config option. As far as license is concerned, the class has been released under Free BSD license. I don't know about the fonts but those came along with the class. Should I ask author about the fonts?

Here is the website of the author. Do get the latest class if this goes in devel.
Chief Geek at Ranium Systems

Tranz

If the above considerations could be addressed, I think this would be a great addition to the core code. We really need to deter this infestation/plague upon the internet as much as possible.

maxaxax