New answers tagged

1

This is not a complete answer, but it's an attempt at giving you some direction. Hopefully with the community here we can come up with a solution for you! Firstly, I've been able to replicate your issue: I took your code and placed it in my theme's functions.php for now. I removed the if( $strict ) test I tried registering an 8 character Hebrew name - it ...


1

So unfortunately without major revisions to both code and database structure this is not possible because WordPress stores the user email in a "UNIQUE" row in the database. Just unsetting the error message will not solve this issue because the user does not get created.


0

you can Disable users activation email: https://buddypress.org/support/topic/resolved-disable-users-activation-email/ and there is plugin to do its: https://timersys.com/free-plugins/bp-disable-activation-reloaded/


0

To add one more to the list for logout: add_action('wp_logout','go_home'); function go_home(){ wp_redirect( home_url() ); exit(); }


0

Most of your question is off topic, I guess, because it involves a question about Google's APIs. You would need three things: Create the possibility to login to your site with a Google account. There are plugins that make this possible, like this one. Import the list of group members from Google. There probably is an API for this, but that is out of the ...


1

You can use the user_register hook and then mail all your subscribers. Something like: add_action('user_register','notify_new_member'); function notify_new_member(){ global $wpdb; $usersarray = $wpdb->get_results("SELECT user_email FROM $wpdb->users;"); $users = implode(",", $usersarray); mail($users, "New Member", 'A new member has just ...


0

Because I couldn't find an answer on this, I handled it myself by setting my own cookie in the function and checking that. Here is the revised function: function custom_login_init () { $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'login'; if ( isset( $_POST['wp-submit'] ) ) { $action = 'post-data'; } else if ( isset( $_GET['reauth'] ) ) ...



Top 50 recent answers are included