Advanced search  

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]

Pages: 1 ... 15 16 17 18 [19] 20 21 22 23 24   Go Down

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

0 Members and 1 Guest are viewing this topic.

zgorzelecinfo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Captcha (Visual Confirmation) for adding comments
« Reply #360 on: March 22, 2007, 10:51:27 am »

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

zgorzelecinfo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Captcha (Visual Confirmation) for adding comments
« Reply #361 on: March 22, 2007, 12:27:09 pm »

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 ?
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 #362 on: March 23, 2007, 07:18:10 am »

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

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 #363 on: March 23, 2007, 07:20:45 am »

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

michiel

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • Dwaalgasten Foto
Re: Captcha (Visual Confirmation) for adding comments
« Reply #364 on: March 31, 2007, 09:32:51 pm »

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

michiel

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • Dwaalgasten Foto
Re: Captcha (Visual Confirmation) for adding comments
« Reply #365 on: April 01, 2007, 03:58:20 pm »

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

michiel

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
    • Dwaalgasten Foto
Re: Captcha (Visual Confirmation) for adding comments
« Reply #366 on: April 01, 2007, 08:45:28 pm »

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

DiegoBretti

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
  • Diego Bretti
    • www.Dieg0.com.ar
Re: Captcha (Visual Confirmation) for adding comments
« Reply #367 on: April 03, 2007, 09:34:47 pm »

The system are cool. But didnt pass the W3 Validator :(
What can i do?
Thx.
Dieg0
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 #368 on: April 04, 2007, 09:00:25 am »

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

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Captcha (Visual Confirmation) for adding comments
« Reply #369 on: April 04, 2007, 05:05:32 pm »

Logged

DiegoBretti

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
  • Diego Bretti
    • www.Dieg0.com.ar
Re: Captcha (Visual Confirmation) for adding comments
« Reply #370 on: April 05, 2007, 05:37:13 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" />

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

sthenley

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Captcha (Visual Confirmation) for adding comments
« Reply #371 on: April 06, 2007, 03:27:24 am »

Quote
This 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:
Code: [Select]
'{CONFIRM}' => $lang_display_comments['confirm'],
... Is in the file displayimage.php, not theme.php. The only diference.

Works great!  ;)
« Last Edit: April 06, 2007, 11:03:47 pm by GauGau »
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 #372 on: April 06, 2007, 11:03:25 pm »

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

arkii

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Captcha (Visual Confirmation) for adding comments
« Reply #373 on: April 14, 2007, 08:15:12 am »

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

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #374 on: April 14, 2007, 12:21:59 pm »

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

lamator

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Captcha (Visual Confirmation) for adding comments
« Reply #375 on: April 14, 2007, 05:56:35 pm »

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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #376 on: April 15, 2007, 08:44:01 am »

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

nerrick

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Captcha (Visual Confirmation) for adding comments
« Reply #377 on: April 19, 2007, 01:04:09 am »

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.
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 #378 on: April 19, 2007, 02:35:08 pm »

Post a link to your site.
Logged
Chief Geek at Ranium Systems

nerrick

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Logged
Pages: 1 ... 15 16 17 18 [19] 20 21 22 23 24   Go Up
 

Page created in 0.023 seconds with 19 queries.