Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 09:33:41 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Private messages disabled
Caused by the massive abuse of the PM system in the past, the sending of personal messages has been disabled for all regular users on the Coppermine forum.
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 ... 9 10 11 12 [13] 14 15 16 17 ... 40   Go Down
  Send this topic  |  Print  
Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 222722 times)
0 Members and 1 Guest are viewing this topic.
ronny
Coppermine novice
*
Posts: 37


WWW
« Reply #240 on: September 20, 2007, 12:03:35 am »

The Captcha Plugin V2.0 is displayed but dont work. Can you say me why?
I have the coppermine V1.4.13.

http://galerie.vwteam.com/displayimage.php?pos=-302
http://galerie.vwteam.com/ecard.php?album=7&pid=302&pos=22

by the way im admin and i can see the captcha, but in the codebase.php:

Code:
$CAPTCHA_DISABLE = array('login' => 'Administrators,Registered',
        'register' => 'Administrators,Registered',
        'comment' => 'Administrators,Registered',
        'report' => 'Administrators',
        'ecard' => 'Administrators',
        );
« Last Edit: September 20, 2007, 12:22:40 am by ronny » Logged
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #241 on: September 20, 2007, 06:01:38 am »

-You're using bridge version so you should put the name of administrators group of the forum (remove "s" from end of Administrators)
- Sorry But you can't use Captcha Plugin with bridged gallery to SMF , cause SMF will discard Captcha's Session and you always get 'wrong confirmation code' error
Logged

‍I don't answer to PM with support question
Please post your issue to related board
ronny
Coppermine novice
*
Posts: 37


WWW
« Reply #242 on: September 20, 2007, 08:35:30 am »

Thx!  Wink
Logged
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #243 on: September 20, 2007, 08:39:39 am »

I did as you suggested under German support board Wink
known issue/bug added to announcement thread
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #244 on: September 20, 2007, 08:46:41 am »

Although the plugin is great I'm not happy with the fact that it relies on sessions. The issues ronny had prove that we should not rely on sessions in an environment where we provide interaction with various apps that we have no control over (bridging). As you (Sami) probably are aware, Captcha support has been added to the cpg1.5.x branch as a standard feature. I will have to review the entire approach of the plugin and re-code it. In my opinion, sessions should only be used if we have no other method to track the user. Cookies are much more reliable and we use them anyway; if a user doesn't accept our cookies, he can hardly use coppermine anyway. This being said, I'm going to look into changing the whole captcha stuff. I'm planning to add a check for the additional requirements and a fallback to ascii chars if captchas don't work. Please note that this posting is mainly aimed at Sami and the other devs, so don't expect results in the near future that users of the captcha plugin for cpg1.4.x could actually benefit from.
Logged
Abbas Ali
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #245 on: September 20, 2007, 11:24:19 am »

@Joachim: How about using database to store captcha information? Records from captcha table will be deleted if older then say 5 mins.

I guess we should split this thread to take this discussion further.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #246 on: September 20, 2007, 01:42:53 pm »

@DEVS : See new thread about new captcha implementation idea please
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #247 on: September 22, 2007, 08:49:37 am »

New release of Captcha plugin (version 3.0)
- Cpatcha code now store to DB instead of Session (this will fix plugin issue with bridged gallery to SMF)
- Documentation improve , described  captcha image setting

Let me know if anything goes wrong !
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #248 on: September 25, 2007, 08:06:21 am »

Arkadiusz Dylag sent polish translation
surly I'll add it to the next release

Installation:
- Extract polish.zip
- Copy polish.php to lang folder of plugin

* polish.zip (0.6 KB - downloaded 202 times.)
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Hein Traag
Dev Team member
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #249 on: September 25, 2007, 08:34:24 am »

Installed captcha 3.0 on my cpg with the other plugins and it works almost perfect. Somehow captcha does not show up when someone wants to register. Any ideas ?
« Last Edit: September 25, 2007, 09:20:10 am by Hein » Logged

Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #250 on: September 25, 2007, 10:08:31 am »

Hein , link please ....
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Hein Traag
Dev Team member
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #251 on: September 25, 2007, 12:36:44 pm »

Hein , link please ....

My bad.. link is http://fototest.scouting.nl/index.php

