Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
1answer
11 views

Custom registration function not working as it should because is_mail and email_exist keep giving errors when it shouldn't

Here is my registration function $firstname = sanitize_text_field( $_POST['firstname'] ); $lastname = sanitize_text_field( $_POST['lastname'] ); $username = sanitize_text_field( $_POST['...
0
votes
0answers
13 views

WooCommerce - updating address fields in registration form

I've added some WooCommerce checkout form fields to the registration form, since my site requires customer to provide their billing address during registration. // Custom function to display the ...
0
votes
0answers
12 views

Login and registration integration with 3rd party API

I have a 3rd part API that regiter/log in users to its system after buying a product, I want to integrate this API with the login and registration. Scenarios: 1. WP user login -> call API for ...
0
votes
1answer
17 views

Adding more fields to the registration form

Am using Jupiter theme. https://demos.artbees.net/jupiter/labrandeus/ The registration has by default username and password fields. The view for it is defined as below: <?php if (get_option('...
0
votes
1answer
15 views

How to allow mixed case characters in multisite site name?

This rule seems odd since you can name your site whatever you want inside the WP admin area. I am creating a user registration form for multisite and consider this a bad user experience in my form. ...
0
votes
0answers
16 views

Block Disposable Emails on Woocommerce Registration

Is there any way to block disposable emails on Woocommerce registration? I used this plugin with a list of disposable email domains, but it would only block on regular registration - not Woocommerce ...
0
votes
1answer
21 views

Redirect After Registration on Specific Link

I want to use registration_redirect to have users redirected to a certain page, only if they register using a certain link. Specifically, I want them to go from the registration link here to ...
0
votes
1answer
32 views

Clients with empty username are not receiving request new password email

I am looking after a old site from a client and a lot of users dont have username. I had setup in woocommerce "When creating an account, automatically generate a username from the customer's email ...
1
vote
1answer
23 views

Function to allow “Anyone can register”?

I'd been crawling the codex but can't seem to find a function that will allow me to programmatically enable the User registration system. Hopefully, I can make a custom plugin that will enable User ...
1
vote
0answers
21 views

Auto generate user email while registration

Here is the problem we are facing, we have a woocommerce website, most of our customers don't have an email or can't remember their username, so we have to make them do every thing with their phone ...
1
vote
1answer
15 views

wordpress disable login for unverified user

I have buy a theme form marketplace. This page is auto login after registration. I want to disable auto registration after login and without approving user by admin user can't login. How can do that? ...
1
vote
0answers
15 views

How can I create registration form for users which I can assign role and profile picture?

I am using Ultimate member's forms for user registration. I found the way to assign a role to a user but I cant find the way to assing a profile picture to the user. The form not only doesnt ...
1
vote
0answers
11 views

User registration

I'm working on a WP project where I want the user to be able to register via my WP page, and later I want to receive a mail about this user info, To either confirm or deny their registration (this I ...
0
votes
1answer
75 views

How can a Firebase user registration and login be integrated into a Wordpress site?

We have an app that uses a Firebase database for users and they can register and log in using the app. I need a way to get this functionality in the website for the app but the website is a ...
0
votes
1answer
36 views

Modify new user email notification in network admin screen wp multisite

Can please teach me which function reference should I use to modify new user email notification in network admin screen -> add user. I want to use custom email template for notify user? it will ...
0
votes
0answers
17 views

How can I track who clicked what in my member area?

I have a protected member area where registered members (= logged in with a Wordpress user account) can click to view videos and click to download PDF files. I want to know which user clicked what ...
0
votes
1answer
31 views

How to set up User email verification after Signup?

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 ...
0
votes
1answer
29 views

Create password protected page, no registration

I'm a Wordpress beginner and need a little help. I would like to create a page on my website which is only available to customers. I would like only that page and subpages(?) to that page to be ...
0
votes
0answers
79 views

User registration email and let user choose pasword

I found many examples where the user registration e-mail had the link with the self-generated password. Basically I would like to customize (add more text) on default user notification, link here: ...
1
vote
0answers
27 views

How to create user specific pages (not user role!)?

For my users on wordpress I have to manually upload research report for every user. the report is customised and different for every user. I am looking for a way to create user specific page, wherein ...
0
votes
2answers
46 views

Redirect to “Thank you” page after register new user on custom register form

Until now I was able to create the "Custom Register Form" on my Wordpress website, and send an activation mail to the registered user with the link for the activation. What I want to do is soon after ...
0
votes
0answers
34 views

Email Verification Bypass for Social Login

I used a e-mail verification plugin(Woocommerce E-mail Verification by XL) in order to filter out spam users which works fine. However whenever a user registers with Social Login(via Woocommerce ...
0
votes
1answer
31 views

Attaching an upload to a user

Is there any way with WordPress that a user could upload a file (pdf or jpg, for example) and have that image 'attached' to their account? Ultimately, I'd like to be able to have a Gravity Forms ...
0
votes
0answers
14 views

register_activation_hook not updating

I'm using register_activation_hook to register a user role on my site, and It works. Now I want to edit the role of the user, I tried to reactivate the plugin and clear the cache and still not ...
0
votes
1answer
717 views

Disable New User Registration Email sent to Wordpress admin email on 4.9.5

I don't know if something changed, but I'm not able to disable the email sent to the WordPress admin mail. I tried adding this code to my theme's functions.php file //disable default WordPress new ...
0
votes
1answer
41 views

How to call or add password input / generate password / password strenght meter in custom registration form?

I will share my knowledge how to add password input/ generate password / password strenght meter with default/standar wordpress password. If you like this information, please upvote my question and my ...
1
vote
0answers
12 views

Using the standard WordPress “New User” interface on a multisite

We've set up a WordPress multisite with the intention of adding users manually via the Dashboard. However, it looks like the Multisite "Add User" menu is lacking several features, and this is causing ...
0
votes
0answers
35 views

Get user meta on registration hook

How to get the user meta fields no registration hook in wordpress, for examples we are registering the user in wordpress rest api, after user registration from mobile need to add function that get the ...
-1
votes
1answer
39 views

file upload user profile

I am working on a medical reporting site in wordpress, where the requirement is that admin can upload a seperate .pdf file to different users' profile & only the profile owner can download it
-1
votes
1answer
434 views

What the user_status column?

I was look in the wp_users table a " user_status " column...( all contain zero ) What works is this data?
0
votes
0answers
214 views

Generate Random User IDs

I want to my WordPress users to be automatically assigned a random (e.g. 8 digit) user ID when registering, instead of having to choose a username. So, in effect, they have a membership number instead ...
0
votes
0answers
15 views

Users getting linked unwanted to main mu in WordPress multisite (WPMU)

Sometimes in WPMU a user from one of the networksites gets linked to the main mu as well. It seems to me like it is completely random and very rare so I cannot easily simulate this. It's easy to just ...
0
votes
0answers
11 views

Display modal window after registration

I have done some research about the topic but I haven't achieved a clear understanding of how to solve my problem. I would like to display a modal window after user registration. The only solution ...
0
votes
1answer
45 views

Custom registration and pending approval

I have a custom form so the user can register at my site. He can register as a subscriber or as a shop. I need to 'block' all registrations for shop, so the user register as a shop, receives an ...
0
votes
0answers
6 views

Allow administrators of Multisites only to add new users that are lower level?

I am working on a Multisite, which I will allow users to register and create their own site. But I only want them to be able to create users which are a specific user role. How do I set a specific ...
0
votes
0answers
29 views

WP-Create temporary username and destroy it when user logs out-with PHP

So far I have a script that I can use to create a username, but I want to improve it so that the username is temporary and that gets deleted when the user is logged out or when the session expires (...
0
votes
0answers
9 views

LinkedIn Registration

I am trying to create an option for users to register with linkedin. I've gotten that much to work through a plugin, but it automatically is allowing users to login. I'd really like to have the option ...
0
votes
0answers
21 views

WordPress user registration restrict to or match the people on a list

we have a question about letting specific group of people to register the WordPress site. We are building a site that is kinda like a small town community. There are about 3000 to 4000 members in the ...
2
votes
1answer
67 views

auto assign sequence base username while registration

i am trying to get a new user an auto assigned sequence based username(non editable by user) while registration. so it will be starting from 0000000001 and so on, i have tried certain codes but my ...
0
votes
0answers
109 views

How can I upload a file during user registration in WooCommerce

During WooCommerce registration process I would need to do the following: Add upload file field (done) When user registers file gets uploaded to wp-content/uploads/user folder File url is saved to ...
0
votes
1answer
44 views

I have restricted the username to numerical format but not able to integrate the same with PeepSo plugin

on my website i am using PeepSo Plugin and the restriction i put on wordpress signup page for username is not working on PeepSo Plugin. my site have two registration page one is the default wordpress ...
0
votes
0answers
44 views

File was uploaded, but it is not shown on media section of the dashboard

I managed to add an upload field to the user registration form of the website I'm building. I, also, was able to handle the upload. However, despite the file was correctly copied to the uploads ...
0
votes
0answers
64 views

How to Enable registration email for a custom user role?

I have created a custom user role that named as Teacher. add_role('teacher', 'Trainer', array( 'read' => true, 'edit_posts' => false, ...
0
votes
0answers
24 views

Shortcode to insert the “Registration Form” in other page? [duplicate]

I'm trying to insert the "Registration Form" in a page using this shortcode [wp-form-registration]but it doesn't work. I just need to show the Registration form in a page in the frontend. This is ...
1
vote
0answers
29 views

How to change a user's role conditionally to expire after two weeks

Currently on my website I have two roles created - Trial and Expired. When a user registers it defaults them to trial. I want to run a function that will automatically change their role to expired ...
2
votes
1answer
310 views

Prevent user creating new users with specific roles

On a multisite installation I have created some custom roles. Some of them have the capabilities to create new users. I want to allow users to create new users only with allowed roles. One step is ...
0
votes
0answers
22 views

Auto create a new templated page on user registration

Legends and Legendettes I'm needing to create a page that uses the client username as a slug. Is there a plugin or some coding (I am completely green so talk English please) that will create a new ...
0
votes
1answer
90 views

Add role selector to custom registration page

I have sucessfully integrated this code in functions.php //1. Add a new form element... add_action( 'register_form', 'myplugin_register_form' ); function myplugin_register_form() { global $wp_roles; ...
0
votes
0answers
26 views

Hierarchy in user accounts

We're currently building out an MVP using Wordpress as a headless CMS (JSON Rest API). We have a requirement that allows user that have registered on the frontend to invite their colleagues to join. ...
1
vote
1answer
131 views

Ajax Redirect role = 'Editor' to their Dashboard after register

How to redirect the user with role Editor to their respective dashboard after register? Here is the Ajax Script: wp_localize_script('jquery_login','ajax_object',array('ajax_url'=>admin_url('...