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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.

PPNSteve

Quote from: Sami on March 08, 2008, 06:16:12 AM
Well I don't see the Fatal error , I just get a blank page but if you do then
check php.net
http://us3.php.net/manual/en/function.imageftbbox.php
you'll find two notes about this function
-     This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
-     This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)

maybe you need to re-build php with --with-freetype-dir=DIR option

I did get the image to show up in the log-in page, but its still not showing for register page..

Not sure whats wrong there..  not even anything related noticed in the view source

Sami

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

PPNSteve

Quote from: Sami on March 08, 2008, 07:18:06 AM
So what was the problem ? did you re-build php or what ?
for your registration page issue check this:
http://forum.coppermine-gallery.net/index.php/topic,36319.msg225008.html#msg225008

Ok apparently that above link had a quick fix..  shows (and works) on register page as well as login and comments..  now  just one thing..  its breaking the style..  any way to fix that so it all fits in correctly and looks good??

thanks for your help with this..  :)

Sami

Edit codebase.php and change theses lines (around lines 85~88) the way you want

if (preg_match($exper, $html)) {
                    $newcpch = '<!-- CAPTCH PLUGIN 3 --><tr><td class="tableb" height="25" width="40%">' . $lang_plugin_captcha_conf . '</td><td class="tableb_compact" colspan="2"><input type="text" name="confirmCode" id="confirmCode" size="5" class="textinput"><img src="captcha.php" align="middle"></tr><tr><td colspan="2" align="center" class="tablef">
                    <input type="submit" name="submit" value="' . $lang_register_php['submit'] . '" class="button" />
            </td></tr>';
‍I don't answer to PM with support question
Please post your issue to related board

PPNSteve

thanks.. I kinda figured it'd be something like that.. It's all fixed now..

thanks again for the work on the plugin and for all the help getting it to run on my gallery

cookie +1

Sami

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

jesusarmy

Quote from: Sami on March 07, 2008, 02:22:45 PM
@ jesusarmy and PPNSteve
both of you guys , please enable debug mode and let us know

Debug mode now enabled for all. Any help appreciated.




Sami

Everything seems normal to me , let's check mysql select
edit plugins/captcha/codebase.php
and add this line

var_dump($result);

to line #267
something like this

.
.
.
    if ($result['ccount']) {
        var_dump($result);
        return true;
    }
.
.
.

this way we could find if mysql select works okey or not
- after adding this line let me know
‍I don't answer to PM with support question
Please post your issue to related board

jesusarmy


Sami

mysql select return false !
I need to look into database to solve this
PM me a phpmyadmin account or something similar if it's ok with you (+ an FTP account and gallery admin account would be much better)
‍I don't answer to PM with support question
Please post your issue to related board

Leon79

Hello,

I've got a problem concerning the Captcha Plug-In: It is not visible in the register.php, so it seems that the process can be finished without visual confirmation. I have set the CAPTCHA DISABLE at "register" to (' ') in codebase.php, so it should be visible to every group.

I have tested to register, and the thing is that I do not see any CAPTCHA-Field in the register-page, but when I go on and finish the process I receive a notification that the anti-spam-code is not correct - but I did not have the chance to enter it anywhere and I do not see the the code! I also have tested another skin (now I use skyball), but with the same effect.

Any idea?

Thanx a lot!

Leon

mentalist3d

Hi All

I found an article in WebUser (UK Mag) about spammers managing to bypass CAPTCHA, I thought the article may be of interest to those using captcha on their galleries:

http://www.websense.com/securitylabs/blog/blog.php?BlogID=171 (Spammers bypass Windows Live Messanger - Info on how they do this as well)

http://www.websense.com/securitylabs/blog/blog.php?BlogID=174 (As above but with G-mail)

Will this have an effect on this CAPTHCA plug-in?

Cheers - James

Hein Traag

We are aware of the captcha problems that happened at Gmail among others. The captcha plugin is stil a useful tool for delaying spam comments however.



Sami

@Leon79
if you enable captcha on registration page but it does not show up , check this link:
http://forum.coppermine-gallery.net/index.php/topic,36319.msg225008.html#msg225008

@mentalist3d
I'm not going to say this captcha is unbreakable but I would say it's hard enough for regular spammers
1- It's not using session
2- Using 2 different font
3- Random character positioning
4- Random character angle
5- Random background lins
2,3,4,5 makes this captcha harder for OCR program to break
‍I don't answer to PM with support question
Please post your issue to related board

padysan

#434
Hi!
I've installed this plugin in my coppermine component to avoid spammers. I have installed GD2 and freetype. I've copied the captcha plugin to the plugin folder, then I've go to pluginmgr.php and have installed it.
I've copied the captcha.php file to the root of my site.

And I have a "broken image" icon.

I've attached a screenshot so you can see what's happening to me.

The Gallery URL is:

http://www.pasionensevilla.tv/comunes/concursos/imagenes2008/login.php

Please, I need help to solve this because the day after tomorrow I'll open the gallery again to people and I cannot handle more than 2000 spam comments each day.

Thanks and greetings from Spain
Pady
EDIT: When I'm logged in with my admin account and I get to "captcha.php" I can see the captcha correctly. But when I logout I cannot see anything (even cannot login)...until I uninstall it by deleting the captcha plugin table and the field "captcha" in the plugin table with phpMyAdmin. Hope this helps

Nibbler

Your gallery is offline. The captcha does not work when the gallery is offline.

padysan

Yes...now it works. (Thank You Very Much for this).

But now I have another problem:

When I go to:

http://www.pasionensevilla.tv/comunes/concursos/imagenes2008/register.php

To register a new user, I cannot see any captcha imagen; But when I fill the form and send it, the system tells me that "Código de confirmación incorrecto" (in english: "Wrong confirmation code").

Any help with this?


padysan

Hi Nibbler,
I can't find those lines in my register.php.

I'm using 1.4.15 stable in spanish.

When I try to search the variable "$exper" in the code I get no results.

May I find it in other place?

Thanks!

Nibbler

The code to change is in the plugin's codebase.php, not register.php.