Test account, should you need one is test:test

Captcha does show up on the comment and login screen but not on the registration screen.
Logged

Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #252 on: September 25, 2007, 01:54:49 pm »

It's strange I can't see any issue here !
preg_match can't see the expression (Line #82 $exper) on your register.php output , but when I check I can see it
BTW try this :
edit plugins/captcha/codebase.php
change this (Line #82)
Code:
$exper = '(<td colspan="2" align="center" class="tablef">.*
                 .*<input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />.*
             .*</td>)';
to this
Code:
$exper = '(<td.*>.*\n.*<input type="submit" name="submit".*\n.*</td>)';

Update: changed new exper
« Last Edit: April 05, 2008, 04:42:53 am by Sami » Logged

‍I don't answer to PM with support question
Please post your issue to related board
misiek21
Coppermine newbie

Posts: 10


« Reply #253 on: September 25, 2007, 11:14:43 pm »

Installed captcha 3.0 but captcha not show up on the comment, my gallery http://urbanfoto.pl
Logged
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #254 on: September 26, 2007, 06:57:36 am »

link doesn't works ...!
Logged

‍I don't answer to PM with support question
Please post your issue to related board
misiek21
Coppermine newbie

Posts: 10


« Reply #255 on: September 26, 2007, 09:02:38 am »

Now is good
Logged
Hein Traag
Dev Team member
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #256 on: September 26, 2007, 11:59:30 am »

It's strange I can't see any issue here !
preg_match can't see the expression (Line #82 $exper) on your register.php output , but when I check I can see it
BTW try this :
change this (Line #82)
Code:
$exper = '(<td colspan="2" align="center" class="tablef">.*
                 .*<input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />.*
             .*</td>)';
to this
Code:
$exper = '(<td.*>.*\n.*<input type="submit" name="submit".*\n.*</td>)';

Update: changed new exper

Sami, thanks. Changing the above mentioned code did it. Captcha now also works on the registration page. Seems to me it is a winner once again.
Logged

MarceloTDF
Coppermine newbie

Posts: 1


« Reply #257 on: September 26, 2007, 10:32:09 pm »

gracias
Logged
ff
Coppermine regular visitor
**
Gender: Male
Netherlands Netherlands

Posts: 80


WWW
« Reply #258 on: September 29, 2007, 11:42:32 pm »

Updated CPG to 1.4.13 and suddenly I don't get any 'image' with captcha.

http://www.ff.fm/fotoalbum/ uses version 1.7
http://www.xarno.nl/fotoalbum/ uses version 3.0 (upgraded today, because 1.7 didn't show anything)

Both don't give the code to enter.

http://www.ff.fm/fotoalbum/captcha.php gives an empty page
http://www.xarno.nl/fotoalbum/captcha.php gives a critical error `Error fetching from database'.

But http://www.ff.fm/hummeltje/fotoalbum/index.php does work fine.
Both domains are virtual on one server.

---
PHP-info:
GD Support    enabled
GD Version    bundled (2.0.28 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
XBM Support    enabled
---
Logged
ronny
Coppermine novice
*
Posts: 37


WWW
« Reply #259 on: September 30, 2007, 12:18:04 am »


This is the old captcha from Abbas Ali for comments only. Isn´t it?

-------------------------------------------------------------------

I have the same problem. The captcha doesn´t work. Look:
http://galerie.vwteam.com/displayimage.php?album=90&pos=16

After install it was working. Then i changed this:

Code:
// create new image
$oPhpCaptcha = new PhpCaptcha(
    $aFonts, // array of TrueType fonts to use
    145, // width of image
    45, // height of image
    5, // number of characters to draw
    0, // number of noise lines to draw
    false, // add shadow to generated characters to further obscure code
    $sOwnerText = 'VWTeam.com Spam-Schutz', // add owner text to bottom of CAPTCHA, usually your site address
    $aCharSet = array(), // array of characters to select from - if blank uses upper case A - Z
    $sBackgroundImage = '' // background image to use - if blank creates image with white background
    );

and it doesn´t work. With the old settings too!  Huh
My gallery is bridged with SMF!
Logged
Pages: 1 ... 9 10 11 12 [13] 14 15 16 17 ... 40   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.05 seconds with 19 queries.