Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

How to use 2 different databases but share the same user in wordpress

I have 2 wordpress websites on the same server, one is bloo.com and the other is forum.bloo.com. each site has its own database, they have their own wp_content, each has its own file separately, but I ...
Mike's user avatar
  • 1
0 votes
1 answer
74 views

Change a subsite Admin role of a WordPress Multisite after 24 hours registering

change WordPress multisite users' role after registration. function woo_admin_to_editor($blog_id, $user_id) { switch_to_blog($blog_id); $user = new WP_User($user_id); if ($user->exists()) { $...
Raphael Oluwasanmi's user avatar
3 votes
1 answer
2k views

How can I delete a user from entire multisite nework

I'm making a front-end user delete button but it only removes the user from the current installation and I need to remove them from the entire multisite network so they are able to sign up again with ...
Miguel Dey's user avatar
0 votes
1 answer
815 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 ...
Muhammad Ibrahim's user avatar
3 votes
2 answers
1k views

Why can't I delete original user in multisite? Options for manual removal

So, I've been trying to delete the original user for a multisite installation. After removing the super-admin privileges and setting another user to the network admin, I noticed that hitting the ...
dave's user avatar
  • 145
16 votes
7 answers
17k views

Why are my roles not visible in a Multi-site/Network?

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no roles to choose from in the drop down box of a sub-site in my ...
Geo's user avatar
  • 747
0 votes
1 answer
905 views

Can't activate a user on multisite install

So I have a user that I can't activate with the unconfirmed plugin manually. His user was created on all appropriate sites, but his account isn't listed as activated. The link in the activation email ...
Poodimizer's user avatar
0 votes
0 answers
34 views

Multisite Login Access Restrictions

I am building a multisite where users can sign up to create a subsite about there business. I would like to have them be able to login to the backend and edit there subsite but restrict them from ...
Daemon's user avatar
  • 1
0 votes
0 answers
167 views

can't create user without email for an author after converting single site to multisite

We're converting a single site to multisite, and in the process we're seeing something strange with users. Previously, we could create and update users to use as authors that don't have an email ...
Erich's user avatar
  • 111
1 vote
2 answers
6k views

How to add multiple existing users to a multisite site?

I have a multisite instance of WordPress, and I need to add 50 existing users to each of 20 new sites. One by one is going to take a very long time, and will send each person 20 emails confirming ...
jeph perro's user avatar
0 votes
1 answer
6k views

Wait ajax to complete before continue loop

I'm developing a code that searches for about 5000 orphaned users, and delete them. Using Ajax, how do I wait for a response to complete and then continue the loop? Currently, the loop will keep ...
sharulhafiz's user avatar
2 votes
2 answers
5k views

Can you have multi-site WP and keep users separate?

I'm aware that multi-site exists but I've never used it. Could I use it in a type of reseller mode, where I ran one install of WordPress but provided completely separate sites for separate users? ...
AmbroseChapel's user avatar
6 votes
2 answers
2k views

Give to site admin the option to "skip confirmation email" when adding new user

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 ...
need-help's user avatar
  • 476
0 votes
1 answer
3k views

Delete user from multisite when removed from subsite

I am using the multisite setup of wordpress. My subsites are managed my administrators of other organisations. Problem: When a user is deleted on a subsite by the administrator, its records still ...
Joris's user avatar
  • 1
6 votes
2 answers
2k views

Wordpress Multisite - When a user signs-up on main site, how to add the user to a subsite

I am setting up a Wordpress multisite network, where users may subscribe to one or more services on the main site and may have access to content on subsite. The access on subsite will depend on the ...
nitigyan's user avatar
  • 163
5 votes
3 answers
5k views

Integrating WordPress to my website, while keeping my own authentication system

I've recently integrated WordPress to my website and I've been trying to find out the correct way to replace Wordpress' authentication system with the one on my website. My website already has a user ...
apatik's user avatar
  • 161
30 votes
2 answers
34k views

How To Add Custom Form Fields To The User Profile Page?

The user profile page has the following fields: Username First Name Last Name Nickname Display name Contact Info E-mail Website AIM Yahoo IM Jabber / Google Talk How can more fields be added to ...
rsman's user avatar
  • 2,300
15 votes
2 answers
18k views

How to use same email for multiple users

