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: Blocking Certain Email Providers.  (Read 6928 times)

0 Members and 1 Guest are viewing this topic.

taiofmine

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Blocking Certain Email Providers.
« on: April 26, 2011, 06:21:23 pm »

I've been getting a lot of junky spam accounts on my gallery, despite the CAPTCHA. Most of them seem to be coming from @mx8168.net. I'd like to completely deny registration from certain email providers.

I did find this from 2005... but the code I'm supposed to find in register.php isn't in my register.php. I'm using 1.5.12.

Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Blocking Certain Email Providers.
« Reply #1 on: April 27, 2011, 10:05:53 am »

the code I'm supposed to find in register.php isn't in my register.php
The equivalent code in cpg1.5.x is
Code: [Select]
    if (!Inspekt::isEmail($email)) {
        $error .= '<li style="list-style-image:url(images/icons/stop.png)">' . $lang_register_php['email_warning2'] . '</li>';
    }
Logged

taiofmine

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Blocking Certain Email Providers.
« Reply #2 on: April 28, 2011, 06:55:47 pm »

Thank you so much! I really needed this feature for my gallery.  :D
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.