Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Recaptcha and ecards in cpg 1.5.12  (Read 22919 times)

0 Members and 1 Guest are viewing this topic.

brtzz

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Recaptcha and ecards in cpg 1.5.12
« on: March 16, 2011, 09:00:55 am »

Hello!

Has someone the information about what should be changed and where to get the recaptcha working with the ecard function in cpg 1.5.12?

Thank you!
Logged

Toddsc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #1 on: March 27, 2011, 08:40:17 pm »

I would really like this too. Adding Recaptcha to 1.4.x completely cut out the hundreds of spam postcards a day I was getting.  They haven't started up again yet, but I really would like to prevent using our postcards for spam without requiring registration.
Logged

quick5pnt0

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • RCNewz.com
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #2 on: August 09, 2011, 08:34:37 pm »

I would like to see this too. Its shocking that there isn't a captcha on the ecard in the vanilla coppermine install.

EndlessQuest

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #3 on: November 28, 2011, 09:44:01 pm »

Has someone found a solution for this yet? I had to disable e-cards for guest because I was getting much spam. I would like to enable e-cards for guest, but then with captcha.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #4 on: December 01, 2011, 04:57:40 pm »

Its shocking that there isn't a captcha on the ecard in the vanilla coppermine install.
That's a feature that has to be included to the next release of cpg1.5.x imo. I'll try to add it asap.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Re: Recaptcha and ecards in cpg 1.5.12
« Reply #5 on: December 02, 2011, 12:47:48 am »

That's a feature that has to be included to the next release of cpg1.5.x imo. I'll try to add it asap.

If you can add a plugin hook into the cpg captcha routine, I can try to add ecard to the recaptcha plugin. My asap might take a little more time though... :)

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #6 on: December 02, 2011, 11:54:32 am »

Afaik the cpg1.4.x captcha plugin already added its captcha to the ecards, so it should work with the already existing hooks. But as you asked for a new plugin hook within the captcha routine, I wonder where exactly it should be added and what it should be do?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Re: Recaptcha and ecards in cpg 1.5.12
« Reply #7 on: December 02, 2011, 12:23:30 pm »

Afaik the cpg1.4.x captcha plugin already added its captcha to the ecards...

Yes it did and I used that as guide to make it work with recaptcha. I will need to look at that plugin and ecard.php to speak with more accuracy, but I think I tried to make the recaptcha active only when the ecard was being sent, not when it was being previewed. At the time I think there was a small challenge to do that because the preview function was closely tied to send. (it is early in the day and I wrote that a while back, so please excuse any mistaken memories...)

I will take a closer look over the next couple / few days.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #8 on: December 02, 2011, 02:20:30 pm »

To enable captcha for ecards, download the attached file and extract it. Then, upload it to your gallery root and replace the existing ecard.php file. Now you have to visit enable_ecard_captcha.php with your browser, so if your gallery is located at http://coppermine-gallery.net/demo/cpg15x/ you have to enter http://coppermine-gallery.net/demo/cpg15x/enable_ecard_captcha.php to your browser's address bar.

Please report if it works as expected or if you've any trouble with that mod, as I schedule to include it to the next release.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #9 on: December 03, 2011, 01:20:06 pm »

It looks to work fine in my test gallery.  :)

I will try to implement it into the recaptcha plugin within a week to 10 days or so.

EndlessQuest

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #10 on: December 09, 2011, 03:27:34 pm »

I implemented as per instructions and it "works" in the sense that there is now a captcha below the ecard input, but the image shows the famous red square.

http://www.richards-fotos.nl/coppermine/index.php
Logged

EndlessQuest

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #11 on: December 09, 2011, 03:50:08 pm »

Oh, since I do not have a "testing" environment, I replaced the e-card.php file again with my old e-card file and disabled e-cards for guest again.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #12 on: December 11, 2011, 05:02:36 pm »

I implemented as per instructions and it "works" in the sense that there is now a captcha below the ecard input, but the image shows the famous red square.

http://www.richards-fotos.nl/coppermine/index.php


http://www.richards-fotos.nl/coppermine/captcha.php returns an captcha image for me. It doesn't make sense that it won't work at other places. However, this individual issue shouldn't be discussed in this thread, so please start a new thread if you want to fix your captcha issue.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #13 on: December 16, 2011, 01:03:44 pm »

That feature will be in the next release of cpg1.5.x (cpg1.5.18) and also in cpg1.6.x (added in SVN revisions 8299 & 8300). To enable it in cpg1.5.x, download the appropriate attached file and extract it. Then, upload it to your gallery root and visit the file with your browser while logged in as admin.

Example: if you want to enable the ecard captcha for everyone, upload enable_ecard_captcha_everyone.php to your gallery root. If your gallery is located at http://coppermine-gallery.net/demo/cpg15x/ you have to enter http://coppermine-gallery.net/demo/cpg15x/enable_ecard_captcha_everyone.php to your browser's address bar.
Logged

zeppo

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • Environmental Cartoons
Re: Recaptcha and ecards in cpg 1.5.12
« Reply #14 on: December 23, 2011, 12:28:22 am »

Thank you Andre! This is great.  =:D

Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.