in wordpress multisite when we give to site admin the option to add new users, site admin dont have the "checkbox" to add the new user without sending the user email with link activation (see the screenshot) how can we add this option to site admin?
I'm working on setting up a multisite environment, and have run into the possibility of a user trying to register on the sub-site with the same email address they've used on the main site. I've found some code here which removes the duplicate email address error and accomplishes this task. Here is the relevant code from the answer linked above: add_filter('wpmu_validate_user_signup', 'skip_email_exist'); function skip_email_exist($result){ if(isset($result['errors']->errors['user_email']) && ($key = array_search(__('Sorry, that email address is already used!'), $result['errors']->errors['user_email'])) !== false) { unset($result['errors']->errors['user_email'][$key]); …
After pushing a staging site to production I have [email protected] set as the admin email which I need to change. Obviously I can't access that email to verify the change because it doesn't exist so I wrote this query: UPDATE wp_options SET option_value = '[email protected]' WHERE option_name = 'admin_email' I found this related answer but I do not use phpMyAdmin. Is this an OK method to override this? Or is there a more proper method?
I am the WP admin of my own website. I recently noticed that I can't connect to one of my email addresses contact@[website.org]. It shows this error: Your sign-in settings don’t meet your organization’s 2-Step Verification policy. Contact your admin for more info." I can't manage to recover it and wouldn't find the solution online. Can somebody help me with this issue?
You know how all these websites send out links to their new users for them to verify their Email address? I'm trying to set up something like this but after some research I still haven't found a good explanation on how to implement this. I'm open for plugin recommendations, however most of the plugins I found have a ton of other features that I don't really need. Without using a plugin, how would I go about adding this to my …
On one of my websites, I'm trying to customize different email content like user activation email/new user registration email. Basically, on the activation email, it sends an activation link with the username & an auto-generated password but I want to alter the functionality a little bit. On the activation email: it will send the activation link, nothing else. On the next email/registration email: it will send the username, auto-generated password etc. I want to move the auto-generated password on the …
Not receiving any sign up mail, when user registers... Both admin & user ..... https://newsangels.com/manra?action=register But user is registered, but no email sending... However, If I try signup using the theme signup form which is at the top of site, it works then I'm using following code as mu-plugin: Is it causing the issue? <?php /* Plugin Name: Functions Description: Custom functions.php coding Author: UsmanSwift Version: 1.0 */ #RankMaths# add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) { if ( in_category('News') ) { …
If I try to change my email address, it will say it has sent a confirmation email to the new email address. But, I do not see any email request to that email. Is there a way to troubleshoot this or understand the error?
I just rehosted a site for a client, and am now receiving emails from the site stating I've recently requested to have the administration email changed. I didn't request it, and I've deleted the account the former admin could have used to log in. I've also changed all other passwords, and the host has changed. This is the second time this has happened. The first time, I tried clicking the link to see if it would tell me the proposed …
When a new user signs up, the confirmation email is received and this is what it says: Username: testuser To set your password, visit the following address: But I want to customize it, so I added the following code to the functions.php but it does not work. The default email is still sent. I am using WordPress 4.9.9 <?php add_filter( 'wp_new_user_notification_email', 'custom_wp_new_user_notification_email', 10, 3 ); function custom_wp_new_user_notification_email( $wp_new_user_notification_email, $user, $blogname ) { $wp_new_user_notification_email['subject'] = sprintf(__( '[%s] Your username and password' …
I wonder if there is any way to make email an optional field while registering using default form. So that those who don't know mail may leave it blank. I got code from stackexchange but that doesn't seems to work.I added code to functions.php under theme folder. add_action('user_profile_update_errors', 'my_user_profile_update_errors', 10, 3); function my_user_profile_update_errors($errors, $update, $user) { $errors->remove('empty_email'); } add_action('user_new_form', 'my_user_new_form', 10, 1); add_action('show_user_profile', 'my_user_new_form', 10, 1); add_action('edit_user_profile', 'my_user_new_form', 10, 1); function my_user_new_form($form_type) { ?> <script type="text/javascript"> jQuery('#email').closest('tr').removeClass('form-required').find('.description').remove(); <?php if (isset($form_type) …
Backstory: I'm currently using WPEngine as my hosting provider, gsuite to host email and aweber for my email lists. Aweber advises me to create an spf record to reduce the potential for being seen as spam. Steps taken so far: I used an spf record creation tool Created a TXT DNS entry v=spf1 mx a a:aweber.com ?all Validated the format using MX ToolBox Question: Are there WordPress specific concerns with SPF/DMARC related DNS entries? I'd like to know best practices …
I have found a really great tutorial about creating a plugin that verifies email for new users: Email verification for new users Is there any possibility to do this directly with core editing and without a plugin?
The idea is to get rid of mandatory new account activation through email As is: register new user -> exit without following to email verification link -> try to log in -> Site says something like: "Your account has to be activated before you can login. You can resend email with verification link by clicking here." Desired to be: register new user -> exit without following to email verification link -> try to log in -> Site let you in. …
I have a multisite installation and my custom functions hooked on user_register or wpmu_activate_user are not triggering when the "send verification email option" is enabled. Curiously, when inserting directly without asking for mail confirmation all the hooks trigger just fine. Any ideas why? Any help would be appreciated :)
I have an e-shop on WooCommerce version 4.1.1 and the past 2 days now it sends the new order email to customers from my personal administrator email, that belongs to another domain, instead of the [email protected] Before that, it was coming just fine with the information as shown in the screenshot that is in the WooCommerce setup. Any ideas? Thanks! Vassilis
We have a newsletter signup on our site. When someone signs up, wordpress creates a subscriber account associated with their email address (no password needed). If one of these users then goes to purchase products from us using the same email address, and they tick the box for "create an account" on the checkout page, they get this error: An account is already registered with your email address. Please log in. But they can't log in because their original subscriber …
I set up a front end form for logged in users to update their email address. So far it is working however I want the user, after confirming the email change via link sent to the new address, to be redirected to a custom front-end page.(after the change done in /wp-admin/edit-profile.php). Thus the user never seeing the backend user profile page. Here is the code for the form <form action="<?php the_permalink(); ?>" method="post"> <div class="form-group"> <label for="e-mail">E-mail</label> <input type="email" class="form-control" …
I have written a custom plugin (that creates a custom post type) and allows any user to submit a new post from a form on my website. To prevent bots, I have setup an e-mail confirmation code which they must click, where this changes the post status from Draft to Published. Unfortunately the wp_mail() code shown below seems to be executing this confirmation URL automatically. As soon as the post is submitted, it is set to Draft until it reaches …
In 5.3 a new function was introduced, on login you are reminded to confirm or update the administration email address of the site. Is it possible to disable this completely? I don't want to have this in my multisite.