Questions tagged [user-registration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Set user password after creating user

I have the following code: function create_account(){ //You may need some data validation here $fname = ( isset($_POST['billing_first_name']) ? $_POST['billing_first_name'] : '' ); $lname ...
1
vote
0answers
8 views

WP MU Register User across all blogs

How to register user on WM MU install for all blogs at once, but not to a limited blog which was triggered during registration? Thank you.
0
votes
1answer
1k 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('...
6
votes
2answers
13k views

How do I create a password reset link?

I have the registration workflow set so that my user have to fill out a gravity forms user registration form and then activate their account via a link in an email. The email link sends them to a ...
0
votes
1answer
431 views

WordPress Multisite Network Subdomain

I want to start something, but before i do it i'm asking for some advice. the scenario is..... mywebsite.com i will have listing directories and i want for every category to use a different theme, ...
0
votes
1answer
452 views

Disallow google/other email plus and dot tricks when registering?

A user registered with my WordPress blog as "bob.smith+bc@gmail.com" (for example). I'm fine with that. However, if the user comes back with "bob.smith+bc2@gmail.com", I want to stop him for ...
1
vote
0answers
28 views

Create a unique username on wordpress registration

On registration my users are not able to choose username, so the email = username. I want to change this, and i try to create a unique username on registration. // DEBUG function uuid() { return ...
0
votes
2answers
522 views

Unable to Add User after Site Migration

After migrating a WordPress 4.7.2 site from staging to production, everything seems to be working fine except that I cannot add a new user. The All Users screen shows my existing 2 admin accounts that ...
0
votes
0answers
32 views

Create user with ACF custom fields via REST API

I'm unable to create a User via the WordPress REST API when I include custom fields within the payload. I have 2 custom fields on the User object, created with ACF: phone_number (string) state (...
0
votes
1answer
9 views

Link with password is not sent to the new user

We are having the issue with email - is not sent when new user registers. The password link is not emailed to the user. We are using g suite and never had any issues on wp If anyone can help that ...
1
vote
1answer
527 views

Where are people registering on my website?

I'm getting tons of spam from people registering on my site, but there is no place to register. I did check http://MyWebsiteName.com/wp-login?action=register, but it said "Page not found," so that's ...
1
vote
0answers
37 views

Backend user creation form with additional language field

I need to create users in the backend which currently works. After adding the user, he gets an email currently in english. I want to make this dynamically to the given language in the backend user ...
0
votes
0answers
12 views

add image uploader field for users without plugin

i have made signup form in custom template. I'm trying to allow users to upload a profile image on their user profile editing page, thanks in advance. kindly help with code step by step. i have ...
0
votes
0answers
17 views

What would cause wp_insert_user role to work sporadically?

I use the following code in a frontend form. About 10% of the time, the new user is created as a 'subscriber'. What would cause this erratic behavior? $new_user_id = wp_insert_user(array( 'role' =&...
0
votes
0answers
15 views

Change reset password hook?

When users create an account they get an email to set their password. Currently, it goes to the default https://example.com/wp-login.php?action=rp&key=hFRwAiQxbz634rmjHuWgU&login=username ...
1
vote
1answer
65 views

Email confirmation in user registration form without a plugin

I have created an HTML registration form for users in a custom template. Now I want to send an email confirmation link in registered emails from which registered users can login. Below is my code. ...
1
vote
1answer
2k views

Register users without confirmation

I'm looking to register users without requiring confirmation of their emails (and even better, no password when they register). Basically, I want them to subscribe their mails using wp registration ...
0
votes
1answer
622 views

Add custom Date column to “All Users” admin panel in WP

I wan to add a date field to my user list dashboard where I can see list of new subscribers to my website along with the date they signed-up. Thanks ~Vik
0
votes
2answers
88 views

Disable emails for new user registration

I want to disable the default email that is send when user is registered. I am using this plugin for email verification User Verification By PickPlugins, which sends an email with confirmation link, ...
0
votes
0answers
14 views

How do I code in functions.php of my theme the ability to create users in each multi-site after registration validation

I have a main site and two sub-sites I want to upon registration validation (after the email) create the user on each sub-site. I tried adding this code to functions.php but it does not work. There ...
6
votes
2answers
18k views

Display user registration date

I want to show user registration date like Member since: 15,dec 2012. I have a code <?php echo date("M Y", strtotime(get_userdata(get_current_user_id( ))->user_registered)); ?> but it ...
1
vote
1answer
544 views

Custom Front End Registration - How Does the Key work in the Password Set Request?

I've been working from some tutorials on building a front end registration / login system. Specifically this link - http://cubiq.org/front-end-user-registration-and-login-in-wordpress Everything is ...
1
vote
3answers
1k views

Batch users creation

I would like to share a document with about 140 users after password authentication and I want to avoid to create manually all the 140 accounts. Is it possible to create them quickly? UPDATE: ...
0
votes
1answer
561 views

How to get rid of the username of registration form in theme my login wp plugin?

I have tried disabling the username in the functions.php through if(!is_admin()){ remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); add_action( 'personal_options', '...
-1
votes
2answers
814 views

Change WooCommerce registration form/way?

I want to change the registration form of WooCommerce a little bit. I'm fine with the normal form which comes from WooCommerce but I want to add the following fields and functions: If a person enters ...
0
votes
1answer
18 views

Generate long hashed user ID

Can I replace the default user ID generation on registration to a more advanced one? Similar to SHA-256 et al ? I'm working on prototyping a service with possibility of massive amounts of signups and ...
0
votes
2answers
948 views

Registration form not registering First and Last name

I'm creating a custom registration form which works using username and email inputs, but when I include First and Last name fields it won't let me register. Here is the form: <form id="...
0
votes
1answer
836 views

Restrict user registration to emails on a single domain

I need to allow user registrations only for those with email addresses on a single domain. I have tested multiple regular expressions and this one works well in a regex sandbox environment, but as ...
0
votes
1answer
851 views

Wordpress auto login user after registration only from a specific page

I have have a custom join page that is called /join/ and the page id=484 and it uses a plugin for the registration function by simply placing a shortcode on the page very straight forward. I need to ...
0
votes
1answer
428 views

A conditional button

I wish to add a button to a page of my site that redirects the user to the signup page, if he is not a registered user, and to another page of the site, let's say Test_Page, if he is a registered user....
2
votes
2answers
4k 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?
2
votes
1answer
650 views

How to customize wp_signon()

I am trying to get a customized sign on process. The features that are absent in WordPress by default are the following: Allow user to choose a password at the time of registration. Allow user to ...
1
vote
0answers
18 views

Users and Multisite - Removing all user capabilities

Quick summary: I basically want to know if it would cause any issues if I remove user capabilities. When users register on a multisite, they get their 'capabilities' assigned to the site they ...
0
votes
1answer
27 views

How can I fetch user registration age

How can I fetch the user registration age? Like for example user A registered 7 days ago, user B 10 days ago etc. In my current project, I have this requirement where there are set of tutorial videos ...
2
votes
1answer
1k views

Upload files programmatically to users

i'm using pods plugin to add new custom fields to user so i added 4 files custom fields and then trying to upload files to this fields from registration page and create new user but when i upload the ...
0
votes
1answer
616 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
1answer
22 views

Enter user registration information in the database

can you tell me what's wrong with this code? I simply have to enter those data in the user database on Wordpress. Here is my code: // Inserisce utente nel DB $user_data = [ 'user_login' => $...
0
votes
4answers
14k views

WP REST API for user sign up (registration)

Is it possible to create a sign up form that can work through WP REST API for visitors to be able to create accounts on my site? I can create such a form and use it to create new users. This works ...
0
votes
0answers
38 views

Issues adding Recaptcha v3 to Wordpress Registration

I'm having a problem with adding Recaptcha v3 to my WP registration form. The recaptcha seems to be registered and working and communicating with Google's api. I'm running into problems when I try to ...
5
votes
2answers
3k views

Remove email verification when new user register

Please note I'm not posting this question without doing google search, but the problem is every single result I found is either about BuddyPress or WP Multisite, but I have a WP Single installation ...
0
votes
1answer
58 views

add_action doesn't work for my function

I'm trying to build a function which run when a member is registering on my site. I am building an extranet using the Simple LDAP login plugin to use my LDAP directory so that users connect on the ...
1
vote
2answers
517 views

SSO system between 2 WordPress installs on different servers

This is essentially a repeat of this question, but it has not been answered. I am trying to create an SSO system between two separate WordPress installs that are on different servers using different ...
0
votes
0answers
29 views

Single Sign On (SSO) between two Wordpress websites

Not having much luck finding solutions here, can someone help? I have abc.com, and sub.abc.com Users will create an account on abc.com, but I need users to login with to sub.abc.com after. If users ...
0
votes
2answers
402 views

Filter and validate user role in registration

I want to show a select box for user roles in the registration form. I am using this model: /* ROLES IN LIST REGISTRATION */ // 1. Add a new form element... add_action( 'register_form', '...
0
votes
1answer
404 views

Changing username after registration to get around the issue of having duplicate emails?

I want to change username and email after a user has been created and sent an email. This is because I want!! (yes, you read correctly) to have duplicates in my database. In normal situations this is ...
12
votes
1answer
777 views

How to prefill WordPress registration with social details

I created custom registration process in WordPress with a lot of extra fields like first name, last name etc. I would like to make integration with Facebook/LinkedIn so first name, last name, email, ...
4
votes
2answers
9k views

How do I create a user using the new JSON api in 4.7?

I formerly had the JSON API and JSON USER API plugins working before 4.7 and I have seen the documentation at the ReST API User reference, https://developer.wordpress.org/rest-api/reference/users/#...
-1
votes
1answer
17 views

How can I add Author's phone number to wp profile and make it appear in wp-admin/edit.php columns

How can I add Author's phone number to wp profile and make it appear in wp-admin/edit.php columns? Someone pls help me out with code or plugins link. Thank you.
0
votes
1answer
20 views

I want to give every new registering user a unique key apart from password field for external use

I want to give every new registering user a unique key apart from the password field and other fields in the WordPress database table for external use. I want to use this key for identification of ...
2
votes
0answers
50 views

Wordpress registration and contact form 7 [closed]

A very nice man shared this code to add to a theme's function file that will convert a cf7 form into a WORDPRESS registration form. The code that a man shared on moot point works for one form by ...