All Questions
107 questions
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 ...
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 ...
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 ...
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 ...
11
votes
1
answer
3k
views
Is there a is_user_logged_in() for multisite?
Is there a is_user_logged_in() function for Wordpress MU / Multisite (3.0+) where I can add in the network site ID like is_user_logged_in(2) where 2 would be the site_id?
Update:
After a little ...
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 ...
7
votes
3
answers
7k
views
wordpress multisite, how to keep user on subdomain throughout registration process?
I am running wp subdomain multisite in combination with domain mapping. This means I can create a new subdomain site xyz.site.com and map the domain name 'xyz.com' to that site.
The problem I have is ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
5
votes
2
answers
170
views
Set up collaborative site
I 'm setting up a site to allow multiple associations to use it. I ask your help to decide whether it's worth to consider switching to the current 'single site with many plugins' approach, whick feels ...
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 ...
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 ...
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 ...
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 ...
3
votes
1
answer
506
views
Network installation giving errors when viewing or adding a user
I have just installed a fresh version of WP which I have turned in to a network install (using the instructions found here).
All seemed to be going well, and I was able to add a new site successfully,...
2
votes
2
answers
1k
views
the blog owner multisite
In a multisite, how can I get the ID of the owner of the current blog?
I know how to get the current blogs Id using get_current_blog_id(), so given that ID, how would I fetch the ID of the owner of ...
2
votes
1
answer
3k
views
How can I get multisite primary blog (url or path) for current user?
In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog.
I know how to determine if a ...
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 ...
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? ...
2
votes
1
answer
917
views
Allowing logged in users to comment without moderation across a multisite installation
I currently do web admin for an internet community based on BuddyPress and Multi Site, and use the Comment author must have a previously approved comment setting to make it easier for users to comment ...
2
votes
1
answer
116
views
Can I use multisite functions in a single-site installation?
I'm trying to display some statistics of my Wordpress site in the footer. One of these statistics is the amount of users that are signed up.
There is a function called count_users() to display these ...
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-&...
2
votes
2
answers
311
views
user-new.php less detailed after WP3.1; how to revert?
I updated WP to 3.1, and one issue my organization (which uses WP in Network Mode) is having is the Add New User page in wp-admin is now much less detailed -- before it was more like profile.php, with ...
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 ...
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 ...
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 ...
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 ...
1
vote
1
answer
195
views
Reset Wordpress website
I have a website to demo plugins, and I want to allow users to login, but I am not sure how to reset the website once they log out. Is there a way to create a separate instance of Wordpress for each ...
1
vote
3
answers
2k
views
Update User Role Across Network when Main Site User is Updated
I'm using a slightly modified copy of the Multi Site User Management plugin to keeps users synced across a multisite network, but have one problem with it. When a user's role is updated on the main ...
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 ...
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 ...
1
vote
2
answers
112
views
Make a user administrator to a sub directory site and a contributor to main site in multisite network
I have a multisite network. The main site displays news. The sub directory sites have administrators and I call them subsite admin. If the subsite admin wants to post to the main site, I want them to ...
1
vote
1
answer
512
views
Displaying a message upon user registration
I have a question that I hope will be pretty simple for some of the WordPress Gurus out there.
I have a WordPress network and whenever a users signs up, I would like to show (on signup confirmation ...
1
vote
1
answer
352
views
Query users by capability - uninstall/deactivate callback
The situation
Running on MU, I'm writing an open source/publically and freely available plugin. As I used add_screen_option() to allow users to easily setup the admin page to their likings, I'm left ...
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.
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 ...
1
vote
2
answers
1k
views
Add a user to a specific blog when they register?
I've setup a WP MU site and I need to know how to sign up a user to a specific blog when they register. As it is now, if a visitor is visiting a specific site and they click the register button they ...
1
vote
1
answer
258
views
WPMU - new users are automatically subscribed to the main blog - how to prevent that?
New users added via wpmu_signup_blog($domain, $path, $title, $user_name, $user_email); are automatically subscribed to the main blog. Can this be prevented? I only want them to be administrators of ...
1
vote
2
answers
1k
views
How do you disable account activation in WPMU and then log the user in right away?
Is there a way to disable account activation for WPMU then log the user in and redirect them to another page?
I am running on WPMU with BuddyPress.
1
vote
1
answer
654
views
How to migrate wordpress users from one blog to another
I have a client that has a single install outside of her network installation. I need to migrate the users with their passwords into the network installation. I've tried backupbuddy but it seems to ...
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 ...
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 ...
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 ...
1
vote
0
answers
124
views
Create Custom Multisite User Role to Reduce Capabilities
I need to create a new role for my multisite install for our Technical Account Managers so that they are only able to create/edit/remove users and create/edit/remove sites. I'm pretty sure I've ...
1
vote
1
answer
704
views
Obtaining user table for one site on multisite set up
I'm trying to select only users that are registered for a specific site on my multisite set up and see that the table for the users has collected everyone that is on the network. Is there away I can ...
1
vote
0
answers
56
views
Wordpress stuck in deleting user
We’ve run into an issue with our WP Multisite where we cannot delete user accounts. The URL i keep getting is:
http://example.com/wp-admin/network/users.php?action=dodelete
It should look something ...