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

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 ... 13 14 15 16 [17] 18 19 20 21 ... 40   Go Down
  Send this topic  |  Print  
Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 222728 times)
0 Members and 1 Guest are viewing this topic.
panatan
Coppermine regular visitor
**
Posts: 92


WWW
« Reply #320 on: November 25, 2007, 12:26:21 pm »

Doesn't works anymore, what else  Roll Eyes
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #321 on: November 25, 2007, 12:28:17 pm »

"Doesn't work" doesn't mean anything and is far from a valid support request. Post a real question, with a link and non-admin test user account
Logged
panatan
Coppermine regular visitor
**
Posts: 92


WWW
« Reply #322 on: November 25, 2007, 02:01:55 pm »

Question was before

Quote
I've only two plugins : Captcha and Contact Plugin.
But captcha doesn't works if Contact Plugin is installed and "vice versa".
Instead of captcha image, the red cross appears...

Here is my website -http://www.fande-loisirs-creatifs.com
At this moment, only captcha is enabled and works fine but i need contact plugin too.
Logged
Hein Traag
Dev Team member
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #323 on: November 25, 2007, 04:28:15 pm »

on the plugin manager list try setting one of the two first in order of loading. Might help.
Logged

François Keller
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #324 on: November 25, 2007, 04:48:35 pm »

Quote
At this moment, only captcha is enabled and works fine but i need contact plugin too.
the Contact use also Captcha verification and i think there is an interference with Tha Captcha plugin.
Logged

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
panatan
Coppermine regular visitor
**
Posts: 92


WWW
« Reply #325 on: November 25, 2007, 06:11:34 pm »

Probably yes
Logged
panatan
Coppermine regular visitor
**
Posts: 92


WWW
« Reply #326 on: November 26, 2007, 08:47:05 pm »

Hi all
My problem is always here  Undecided

"Captcha Plugin" works alone ; but if "Contact Plugin" is enabled, red cross appears instead of captcha image.
 
My questions are following :
In "Contact Plugin", is it possible to remove captcha image  ?
Or, is there another "Contact Plugin" without captcha ?

Thank you
Logged
François Keller
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #327 on: November 27, 2007, 06:15:35 am »

see here version 1.2 http://forum.coppermine-gallery.net/index.php?topic=37612.0
or  here http://forum.coppermine-gallery.net/index.php?topic=37956.0

P.S. Next time search the plugin board  Wink
Logged

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
Sami Topic starter
Dev Team member
****
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #328 on: November 27, 2007, 06:39:22 am »

@Frantz: maybe we should go for new contact plugin ?
Logged

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

Posts: 2


« Reply #329 on: November 27, 2007, 09:42:30 pm »

please help i can not see confirmation code, and i have GD 2.x (2.0.28 or later is recommended) with Freetype support i just install the captcha plugin.

user test

pedrotest
123456

http://www.huitzuco.org/photo/index.php

http://www.huitzuco.org/photo/captcha.php

http://www.huitzuco.org/photo/plugins/captcha/captcha.php

http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=-314&pos=9


i see confirmation code now.

i just add my group that i did not wanted to see captcha code.

on codebase.php  after adding my user group it work fine

