Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 02:48:13 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 ... 36 37 38 39 [40]   Go Down
  Send this topic  |  Print  
Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 222629 times)
0 Members and 1 Guest are viewing this topic.
twinznavy
Coppermine newbie

Posts: 12


« Reply #780 on: September 15, 2009, 11:20:37 am »

oki now it works

I had edited something inside captcha.php as I read on
forum

there was someone who wrote that I had to take away this

require ( 'include / init.inc.php');

leave it to the back-to-date te 1.4.25 to now it works

this is good
so i hope to clear all the fake users

thanks for all the support  Grin Grin Grin
Logged
tjiepie
Coppermine novice
*
Posts: 23


« Reply #781 on: September 16, 2009, 04:07:28 pm »

I see the Captcha tool on the login and the register page.
I don't see the Captcha tool by the comment box


* Knipsel.JPG (91.17 KB, 1042x550 - viewed 68 times.)
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #782 on: September 17, 2009, 02:38:58 pm »

Then read the readme and perform the needed edits
Logged
missparis
Coppermine novice
*
Posts: 29


« Reply #783 on: October 24, 2009, 12:13:12 pm »

I can't see the captcha image on the registration page, so when people try to register they got the error "confirmation code didnt match". I followed the intructions of this post http://forum.coppermine-gallery.net/index.php/topic,36319.msg225008.html#msg225008 but nothing happened.  Undecided
Link of my gallery: http://www.melinda-clarke.org/gallery/.
Thanks.
Logged
i-imagine
Supporter
****
Gender: Male
United States United States

Posts: 477

aka Joe Carver


WWW
« Reply #784 on: October 24, 2009, 12:40:10 pm »

The first thing you need to do is upgrade. Your Coppermine version is out of date and vulnerable.
If you allow people to register with this old release then you will allow your site to be compromised.
(It is still vulnerable without new users too)

<!--Coppermine Photo Gallery 1.4.18 (stable)-->

After you upgrade you will need to "fix" your theme.

As you can see......
The captcha displays fine on this page: http://www.melinda-clarke.org/gallery/register.php?theme=classic

Logged

Enjoying the power of Coppermine - Art + Artists Community Gallery and My Personal Photo Gallery
missparis
Coppermine novice
*
Posts: 29


« Reply #785 on: October 24, 2009, 02:29:04 pm »

Thanks for the reminder!  Smiley I just upgraded my gallery.

Well I will try to fix the theme, because since the upgrade the captcha image is not the only thing that does not work  Undecided.
Thanks again.
Logged
Kim Bubandt
Coppermine newbie

Gender: Male
Denmark Denmark

Posts: 1


WWW
« Reply #786 on: November 06, 2009, 11:01:24 am »

SOLVED

I had big problems with this plug-in before getting it to work.

So hopefully I can help others by telling what I did:

1. Problem was that the image and text didn't show up at the registration page at all - solved by this post http://forum.coppermine-gallery.net/index.php/topic,36319.msg225008.html#msg225008

2. Problem was that image didn't show. Only a red cross. In the time I was searching for a solution my login timed out. So now I couldn't even log in again, because I couldn't see image. In the future maybe login confirmation should be disabled by default when installing.

3. Tried to delete the SQL table as mentioned in this post http://forum.coppermine-gallery.net/index.php/topic,36319.msg170592.html#msg170592 - now I could log in again.

4. Changed the settings in file codebase.php so that this problem wouldn't occur again.
Code:
    $CAPTCHA_DISABLE = array('login' => 'Administrators,Registered,Anonymous',´
        'register' => 'Administrators,Registered,Anonymous',
        'comment' => 'Administrators,Registered,Anonymous',
        'report' => 'Administrators',
        'ecard' => 'Administrators',
        );

5. I tried Installing and Uninstalling the plug-in several times - no luck.

6. Found that you can put the code to a file instead of a picture.
Find this in captcha.class.php
Code:
      function Create($sFilename = '') {

Change to
Code:
      function Create($sFilename = 'test.jpg') {

This way i could check that the everything worked, because the code was actually made in the jpg file. Hmmmm OK thats one step further.
NOTE: File can be found in the root folder and the picture will NOT show until you remove this 'test.jpg' again. Only one is allowed at the same time - file OR picture.
I have no idea why this was working with the file, but not with the picture on the page itself. Maybe someone can answer this?

7. Looked through this huge thread trying to find a solution - at the moment it's 40 pages big. Found this post from Nibbler


2) Clean the output buffer just before the image is displayed.
captcha.php
Find:
Code:
$code = $oPhpCaptcha->Create();

Change to
Code:
ob_end_clean();
$code = $oPhpCaptcha->Create();

8. SUCCESS - now everything worked and now I just changed the configuration in codebase.php to the settings I would like to have on my page.

9. Attached is also the Danish translation of the confirmation messages - Huge job to translate  Wink

Hope that this is helpful to someone. I found this solution by searching the board!
Not saying it's the fastest solution, but remember that the members here is helping because they would like to help - NOT because they have to!!!

* Captcha Languagepack - Danish.zip (0.62 KB - downloaded 4 times.)
Logged
Pages: 1 ... 36 37 38 39 [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.038 seconds with 17 queries.