[buddypress-trac] [BuddyPress] #2630: BuddyPress sign-up doesn't use banned email domains on WP

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Sep 14 16:45:55 UTC 2010


#2630: BuddyPress sign-up doesn't use banned email domains on WP
-------------------------+--------------------------------------------------
 Reporter:  j.conti      |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  1.3
Component:  Core         |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by j.conti):

 Hi,

 I make some test. I'm not sure if this is legal

 If you add:

 {{{
 #!php
 if ( is_email_address_unsafe( $user_email ) )
              $errors->add('user_email',  __('You cannot use that email
 address to signup. We are having problems with them blocking some of our
 email. Please use another email provider.'));

 }}}

 on bp-core-signup.php just after line 352-353
 http://trac.buddypress.org/browser/branches/1.2/bp-core/bp-core-
 signup.php#L342

 {{{
 #!php
 if ( !is_email( $user_email ) )
                         $errors->add( 'user_email', __( 'Please check your
 email address.', 'buddypress' ) );

 }}}

 BuddyPress is filtering the banned email domains.

 If this is legal, you only need to add this line and BP 1.2.6 will use
 "banned email domains"

 I'm adding this line to all my BuddyPress installation and the splogs are
 finishing. :) (adding domains to banned email domains ofcourse)

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2630#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list