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 ... 9 10 11 12 [13] 14 15 16 17 ... 24   Go Down

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

0 Members and 1 Guest are viewing this topic.

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Captcha (Visual Confirmation) for adding comments
« Reply #240 on: December 19, 2006, 09:27:38 pm »

Hello,

I'm using the latest 1.4.10 version, and i'm having trouble finding the lines of codes that you say that I have to edit on the theme.php file. I'm talking about your instructions that say...

Add

Code:
'{CONFIRM}' => $lang_display_comments['confirm'],

just after

Code:
'{COMMENT}' => $lang_display_comments['comment'],


I can't find that anyware on the theme.php file. Any help would be gladly apreciated.

Thanks!

~Jorge~
Logged

etnies

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Captcha (Visual Confirmation) for adding comments
« Reply #241 on: December 20, 2006, 01:52:30 am »

To WebJorge: read the posts before yours.. about page 2. It explains this.
I still need help for my problem, though.
Please help!
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 #242 on: December 20, 2006, 07:49:10 am »

@etnies: The captcha image is coming fine. The only place which might not be properly edited is db_input.php (which checks the input code against the image code). Attach your db_input.php file with next post.
Logged
Chief Geek at Ranium Systems

etnies

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Captcha (Visual Confirmation) for adding comments
« Reply #243 on: December 20, 2006, 03:19:04 pm »

Okay, thanks Abbas.
I attached my db_input to this post.
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 #244 on: December 21, 2006, 06:45:22 am »

You had edited the file in the wrong place. I corrected it and the modified file is attached. Replace your exisisting db_input.php with this one and lets see whether it works or not.
Logged
Chief Geek at Ranium Systems

etnies

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Captcha (Visual Confirmation) for adding comments
« Reply #245 on: December 21, 2006, 05:02:53 pm »

I replaced my dp_input.php with the one you gave me.
It didn't cause any errors until I tried to submit the comment, then it gave me this error:

Code: [Select]
Parse error: syntax error, unexpected $end in /home/vanne/public_html/pictures/db_input.php on line 839
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 #246 on: December 22, 2006, 01:32:52 pm »

Ok, try this file.
Logged
Chief Geek at Ranium Systems

etnies

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Captcha (Visual Confirmation) for adding comments
« Reply #247 on: December 22, 2006, 06:19:03 pm »

YES! It works now Abbas, thank you very much for your time and patience :)
Logged

squish

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Captcha (Visual Confirmation) for adding comments
« Reply #248 on: December 26, 2006, 05:03:01 am »

Just wanted to say thanks for an excellent mod. After reading the original posts and the replies, I was able to get it successfully implemented on my site. Hopefully, this'll be the end of my days deleting comment spam.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Captcha (Visual Confirmation) for adding comments
« Reply #249 on: December 30, 2006, 03:25:49 am »

Some of the mod html caused html validation to fail.

I changed:
Code: [Select]
    <input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">
to:
Code: [Select]
    <input type="text" name="confirmCode" size="5" class="textinput" /> <img src="captcha.php" align="middle" alt="captcha image" />
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 #250 on: December 30, 2006, 06:23:09 am »

Thx Thu.
Logged
Chief Geek at Ranium Systems

ULISS

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 60
Re: Captcha (Visual Confirmation) for adding comments
« Reply #251 on: January 06, 2007, 07:52:27 pm »

Respectful Abbas Ali.
I have a pproblem that mode captcha vork with  gallery 1.4.8 with a stranges that it not worked with gallery 1.4.10: instead mode  there appear a picture with red cross. Both gallery place in one server.
Logged

MadLine

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Captcha (Visual Confirmation) for adding comments
« Reply #252 on: January 06, 2007, 10:48:27 pm »

Hello

I'm has Captcha Packs for German & English Coppermine 1.4.10

Upload files and lucky its.

http://www.flashtoflash.de/blog/?p=47

THX and all Useres

sry for bad english  :-\
Logged

ULISS

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 60
Re: Captcha (Visual Confirmation) for adding comments
« Reply #253 on: January 06, 2007, 11:37:48 pm »

formerli it doesn't worked. It's a same formerli - red cross.
Logged

Nibbler

  • Guest
Re: Captcha (Visual Confirmation) for adding comments
« Reply #254 on: January 07, 2007, 12:33:00 am »

ULISS: Post a link to your site and a test account if required to post comments.
Logged

ULISS

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 60
Re: Captcha (Visual Confirmation) for adding comments
« Reply #255 on: January 07, 2007, 01:16:19 am »

Thank's for the help and support, has understood!
Forgive for my bad Russian-English. :-\
Logged

flynge

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 1
    • FL Foto Fotogalleri (mostly in danish)
Re: Captcha (Visual Confirmation) for adding comments
« Reply #256 on: January 12, 2007, 03:14:42 pm »

Hi

Just an advice: Use the "plugin manager" to install it. Then it works fine  :D

I had a lot of trouble getting it right. I think it's the theme-modification which is hard to get right.

It's sad that we have to implement such plugins to get rid of spam - but on the other hand it's great, that people like Abbas Ali provide us with the tool to fight it. Thanks  ;D

Have a nice weekend
Finn
www.flfoto.dk
Logged

ULISS

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 60
Re: Captcha (Visual Confirmation) for adding comments
« Reply #257 on: January 12, 2007, 03:35:39 pm »

Logged

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 #258 on: January 12, 2007, 06:42:10 pm »

Just an advice: Use the "plugin manager" to install it. Then it works fine  :D
The captcha plugin and the captcha mod are two different things. Please keep comments on the plugin version to the thread that discusses the plugin.

Help new the bug is not present letters in a picture
A "bug" is something that is wrong with the mod code. Yours may be an implementation error as well. You appear to require to be logged in before being able to post comments. Subsequently, you should post a non-admin test user account.
Logged

ULISS

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 60
Re: Captcha (Visual Confirmation) for adding comments
« Reply #259 on: January 12, 2007, 07:27:44 pm »

strange that in local machine  mode are worked, but at hosting it doesn't worked.
Logged
Pages: 1 ... 9 10 11 12 [13] 14 15 16 17 ... 24   Go Up
 

Page created in 0.032 seconds with 20 queries.