Search Results for 'activation email'
-
Search Results
-
For many of my test email accounts, any mail received from my buddpress site such as activation emails or invite a friend emails for the secure mu plugin end up in the spam box. This concerns me because most of the users invited to the site or members trying to activate their accounts will never receive the emails or they won’t check their spam boxes.
Is there any way to fix this problem. Is it something with the way BP renders the emails etc.?
All help would be appreciate!
Thanks,
eorTopic: Disable Activation Email
I’m getting spammed and have identified that they are using bots to create member accounts, then using the activation email to validate (typically with .info domains).
Does anyone know how to disable sending the activation email in a plugin? WPMU 2.9.2, BP 1.2.2.1
I have adapted the manual-member-approve plugin written by Matt Kern to work with BuddyPress and I have added the ability to “activate”, “send activation email”, “delete from wp-signup”.
Basically just doing a manual approval process since spammers are easily identifiable, but I want to disable the automatic sending of the activation email…
Thanks in advance.
WPMU 2.9.2
BuddyPress 1.2.4I need admins to activate newly registered users, not the users themselves. I haven’t been able to come up with a working plugin – probably because I’ve got MU and BuddyPress both running on my “members only” site.
I’ve modified the bp-core-signup.php file to send an e-mail to the user without the activation link and added an e-mail to the admin e-mail with the activation url. However, the user still ends up with the only e-mail, and it contains the activation url. Furthermore, the e-mail comes from noreplay@ which means that WP thinks I don’t have an admin e-mail set, which is not the case (I have one set).
bp-core-signup.php (originally)
Code:function bp_core_signup_send_validation_email( $user_id, $user_email, $key ) {
$activate_url = bp_get_activation_page() .”?key=$key”;
$activate_url = clean_url( $activate_url );
$admin_email = get_site_option( “admin_email” );if ( empty( $admin_email ) )
$admin_email = ‘noreply@’ . $_SERVER[‘SERVER_NAME’];$from_name = ( ” == get_option( ‘blogname’ ) ) ? ‘BuddyPress’ : wp_specialchars( get_option( ‘blogname’ ) );
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
$message = sprintf( __( “Thanks for registering! To complete the activation of your account please click the following link:nn%snn”, ‘buddypress’ ), $activate_url );
$subject = ‘[‘ . $from_name . ‘] ‘ . __( ‘Activate Your Account’, ‘buddypress’ );/* Send the message */
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $user_email );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message );wp_mail( $to, $subject, $message, $message_headers );
}bp-core-signup.php (my modification, not working)
Code:function bp_core_signup_send_validation_email( $user_id, $user_email, $key ) {
$activate_url = bp_get_activation_page() .”?key=$key”;
$activate_url = clean_url( $activate_url );
$admin_email = get_site_option( “admin_email” );if ( empty( $admin_email ) )
$admin_email = ‘noreply@’ . $_SERVER[‘SERVER_NAME’];/* START MOD */
$from_name = ( ” == get_option( ‘blogname’ ) ) ? ‘BuddyPress’ : wp_specialchars( get_option( ‘blogname’ ) );
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
$message = sprintf( __( “Thanks for registering! And admin will confirm your membership.nnYou will receive a separate e-mail after this confirmation.”, ‘buddypress’ ), $activate_url );
$subject = ‘[‘ . $from_name . ‘] ‘ . __( ‘Activate Your Account’, ‘buddypress’ );/* Send the message */
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $user_email );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message );wp_mail( $to, $subject, $message, $message_headers );
/* END MOD *//* START ADD */
$from_name = ( ” == get_option( ‘blogname’ ) ) ? ‘BuddyPress’ : wp_specialchars( get_option( ‘blogname’ ) );
$message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
$message = sprintf( __( “New registration request fromnnUsername: %snnE-mail: %snnPlease confirm by clicking the link below:nn%snn”, ‘buddypress’ ), $user_id, $user_email, $activate_url );
$subject = ‘[‘ . $from_name . ‘] ‘ . __( ‘Activate Your Account’, ‘buddypress’ );/* Send the message */
$to = apply_filters( ‘bp_core_activation_signup_user_notification_to’, $admin_email );
$subject = apply_filters( ‘bp_core_activation_signup_user_notification_subject’, $subject );
$message = apply_filters( ‘bp_core_activation_signup_user_notification_message’, $message );wp_mail( $to, $subject, $message, $message_headers );
/* END ADD */
}So, after I submit a test registration, I get an with the information below:
[blockquote]
from Members Only <noreply@domain.net>
to user@domain.com
date Thu, Jun 3, 2010 at 3:42 AM
subject [Members Only] Activate Your Accounthide details 3:42 AM (3 minutes ago)
Thanks for registering! To complete the activation of your account please click the following link:
http://members.domain.net/activate?key=xxxxxxxxxxxxxxxx
[/blockquote]Could someone help me by directing me to a plugin or some way to change my code so that I’m able to restrict registration to admin approval?
Topic: Disabling email activations
I’ve seen a few posts on this but no solution for wordpress mu. Since most of the email activations my install of buddypress sends, end up in the spam folder I see no need to have the email activations. I use the secure invites only plugin for mu and my site requires new members to be invited and I use the captha on registration so I’m not very worried about spam signups.
Is there anyone out there that knows a solution for this? Possibly someone who would like to or knows of a plugin that will work for mu. I’ve seen the plugin for a single install but not for mu. I do not want to officially launch my site until I get this issue resolved. Maybe a simple file edit?
Any and all help is appreciated!!
Thanks,
eori’ve just set up a site (theconfluenceproject.com) and have latest install of BP (1.42) running on WP 2.92.
i signed up for BP on my site using two different email addresses, and checked spam folder + regular inbox over the last hour but never received activation emails.
is anyone else having this issue?
any suggestions?
