ronny
Coppermine novice

Posts: 37
|
 |
« 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=-302http://galerie.vwteam.com/ecard.php?album=7&pid=302&pos=22by the way im admin and i can see the captcha, but in the codebase.php: $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 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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
|
 |
« Reply #242 on: September 20, 2007, 08:35:30 am » |
|
Thx! 
|
|
|
|
|
Logged
|
|
|
|
Sami 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« Reply #243 on: September 20, 2007, 08:39:39 am » |
|
I did as you suggested under German support board  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
|
 |
« 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
|
 |
« 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
|
|
|
|
Sami 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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
|
|
|
|
Logged
|
I don't answer to PM with support question Please post your issue to related board
|
|
|
Hein Traag
Dev Team member
   
Gender:
 Netherlands
Posts: 2153
A, B, Cpg
|
 |
« 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 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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:
 Netherlands
Posts: 2153
A, B, Cpg
|
 |
« Reply #251 on: September 25, 2007, 12:36:44 pm » |
|
Hein , link please ....
My bad.. link is http://fototest.scouting.nl/index.phpTest 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 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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.phpchange this (Line #82) $exper = '(<td colspan="2" align="center" class="tablef">.* .*<input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />.* .*</td>)';
to this $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 
Dev Team member
   
Gender:
 Iran, Islamic Republic of
Posts: 3689
BMossavari
|
 |
« 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:
 Netherlands
Posts: 2153
A, B, Cpg
|
 |
« 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) $exper = '(<td colspan="2" align="center" class="tablef">.* .*<input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />.* .*</td>)';
to this $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
|
|
|
|
|
|
ronny
Coppermine novice

Posts: 37
|
 |
« 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=16After install it was working. Then i changed this: // 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!  My gallery is bridged with SMF!
|
|
|
|
|
Logged
|
|
|
|
|