Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard - Page 10 Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard - Page 10
 

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 comments/registration/reporting/login/ecard

Started by Sami, September 17, 2006, 07:04:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mywedding

Quote from: Sami on September 17, 2006, 07:04:22 AM
language:
===============
- Italian Thanks to lontano
- Dutch Thanks to Hein
- French Thanks to spikeweb
- German Thanks to m@rk
- Brazilian portuguese Thanks to Bonato

hi sami , there is an attachment for "turkish.php"
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.12
  CAPTCHA Plugin 
  Based on Mod by Abbas ali(http://forum.coppermine-gallery.net/index.php?topic=29564.0)
  Plugin Writen by bmossavari at gmail dot com
**********************************************/

if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...'); }

$lang_plugin_captcha_conf =  'Onayla:';
$lang_plugin_captcha_error 'Hata var, Onaylanmad&#305;';     
?>



best regards
dugunum
Dreams are free, so free your dreams, "Astrid Alauda"

Sami

dugunum, thanks for translation :)
I'll add yours to the next release
‍I don't answer to PM with support question
Please post your issue to related board

ComputerLady

First off, thanks for this great plug-in! Wished I'd found this earlier as it would have solved so many headaches. (Really got to get over here more frequently!)

I do have one question, which I did try searching for an answer on. (Maybe I'm not using right search words?) In the characters displayed, are they all supposed to be upper-case, or some lower-case? Been trying to test this out myself, and it keeps insisting I'm not entering the right 'phrase!'

Coppermine v1.4.12
Captcha v1.8 (only plug-in)
Bridged to SMF

http://www.design-comp.com/gallery/index.php


Sami

Plugin replace all input to Uppercase automatically so it doesn't matter if you type uppercase or lowercase , I think you have a session issue check this thread :
http://forum.coppermine-gallery.net/index.php?topic=36319.msg206506#msg206506

enable debug on admin mode and and then click on Display phpinfo below the debug info and find session.save_path
‍I don't answer to PM with support question
Please post your issue to related board

cheaharu

Hi2all

I've got an issue with http://www.kazakov.biz/coppermine/plugins/captcha/captcha.php image displaying.

GD Support    enabled
GD Version    bundled (2.0.28 compatible)
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
XBM Support    enabled

Please help )

With best regards,
Ilya Kazakov

ComputerLady

#185
Quote from: Sami on July 14, 2007, 06:36:14 AM
Plugin replace all input to Uppercase automatically so it doesn't matter if you type uppercase or lowercase , I think you have a session issue check this thread :
http://forum.coppermine-gallery.net/index.php?topic=36319.msg206506#msg206506

enable debug on admin mode and and then click on Display phpinfo below the debug info and find session.save_path

Under the PHP info it says:

session.save_path   /tmp   /tmp

So, now what should I do?

Sorry, I'm back editing this reply. In looking through the directories, I don't see one named '/tmp' anywhere. So, I gather the data isn't being stored anywhere so a comparison can be made. So, where do I need to make that directory at? Thanks! (Crossing fingers that will produce a fix.)

Sami

#186
@ComputerLady
I didn't ask for debug info !

You can't (shouldn't) create tmp folder on your web space, it's root level folder
ask your host for support , tell them that your session doesn't stick

@cheaharu
You must have free type support , init post said:

Requirement:
=========
- GD 2.x (2.0.28 or later is recommended) with Freetype support
- Better compatibility with php 4.3.5 or later
‍I don't answer to PM with support question
Please post your issue to related board


ComputerLady

Quote from: Sami on July 15, 2007, 08:07:22 AM
@ComputerLady
I didn't ask for debug info !

You can't (shouldn't) create tmp folder on your web space, it's root level folder

I looked into my account further, and the tmp folder is there. Also tested the CAPTCHA system for SMF (Coppermine is bridged to that) and that works just fine. Indicating, I think, that the session path setting for PHP should be okay. That is, if the CAPTCHA system for SMF uses sessions too. Have to check over there.

In any case, I'm still stumped as to why check is failing. Going to check with my hosting company on their forum to see if anyone else there is experiencing this so they have some sort of clue. Going to tell them that this IS going to become part of Coppermine's core code in next major revision, so getting this right now is a good idea!

klunstenaar

Well, as i can say..i had almost same issue.
And plugin was also not working couse i had cpg bridged with Joomla.
My only option was to unbridge. As noone got a solution for it sofar..

Sami

@ComputerLady: Give me a ftp account and an admin account of gallery and I'll check that , if you are happy with that ...

@klunstenaar: If plugin works on unbridged gallery then it could be session conflict on joomla , let me know which bridge you are using ...
‍I don't answer to PM with support question
Please post your issue to related board

klunstenaar

Joomla 1.0.12 was bridged with the Mehdi bridge Joomcpg-bridge

In the time (a few months back) that i post the issue, i saw others
had the same problem with cpg bridged when trying use the captcha plugin.


Sami

#192
Now I find the problem
You can't use this plugin for bridged gallery cause
Plugin API loads before bridge system and this will cause to captcha create its session before bridge files load, and then Both SMF (Load.php) and Joomla (global.php) will drop Captcha's session for security reason

BTW you can use captcha mod instead
‍I don't answer to PM with support question
Please post your issue to related board

ComputerLady

Quote from: Sami on July 17, 2007, 07:52:01 AM
@ComputerLady: Give me a ftp account and an admin account of gallery and I'll check that , if you are happy with that ...

I see I can send you a private message via the forum. Okay, let me get that setup and then send the details over to you via PM.

klunstenaar


Sami

@ComputerLady: As I said early :

Quote from: Sami on July 17, 2007, 10:03:50 PM
You can't use this plugin for bridged gallery cause
Plugin API loads before bridge system and this will cause to captcha create its session before bridge files load, and then Both SMF (Load.php) and Joomla (global.php) will drop Captcha's session for security reason

BTW you can use captcha mod instead


Please change/delete all username/password that you've send by PM to me
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

http://www.coppermine.hqubed.com/displayimage.php?pos=-10044

I couldnt tell if anyone has had this problem yet.
The captcha plugin used to work before I upgraded to the latest Coppermine version and now the captcha image wont render, help?

Sami

re-upload whole plugin to the server may helps you
I've got

Fatal error: Class 'PhpCaptcha' not found in /home/.klara/mechmykl/coppermine.hqubed.com/plugins/captcha/captcha.php on line 28

when I tried
http://www.coppermine.hqubed.com/plugins/captcha/captcha.php
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

Computers haha. I uninstalled, deleted, reuploaded and it magically worked, thanks man.
BTW when theres a failure your script says "Confirmation code didn't matched"

It should be "Confirmation code didn't match" to be correct english :)

Thanks again!

bobhope

#199
What Perl Module's do you need to run this? I have installed a few different GD's and its still not working. I control my own cpanel. I tried to e-mail the maker of this security thing and i think he is on vacation or something I got no response.

whoever helps me I can give them some free webspace for a year if they like... or maybe work out some kind of favor.  Please note this only goes to the person who helps me get this working. first come first serve

B