I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin "Allow Multiple Accounts" which doesn't work properly. I should figure ...
Bob's user avatar
  • 271
1 vote
0 answers
295 views

Four columns in the wp_users table

I am writing custom code to allow users of my site delete their own accounts from the front-end (i.e., they do not have to logon to the WordPress admin area to perform certain actions, but rather I ...
Greeso's user avatar
  • 2,204
0 votes
0 answers
145 views

How to use the same users table on multiple wordpress sites

I have 3 wordpress sites and I want users to be able to connect to all of them with the same account. The sites are currently in the same domain and everyone has a subdomain. I was wondering if there ...
George Viennas's user avatar
0 votes
2 answers
2k views

How to delete user from MU site when the user is removed from their site?

When an Administrator for a sub site removes a user from their sub site, I am trying to not only remove the user, but also completely delete them from the entire MU site. I have tried this: ...
whodeee's user avatar
  • 185
1 vote
1 answer
2k views

How to change user starting role in WordPress MultiSite?

I am using WordPress MultiSite. Where can I change user starting role? It does not show under Settings > General > New User Default Role.
Talha khan's user avatar
0 votes
2 answers
782 views

WordPress Multisite Add User

Have allowed users to register their own website and at the same time this adds them as a user to that site. However, is there a way to default them to a subscriber of the site they are signing up ...
CHEWX's user avatar
  • 129
0 votes
0 answers
257 views

Easily adding multiple existing users to a multisite site

I manage a multisite network for a school. The sites are private (password protected), but users within the network should be allowed to access other sites as subscribers. (i.e. all students in a ...
q_andnot_u's user avatar
3 votes
1 answer
2k 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 ...
Christopher's user avatar
2 votes
2 answers
879 views

How can I copy all users to newly created site on a multisite network in Wordpress?

As when I create a new site on multisite wordpress network, then only admin user gets created. I want all users which are present on my first site to be present here too. I have tried several import ...
enigma's user avatar
  • 121
0 votes
3 answers
256 views

Multisite - maximum number of users with specific role

Is there any plugin or script where i can use to define maximum number of users with a specific role on subsite in a multisite network? I'm offering cloud helpdesk wordpress and pricing is based on ...
Akram's user avatar
  • 71
1 vote
1 answer
2k views

How to search users globally on a multisite install?

I'm using the REST API to create/update/delete users on a multisite install in order to sync data with a 3rd party resource. When I am checking whether to update or create a user, I'm using the search ...
ken.dunnington's user avatar
1 vote
0 answers
377 views

Good way to block users within a multisite setup without deleting them?

This is probably a common problem with multiple possibilities to solve. However I am asking for an easy solution as I guess I am not the first one to have this problem. Assume we have a huge company ...
Blackbam's user avatar
  • 565
0 votes
0 answers
52 views

How to implement data residency in my WordPress site

I am developing a WordPress multi-site with woo-commerce and subscription plugin. This site will be used in several country like Bangladesh, Australia, United States and Canada. But I want user’s data ...
Sajed Ahmed's user avatar
7 votes
2 answers
5k views

Wordpress Multisite allow site admin to add user without email confirmation

In Wordpress Multisite,a site admin (not a super admin) doesn't have the option “Add the user without sending them a confirmation email” when adding a new user. Is there a way to bypass the ...
user43547's user avatar
0 votes
1 answer
411 views

Possible to have duplicate usernames on different two multisites

I have a multisite set up with two sites setup: example.com/site01 example.com/site02 With both sites, they are using the same custom theme which generates a default list of users (publisher01, ...
markb's user avatar
  • 299
1 vote
0 answers
470 views

Subsite access without being a member of the subsite in wp multisite network

How can a user access a subsite without being the member of that subsite in a wp multisite network? What I understand is that a user can not access a private post in a subsite if he is not the ...
bakar's user avatar
  • 101
2 votes
0 answers
68 views

In MultiSite, can some users automatically have Site Admin rights on all sites, without granting them Network Admin access?

We have some "content specialists" that we'd like to effectively grant Site Admin access to every site on our network automatically, but still don't want them to be able to access the network admin ...
MadtownLems's user avatar
1 vote
1 answer
6k views

Multisite - One user allowed access to all sites?

I am creating a multisite environment where each site is a classroom blog in the same school. Is it possible to create one parent user with access to all sites? That way parents don't have to keep ...
Jeff's user avatar
  • 117
-2 votes
1 answer
3k views

Wordpress Multisite restict user access

I have a Wordpress Network with 3 sites. I want to know how can I restrict the user access in the subdomains. Actually, members of the principal site can login on the subdomains. Do you know if a ...
Nathan Meyer's user avatar
0 votes
1 answer
519 views

Combining user database tables while keeping all other data in seperate for multiple sites?

(Multisite is not an option here.) I have five separate WordPress installations, currently residing in 5 separate databases on the same server. My goal is to combine the users for all 5 sites into one ...
Brent's user avatar
  • 793
1 vote
1 answer
136 views

Assign role to user on first login, if they are first (after admin)

I'm running a Wordpress Multisite. I want the first user to log into a new site to be assigned the Administrator role, so they can administer the other roles. The second user, and all users ...
setrole's user avatar
  • 13
6 votes
1 answer
835 views

Network not displaying all sites and users

We have more than 10,000 users and blogs on our wordpress network. There are 2 problems: admin blogs listing wp-admin/network/sites.php only displays 1 page, no pagination, not displaying all blogs ...
Metalik's user avatar
  • 169
3 votes
1 answer
2k views

How does WordPress connect sites and the wp_users table?

I'm not clear how WordPress connects the wp_users table with the various sites under a Multisite. Say I have a site with blog_id = x then I would assume there's a wp_x_users table that contains the ...
Snowcrash's user avatar
  • 327
5 votes
3 answers
2k views

Different back-end colour scheme for the different sites of a multisite

Is it possible to have a different back-end colour scheme selected for the different sites of a multisite? i.e. "Sunrise" for Site A and "Midnight" for Site B If it's not possible for the user to ...
Seraphithan's user avatar
1 vote
1 answer
754 views

delete_user_meta : how to delete all the metadata of a given user (witout SQL)

on a multisite I delete a user with: wpmu_delete_user($user_id); Fine, but unless I am confusing, it doesn't delete the metadata which may exist for this user... delete_user_meta() seems to be ...
Pierre's user avatar
  • 69
0 votes
2 answers
1k views

Copy user role on multisite so the user can access subsites with same role

I have a multisite network set up with around 250 sites. I'd like to be able to copy users with their assigned role from the main site in the network to subsites. Here is how I attempted to do this: ...
Morgan's user avatar
  • 489
0 votes
1 answer
847 views

A different role for each site in a multisite

I am currently working on a multisite consisting of two sites and my second site contains custom roles. I would like that when the user registers on one of the two site, then the users are ...
JohnPoole's user avatar
0 votes
1 answer
2k views

Sharing users across multiple sites, each on their own database

I have read many solutions out there for sharing users and checked out the other posts on here, but can't find specifically what I'm after, as they all talk about users on the same database. ...
JCJ's user avatar
  • 37
15 votes
2 answers
11k views

Where can I find documentation on what characters are allowed in user names and why?

I would love to be able to use spaces in usernames, but this does not seem possible. Is there a writeup in the codex or somewhere that explains what characters are allowed and why it was restricted to ...
Purcell's user avatar
  • 390
7 votes
1 answer
8k views

How to use alias domain for multisite installation?

Is it possible to use alias-domain for multisite installation? I have tried domain-mapping plugin and Multi Domains plugin for WordPress, but this does not solve this problem. Example: I have ...
Demilio's user avatar
  • 883
1 vote
1 answer
1k views

Get the User ID Who Owns a Given Blog ID in Multisite

I am working on creating a function that will take a $blog_id and return the corresponding $user_id of the user who owns/created the blog in a multi site network. public function ...
Adam's user avatar
  • 349
0 votes
0 answers
98 views

Multisite - each site with it's own set of users

I'm looking for a way to separate user accounts per blog/sub-site. I concocted a plan to hook into login/registration process and append the blog_id to the username and email upon one of these actions....
steakoverflow's user avatar
2 votes
1 answer
1k views

How to add edit users capability to a custom role?

Here is the code which I added to give 'edit_users' capability to a custom role. function edit_shop_manager() { // Get custom role $shop_manager = get_role('shop_manager'); $shop_manager-&...
Nikhil's user avatar
  • 630