Advanced search  

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

Pages: 1 [2] 3 4 5 6 ... 24   Go Down

Author Topic: Captcha (Visual Confirmation) for adding comments  (Read 586080 times)

0 Members and 1 Guest are viewing this topic.

scotty588

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
Re: Captcha (Visual Confirmation) for adding comments
« Reply #20 on: July 16, 2006, 05:57:38 am »

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?
Logged

antisa33

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 181
    • Free french kids coloring
Re: Captcha (Visual Confirmation) for adding comments
« Reply #21 on: July 17, 2006, 02:59:02 am »

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
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #22 on: July 17, 2006, 07:25:41 am »

@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.
Logged
Chief Geek at Ranium Systems

Gail

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 6
    • Gail's Cornucopia
Re: Captcha (Visual Confirmation) for adding comments
« Reply #23 on: July 18, 2006, 12:02:06 am »

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
Logged
Practice random acts of kindness.

scotty588

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
Re: Captcha (Visual Confirmation) for adding comments
« Reply #24 on: July 18, 2006, 12:23:32 am »

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
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #25 on: July 18, 2006, 07:03:26 am »

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

antisa33

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 181
    • Free french kids coloring
Re: Captcha (Visual Confirmation) for adding comments
« Reply #26 on: July 18, 2006, 02:40:20 pm »

@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  :)
Logged

Nibbler

  • Guest
Logged

scotty588

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
Re: Captcha (Visual Confirmation) for adding comments
« Reply #28 on: July 19, 2006, 02:56:56 am »

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.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #29 on: July 19, 2006, 07:04:04 am »

@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.
Logged
Chief Geek at Ranium Systems

bobby131313

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
    • Coin Community Family
Re: Captcha (Visual Confirmation) for adding comments
« Reply #30 on: July 26, 2006, 09:21:25 pm »



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

Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #31 on: July 27, 2006, 07:24:12 am »

Because i am not a native english speaker ;)
Logged
Chief Geek at Ranium Systems

jaydj

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Captcha (Visual Confirmation) for adding comments
« Reply #32 on: July 29, 2006, 03:06:11 am »

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 !
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #33 on: July 29, 2006, 07:07:09 am »

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.
Logged
Chief Geek at Ranium Systems

antisa33

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 181
    • Free french kids coloring
Re: Captcha (Visual Confirmation) for adding comments
« Reply #34 on: August 06, 2006, 02:12:41 am »

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 ?
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #35 on: August 06, 2006, 05:12:13 am »

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.
Logged
Chief Geek at Ranium Systems

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Captcha (Visual Confirmation) for adding comments
« Reply #36 on: August 08, 2006, 09:01:19 am »

@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
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #37 on: August 08, 2006, 09:29:20 am »

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.
Logged
Chief Geek at Ranium Systems

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Captcha (Visual Confirmation) for adding comments
« Reply #38 on: August 08, 2006, 09:56:54 am »

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.
Logged

maxaxax

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Captcha (Visual Confirmation) for adding comments
« Reply #39 on: August 14, 2006, 01:16:18 am »

great job Abbas, merci beaucoup !  ;)
Logged
Pages: 1 [2] 3 4 5 6 ... 24   Go Up
 

Page created in 0.026 seconds with 20 queries.