Code:
$CAPTCHA_DISABLE = array('login' => 'Administrators',
        'register' => 'Administrators',
        'comment' => 'Administrators',
        'report' => 'Administrators',
        'ecard' => 'Administrators',
        );
    $CAPTCHA_TIMEOUT = 300; // How many sec should passed before we remove the code from database
    require ('plugins/captcha/include/init.inc.php');
    require('plugins/captcha/include/captcha.class.php');

    switch ($_SERVER['PHP_SELF']) {
        case 'login.php':
            $valid_groups = explode(',', $CAPTCHA_DISABLE['login']);
            if (!in_array(USER_GROUP, $valid_groups) OR $CAPTCHA_DISABLE['login'] == 'Administrators') {
                if (isset($_POST['submitted']) AND !Validate($_POST['confirmCode'])) {
                    load_template();
                    pageheader($lang_error, "<META http-equiv=\"refresh\" content=\"3;url=login.php\">");
                    msg_box($lang_error, "$lang_plugin_captcha_error", $lang_continue, 'login.php');
                    pagefooter();
                    exit;
                }
            }
            break;
        case 'register.php':
            $valid_groups = explode(',', $CAPTCHA_DISABLE['register']);
            if (!in_array(USER_GROUP, $valid_groups) OR $CAPTCHA_DISABLE['register'] == 'Administrators') {
                if (isset($_POST['submit']) AND !Validate($_POST['confirmCode'])) {
                    load_template();
                    pageheader($lang_error, "<META http-equiv=\"refresh\" content=\"3;url=register.php\">");
                    msg_box($lang_error, "$lang_plugin_captcha_error", $lang_continue, 'register.php');
                    pagefooter();
                    exit;
                }
            }
            break;
        case 'db_input.php':
            $valid_groups = explode(',', $CAPTCHA_DISABLE['comment']);
            if (!in_array(USER_GROUP, $valid_groups) OR $CAPTCHA_DISABLE['comment'] == 'Administrators') {
                if (isset($_POST['msg_body']) AND !Validate($_POST['confirmCode'])) {
                    load_template();
                    pageheader($lang_error, "<META http-equiv=\"refresh\" content=\"3;url=displayimage.php?pos=" . (- $_POST['pid']) . "\">");
                    msg_box($lang_error, "$lang_plugin_captcha_error", $lang_continue, "displayimage.php?pos=" . (- $_POST['pid']));
                    pagefooter();
                    exit;
                }
            }
            break;
        case 'report_file.php':
            $valid_groups = explode(',', $CAPTCHA_DISABLE['report']);
            if (!in_array(USER_GROUP, $valid_groups) OR $CAPTCHA_DISABLE['report'] == 'Administrators') {
                if (count($_POST) > 0 AND !Validate($_POST['confirmCode'])) {
                    load_template();
                    pageheader($lang_error, "<META http-equiv=\"refresh\" content=\"3;url=report_file.php?album={$_GET['album']}&pid={$_GET['pid']}&pos={$_GET['pos']}\">");
                    msg_box($lang_error, "$lang_plugin_captcha_error", $lang_continue, "report_file.php?album={$_GET['album']}&pid={$_GET['pid']}&pos={$_GET['pos']}");
                    pagefooter();
                    exit;
                }
            }
            break;
        case 'ecard.php':
            $valid_groups = explode(',', $CAPTCHA_DISABLE['ecard']);
            if (!in_array(USER_GROUP, $valid_groups) OR $CAPTCHA_DISABLE['ecard'] == 'Administrators') {
                if (count($_POST) > 0 AND !Validate($_POST['confirmCode'])) {
                    load_template();
                    pageheader($lang_error, "<META http-equiv=\"refresh\" content=\"3;url=ecard.php?album={$_GET['album']}&pid={$_GET['pid']}&pos={$_GET['pos']}\">");
                    msg_box($lang_error, "$lang_plugin_captcha_error", $lang_continue, "ecard.php?album={$_GET['album']}&pid={$_GET['pid']}&pos={$_GET['pos']}");
                    pagefooter();
                    exit;

[Edited by Sami]
Added code block
« Last Edit: November 28, 2007, 05:15:21 am by Sami » Logged
chickendippers
Coppermine newbie

Gender: Male
Posts: 5


WWW
« Reply #330 on: November 27, 2007, 11:25:09 pm »

Great script, many thanks Smiley

Got it working easilly at http://www.cncworld.org/gallery/
Logged

Valcato Hosting  - 6 years in the business
tomex86
Coppermine newbie

Gender: Male
Posts: 5


« Reply #331 on: December 04, 2007, 03:28:53 pm »

not to login on my page http://www.galeria-ts.yoyo.pl/login.php?referer=index.php code does not appear.  My English it is not good, apologize.
Logged
François Keller
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #332 on: December 04, 2007, 03:33:24 pm »

@Frantz: maybe we should go for new contact plugin ?
Yes, you're right. But it seems to hard for me for the moment Undecided .
the problem would be resolved with CPG1.5  Smiley
Logged

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
jarodsafehouse71
Coppermine novice
*
Posts: 43


« Reply #333 on: December 04, 2007, 06:10:23 pm »

Do not forget to put captcha.php at the root of your coppermine.


I did that and STILL couldn't get the verification image to load. I had about given up on getting it to work when I noticed where the image was trying to load from ..... my WEBSITE root instead of where it was SUPPOSED to load from .... I changed link in codebase and voila! It worked Cheesy

jsh
Logged
tomex86
Coppermine newbie

Gender: Male
Posts: 5


« Reply #334 on: December 04, 2007, 07:30:00 pm »

its copy captcha.php at the root folder still noting http://www.galeria-ts.yoyo.pl/captcha.php
Logged
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #335 on: December 04, 2007, 07:33:49 pm »

Check you have the minimum requirements for this plugin, ie. GD 2.x (2.0.28 or later is recommended) with Freetype support
Logged

I don't care about what they say, I won't live or die that way.
tomex86
Coppermine newbie

Gender: Male
Posts: 5


« Reply #336 on: December 04, 2007, 07:57:54 pm »

I have GD 2.x
Logged
tomex86
Coppermine newbie

Gender: Male
Posts: 5


« Reply #337 on: December 04, 2007, 08:16:50 pm »

how to remove this plugin to normally login
Logged
François Keller
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #338 on: December 04, 2007, 09:06:44 pm »

in the plugins database table, delete the captcha entry
Logged

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #339 on: December 04, 2007, 10:49:08 pm »

You should uninstall using the plugin manager.
Logged

I don't care about what they say, I won't live or die that way.
Pages: 1 ... 13 14 15 16 [17] 18 19 20 21 ... 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.127 seconds with 16 queries.