Questions tagged [registration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Disable check control empty fields usrname/password

I would like a function to disable the control during user registration of empty username and password changes because I would like to fill them already here with the phone number automatically.
0
votes
0answers
9 views

Custom registration edit field / value before registration submit

i need to : add a hook that updates after user username and password creation by setting them both as the variable telephone number, i try this (but not working): // sets username and password ...
0
votes
1answer
13 views

Problem in auto login after registration

I created a registration form myself and now I need to auto login after registration but I see the following error that belongs to a plugin. I know I should not speak about plugin here But my question ...
0
votes
0answers
7 views

BuddyPress Autocomplete Field in Registration

I’m working on Educational community website, where students will create their accounts. In that registration form I want to Include their current location, College, Current city, Year of passing and ...
2
votes
0answers
17 views

Registration and Custom Post Types - How to synchronize information?

I am building a platform where service providers can offer their services to potential customers. Therefore, I have two user roles, one "customer" who can only create an account and read; ...
0
votes
0answers
10 views

Multisite register url got 403 error

I have a Multisite wordpress installed by "subdomain" configuration. My main site and sub-sites and all of addresses works correctly Except the Registration url: http://site.example.com/wp-login....
0
votes
1answer
16 views

Creating a custom post type upon registration for a specific user role

Can anyone help me to create a custom post type content when a new user is registered? But the user should be of specific role only. I have been searching but couldn't find any solution.
1
vote
0answers
15 views

Correct passwords keep appearing as incorrect

I don't know why passwords are not working... Every time a user registers on my website, their accounts are verified easily but the same passwords they use to register appear as incorrect. I have ...
0
votes
0answers
7 views

I would like to add an email confirmation to my user registration page on my website

Here is the code for the registration form. Please show me what to ADD in order for the user to confirm they email before being registered to the website. SitePoint Create An Account ...
1
vote
0answers
22 views

Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?

I am trying to write a custom user registration plugin. The plugin has 5 basic functionalities Take form data and create a user using wp_insert_iser Once a user is created, update user meta for ...
0
votes
0answers
12 views

Registration - website crashes, error 403

Some time ago I wrote new functionalities on the client's website. I wrote some of the code myself, some use plugins. After uploading the final version to the server, there was a problem registering ...
0
votes
0answers
9 views

Woocomerce registration form for two types of customers

I'm new in Wordpress and I have been using Woocomerce plugin for my website, on which want to have option to register two types of users, with different types of registration forms depending on their ...
0
votes
0answers
26 views

How to enable Attachment post type in Gutenberg editor for blocks?

I would like to make the native Attachment posts to be accessible by various Gutenberg Blocks. (To appear & be selectable in dropdown menus, etc.) Is that possible? The nearest answer i found is ...
0
votes
0answers
13 views

Placeholder text for ajax loaded conditional fields in the registration form

i am using the following provided from @maruti-mohanty Link to the post It is functioning very well the fields have placeholders, but i got conditional fields (ajax loaded) which when they appear dont ...
1
vote
1answer
35 views

Add custom user profile field to default WordPress MultiSite registration form

I trying to add a custom field to WP Multisite registration. I found hooks to display my field but I can’t save its value to user profile, because to do that I need user ID, but user ID, as I assumed ...
0
votes
0answers
20 views

Unable to login after registration

I use wp_insert_user to register new users from the frontend. But when I use wp_signon to log them in later, it fails. It says the username or password is wrong. But they are not (password: pass). ...
0
votes
0answers
16 views

Is there a maximum length to user passwords?

In the database, the hashed password is stored in a field that can store up to 60 characters. My question: is there an upper character limit on the unhashed (user-chosen) passwords, or will the ...
1
vote
1answer
25 views

Creating custom registration and login link in wordpress

I am working on a WordPress website and using the following code for registration and login. This code contains a default register and login link. But I want to change default register/login box with ...
5
votes
1answer
143 views

BuddyPress: Allow only one email domain to register

In the BuddyPress, I want to allow register and log in using only one email domain. For instance, xxx@myemaildomain.com restore all will be disallowed. I have checked in the BuddyPress source and ...
0
votes
1answer
24 views

Creating custom registration and login page in wordpress

I am working on WordPress website and using the following code for registration and login. <?php $c_user = wp_get_current_user(); if( !is_user_logged_in( $c_user->ID ) ) : ...
1
vote
1answer
21 views

Adding register & login in Wordpress website

I am adding register and login to WordPress website. I am using the following code: <?php $c_user = wp_get_current_user(); if( !is_user_logged_in( $c_user->ID ) ) : ...
1
vote
1answer
87 views

Adding register & login at top right corner

I am using the HitMag WordPress theme. On the website, register & login is showing on the sidebar (widgets). But I want to show register & login at the top right corner in button form. I want ...
0
votes
0answers
9 views

Wordpress register username

I have question about register field (username). I have limit 4 characters and i can't use these character ( ā,ž,ņ,ģ,ļ) How i know these are latin-ext. It's possible add some hook to get limit is ( 0 ...
0
votes
0answers
10 views

WordPress My Account Title and text color change

I am looking to change the colors of the “My Account” page text and title. I found how to change the links and user name but the other text and title do not change. Does anyone know how to change ...
0
votes
0answers
74 views

Automatically approve user at registration

On my site I allow users to select user role at registration: User & Teacher. I've also enabled user approval, when users registers I must approve him to give him access to site. I wanted to auto ...
0
votes
1answer
116 views

customize Dokan multi vendor: how can i set every Dokan as child of another dokan?

i need to add field to sign up page or store setting edit page for every new store to choose his parent from exist dokans. or add custom post type like store as parents so users can register as store....
0
votes
1answer
29 views

hooks for automatic approve user registration according to data in custom fields

good day, my registration form has some custom fields, basically I want to approve the user if and only if some fields are filled with some specific values, if they're not, then these accounts must be ...
1
vote
1answer
148 views

update post meta using user_register hook not working

I want to update post meta when the user registers based on the Ultimate Member plugin field in the register form. Here is the code which is working fine if I run directly on the template (loading ...
0
votes
0answers
36 views

Programatic login user works partially

I try to login programatically. But this works only for some users. For other users it does not work. And I can't find a rule, why for some users the login works but for other users does not work. ...
0
votes
1answer
51 views

How to send Woocommerce Customer Details (Name, Email and Phone Number) to Admin upon signup

Use case: I want to send an email notification to the admin or the sales staff whenever someone signup as customer on my Woocommerce Shop. Details I want to include: Name, Phone Number, Email Address....
0
votes
1answer
167 views

Can i add password field into my wp registration form?

I would like to users can choose their own password on registration form and disable sending generated password email to them. Here it is my custom registration code: <form id="register-form" ...
0
votes
1answer
104 views

WooCommerce Registration redirect based on page ID

I am trying to change the WooCommerce Registration button redirect link. This is the code I use for the redirect (which works just fine): function custom_registration_redirect() { if(...
0
votes
0answers
21 views

Wordpress doesn't allow me to create new users

I have a weird error on my wordpress site. When I try to create a new user it says: ERROR: This username is already registered. Please choose another. ERROR: This email address is already ...
0
votes
2answers
48 views

Including user data in “new user notification email”

I'm trying to create a function that sends an email to the admin when a new user registers. I would like the email to contain the users first name, last name, email address, and billing information ...
0
votes
0answers
81 views

Create a unique username with validation on wordpress registration

I want to add a unique username on registration and hide this field on the registration form. Its working so far, but its not 100% perfect, because if its 3 times the same number then it will throw a ...
1
vote
0answers
13 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
0answers
14 views

Registration buddypress xprofile + role

I'm doing the buddypress registration through a form. The code add the role shop_manager but it doesn't work to show the profile xprofiles. Could you help me? Thanks very much! add_action('...
0
votes
0answers
30 views

Add usermeta on Buddypress register

I would like to give to all users who register on my website the value 'Register' of a usermeta field which is called user_type. I'm thinking on adding the next code: update_user_meta( ...
1
vote
0answers
43 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
50 views

How to invalidate `password reset key` after being used

I am trying to write my own lost password plugin. It is working perfectly. But how can I invalidate the reset key after being used once. Currently I am able to set new password as many times as I wish ...
0
votes
0answers
12 views

How to set up a login system with file upload?

Hope you are having a great day. I am trying to find a user registration system for Wordpress that does the following: A user will register by their first name, last name, home address, P.O Box and ...
0
votes
0answers
48 views

Reset cookie for login, register and logout

I would like to better understand how WordPress login / logout cookies work. In my case I have a page that allows you to perform various operations. To see if the user is not logged in I perform the ...
0
votes
1answer
24 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
1answer
221 views

Is it necessary to sanitize wp_set_password user input?

I'm trying to add a password form to the WP registration form. See the code below. I was wondering if I need to sanitize this specific user input? (and if so how?) If I understand it correctly, WP ...
0
votes
0answers
130 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 ...
0
votes
0answers
18 views

Improving Membership Service Experience

I've explore many differing plugins (wordpress) when looking at basic memberships, as this is all that's needed, and have not found what is required, came very close but stop there. This also includes ...
0
votes
0answers
33 views

Safely changing UserID's, re-using deleted UserID's and automatically using deleted userID's instead of an increment

I'm looking for 3 different solutions all relating to user ids, I'm needing a solution to safely make changes without destroying the site. Issue 1: I am wanting to change the userID of a user from ...
0
votes
1answer
104 views

Run a code only on theme activation only during first activation

function clearwidgets(){ //stuff here only runs once, when the theme is activated for the 1st time } register_activation_hook(__FILE__, 'clearwidgets'); And the code I am trying to execute is this:...
0
votes
1answer
380 views

How to auto login after registration? [duplicate]

I create an user using $user_id = wp_create_user($username, $password, $email); After creating the user I want them to auto login and so according to ravi patel, I have added the following code in ...
0
votes
1answer
59 views

Updating user meta data from external link, user not logged in

My login process is exactly like this: 1- user put email in the form 2- a link sent to email for setting password 3- user click on the link and redirect to website with code like this: https://www....

1
2 3 4 5
10