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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 3 Guests are viewing this topic.

zgorzelecinfo

I;ve read all these posts and still have the known problem with red cross. First I thought it was the problem with the freefonts wich was not installed on my server, becaouse of the error line shown in direct link. So my ISP installed that module and so there's no text about the error, but the cross is still there, and direct link shows the empty blank page:

http://www.zgorzelec.info/foto/captcha.php

http://www.zgorzelec.info/foto/displayimage.php?album=81&pos=149

Can you help me please ?

zgorzelecinfo

EDIT: I've checked at php.net function imagefttext — Write text to the image using fonts using FreeType 2, so Freetype 2 is needed, but it seems to run only on PHP 5,

I have PHP 4 installed on my server and can't uprgade because of bigger system installed on it.

Is there any solution on this ?

Abbas Ali

Freetype can be installed on php4 too. Without freetype this mod won't work.
Chief Geek at Ranium Systems

Abbas Ali

@skidpics: Are you using plugin or mod? It seems that you are using captcha plugin. If so then this is wrong thread. Ask your question on http://forum.coppermine-gallery.net/index.php?topic=36319.0
Chief Geek at Ranium Systems

michiel

Hi, I have just installed the mod, and something is wrong as I cannot enter my site (http://lorelei.dwaalgasten.nl/thumbnails.php?album=lastup&cat=0) anymore, as I get the message: Parse error: parse error, unexpected $ in /www/htdocs/dwaalgas/frummel/themes/classic/theme.php on line 1185. I think I have taken all the steps you indicated. My theme.php file is attached. Could you tell me what I did wrong? Thanks!

michiel

Update: I found a mistake in my theme file, so the "parse"  problem is solved. However, Captcha still does not function properly. If you add a comment, there is a box "confirmation"  added. However, the captcha image is not shown, so you don't know which confirmation code to enter. Logically, if you enter "OK", the error "Confirmation code didn't matched" is reporterd. I would certainly welcome your suggestions, as I get mad of the spam.... Thanks.

michiel

Well, a thorough reading of this whole Captcha thread finally led to the conclusion that Captcha will not run on my site because my hosting company does not support imageftbbox. That's a pity, as Captcha seems a real good solution to spam.....

DiegoBretti

The system are cool. But didnt pass the W3 Validator :(
What can i do?
Thx.
Dieg0

Joachim Müller

Go through W3C validation output, fix the stuff it complains about in the source code of the captcha mod. For the benefit of others, you might post your improvements when done.


DiegoBretti

Quote from: TranzNDance on December 30, 2006, 03:25:49 AM
Some of the mod html caused html validation to fail.

I changed:
    <input type="text" name="confirmCode" size="5" class="textinput"> <img src="captcha.php" align="middle">

to:
    <input type="text" name="confirmCode" size="5" class="textinput" /> <img src="captcha.php" align="middle" alt="captcha image" />

I have another problem.

"Please, validate your XML document first!

Line 72

Column 71

The reference to entity "PHPSESSID" must end with the ';' delimiter."

and in code:

"Failed validation, 34 errors"

the problem is in "general entity "PHPSESSID" not defined and no default entity."

sthenley

#371
QuoteThis modification is work with Coppermine Photo Gallery 1.3.5?
Or only for 1.4.x?

I have used mod in CPG 1.3.2. But code:
'{CONFIRM}' => $lang_display_comments['confirm'],

... Is in the file displayimage.php, not theme.php. The only diference.

Works great!  ;)

Joachim Müller

Don't ask for other versions

cpg1.3.x is outdated, goes completely unsupported and contains known bugs. Updating is mandatory (mustn't be discussed on this thread though). As suggested above: don't post cpg1.3.x-related stuff on a board/thread that is dedicated to cpg1.4.x.

arkii

Hi;

I install Captcha. Don't write confirmation code.

Please check : www.resimsel.com/captcha.php
http://www.resimsel.com/displayimage.php?album=18&pos=1

My server php info : www.resimsel.com/a.php

Help me please :(

I from Turkey. Sorry bad english.
Thank you.

Sami

You do not have FreeType Support
ask your host for support
‍I don't answer to PM with support question
Please post your issue to related board

lamator

Please help

I have not found line: '{COMMENT}' => $lang_display_comments['comment'],

and : <!-- END input_box_no_smilies -->
                                </td>
                                <td class="tableb_compact">
                                <input type="hidden" name="event" value="comment" />
                                <input type="hidden" name="pid" value="{PIC_ID}" />
                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
                                </td></tr>

in my theme code, what's wrong ?

here I send a attach of my theme file "Rainy_day"

thanks for your help

Sami

if you don't have it , copy it from themes/sample/theme.php to your theme and then make changes
‍I don't answer to PM with support question
Please post your issue to related board

nerrick

I have everything that is listed to get this mod to work. I have 2 slight problems. The verification image does not load and the pictures stopped loading as well. I have attached my theme.php for analysis.

Abbas Ali

Chief Geek at Ranium Systems