Refers to accounts with the ability to login and participate in a WordPress site.

learn more… | top users | synonyms (1)

3
votes
1answer
63 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 ...
1
vote
1answer
51 views

Multiple Backend Users as single Frontend User

Is there a good way to map multiple backend users to a single frontend user? Basically I want to do the following, we host a blog which is maintained by multiple persons, each as it's own ...
0
votes
1answer
43 views

User count only for role frontend vendor

i use the following code for count the authors $count_posts = wp_count_posts( 'download' ); echo 'Published eBook (' . $count_posts->publish . ')'; echo ' '; global $wpdb; ...
0
votes
0answers
32 views

Role Column Sorting

I'm trying to add sorting on Role column on user listing by desc and asc but I can get it work, it always show "No matching users were found." below are my code add_filter( ...
0
votes
1answer
154 views

WP_User_Query with more than two custom meta values

I am trying to create a custom user query based on users' metadata. I have the following query created. $users = new WP_User_Query( array( 'search' => '*' . $search_name . '*', ...
0
votes
0answers
37 views

Disallow user registration/checkout via Hotmail/Yahoo

Hope someone can help or point me in the right direction... I'm looking to disable user registration on my website for users trying to register with Hotmail and Yahoo email addresses. It would also ...
0
votes
0answers
36 views

One user per computer

I need to allow only one registered user per computer. I have searched for over one hours, but I did not find any properly solution. Actually I found no solutions at all. How could I do it? Is there ...
0
votes
3answers
129 views

User description only displayed for logged user

In my "About" page I list all WP users of the site. Then in author.php I display the description of the selected user with this code: <?php the_author_meta( 'description' );?>. Problem: this ...
0
votes
0answers
56 views

Add existing user to blog Multisite when e-mail exists

I'm trying to add an existing user to a blog if he fills in an existing email. The registration fields are set up with Gravity Forms. I've tried the following: add_filter('gform_email', ...
1
vote
3answers
1k views

importing users where password is provided as md5 + much metadata

I have a spreadsheet that was provided to me of users to import to a new site I have built. I was provided with the password in MD5 hash form. I suspect if I insert this into the password field in ...
0
votes
0answers
32 views

Multisite add existing user to site per site register

I've set up a few sites in a multisite network. On every site there are register fields: Username and E-mail. If a user registers on site A he is registered as a global user on the network. So far so ...
1
vote
4answers
129 views

Find out who deleted a page or post?

Someone moved a very important page on my website into the trash, and I do not know who did it! It was not deleted permanently so I don't need to worry, in that sense. The revisions, when I restored ...
1
vote
1answer
451 views

Add More Fields to Users Pages (Admin Panel)

So I'm trying to create some custom fields for users. I need to give users access to a 30 day trial of some software and I want to keep track of that in the users page of administration panel. If the ...
0
votes
0answers
73 views

Unable to set user role via edit_user_profile_update action hook

I've added the following action hook to edit_user_profile_update: add_action( 'edit_user_profile_update', 'set_user_role' ); function set_user_role( $user_id ) { if ( !current_user_can( ...
0
votes
1answer
23 views

user login and its profile

i want login, logout and view profile functionality. i am currently able to login the user and redirect them to home page of website. i want to show loggedin users name on menu and a logout link. for ...
0
votes
1answer
38 views

logged_in user outside of wordpress loop

I have a member site which maintains a collection of books. I want to have a page on a folder outside of my loop that can see if the user is logged in to the main site, and then display the book ...
0
votes
0answers
112 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
0
votes
0answers
53 views

Member's area with private content?

To begin with, sorry for my english.. and thank you Goggle translate! :) I come to speak here because nobody knows answer me in my country. here is my problem: I created a website (in local for the ...
1
vote
2answers
25 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 ...
0
votes
1answer
28 views

Inserting current user ID into Post for Author

I am trying to insert the user id of the current user when creating a custom post type. This is my code: $my_post = array( 'post_title' => $orderRequestCode.' - ' . $customerName, ...
-1
votes
1answer
35 views

Store subscription details for users in Wordpress

I want to store subscription details of several category for users. how to store this to wp database. i am beginner to wordpress. whether i want to create new table or can i use meta ,taxonomy or ...
0
votes
1answer
44 views

Adding more fields to the add user page on dashboard

I'm working on a Wordpress site and would like to add a few extra fields to the dashboard user-new.php screen so the admin can easily add new users to the site. The fields would need to take in text ...
8
votes
8answers
11k views

How to restrict dashboard access to Admins only?

How would we restrict access to the WP admin area to all users except admins? The users on our site have their own profile pages which do all the functions they need. So admin should be off limits to ...
1
vote
1answer
1k views

Make WooCommerce pages accessible for logged in users only

I have a website using WordPress, and an e-commerce using WooCommerce. I would like my shop (and all its pages) to be seen by logged in users only. Via the User Access Manager plugin, I have denied ...
2
votes
2answers
889 views

How to programatically change username (user_login)?

As in the title, how to programatically change user's login? I wanted to use wp_inser_user function, but it appears that when updating current user, it doesn't change his/hers username. Should I use ...
1
vote
1answer
24 views

How to assign permissions for a CPT to a user

I have a list of CPT's called resources. I want each resource to be assignable to any number of users. The assignment would preferably occur by an admin, logging in, nav'ing to that users email, and ...
0
votes
2answers
28 views

Can I edit the database to change a login?

I have WP installed on a server with a couple of other things. Naturally, phpMyAdmin is installed so I can edit my databases easily. Anyway, is it possible to, using phpMyAdmin to edit a row and ...
2
votes
3answers
151 views

Use phpbb user database for Wordpress

I've got a phpbb forum and recently I've added a Wordpress website to my domain. I want my phpbb users to be able to login to my Wordpress page using the same username and password they have on my ...
0
votes
0answers
40 views

How to let users sort list of categories?

In my homepage, I have listed all of categories, under which their posts, are listed like this: Category 1 post 1 post 2 post 3 Category 2 post 4 post 5 post 6 ...
0
votes
0answers
27 views

Wordpress multiple forms

I have a question on how to approach the following situation. When you have a website like: www.green.com/page1 www.green.com/page2 www.green.com/page3 www.green.com/page4 With on every page a ...
3
votes
2answers
2k views

Whats the best way to share user data across multiple Wordpress websites?

First of all, Multisite isn't what I'm looking for. I have 5 websites using Wordpress all on separate domains that I would like to enable user accounts for. I need user data to be shared across the ...
0
votes
0answers
47 views

Missing tabs in my dashboard

I am a newbie to wordpress and I am trying to create a theme from scratch. Some tabs (e.g Users, Appearance->Widgets) are missing in the dashboard. I have manually added admin user via phpmyAdmin and ...
1
vote
0answers
43 views

Limit number of users a role can create

Just wondering if there is a way to limit the amount of users a specific role can create? For example, if Editors can create new accounts, I only want them to be able to create 20, and then they ...
1
vote
2answers
421 views

Disable user profile editing for one user

I have being looking in internet how can I disable the option of edit profile in Wordpress for a user and I didn't find a good way. The problem is that I want that the 95% of users can edit their ...
0
votes
0answers
54 views

Change the layout of user-edit.php profile

I've got a website with over 200 users, and they all use their profiles to display up to date information on themselves and services that they offer. Is there anyway to change the layout / style of ...
0
votes
1answer
33 views

Get current user array into hyperlink

I am unsure how to take data from the user array and place some of these values into the following hyperlink. I want to replace the email address, first name and last name with the values from the ...
2
votes
1answer
135 views

Is there a simple way to manage capabilities per user?

I have a WordPress-Site where some people (non-expert clients) need to create/manage users. The site uses multiple custom post types and each user is assigned permissions for one or several of those ...
7
votes
3answers
4k views

Groups of capabilities: users with multiple roles?

I'm pretty sure I understand the roles and capabilities setup in WordPress: granular capabilities, grouped together in roles that can be assigned to users. Code should check the granular capabilities, ...
4
votes
1answer
2k views

Display a registered user profile page

I have a website where users can register, login and their edit profile, they can comment but not post. What I am looking for is a way to display a user profile page (where I display the gravatar and ...
0
votes
0answers
44 views

Custom User Roles Added When Plugin Network Activated and not on Individual Site

I wrote a quick plugin which creates a list of custom user roles and capabilities for each user role. The user roles are checked and added if not found upon plugin activation. When I network ...
-2
votes
1answer
28 views

User submitted post

I'm sure there are plugins to do this but I wanted to try and do it myself. I have a form that contains a title and a content/message area. I would like to add this form as a post when fill it in. ...
0
votes
0answers
117 views

wp_ajax_$action works always, wp_ajax_nopriv_$action never works

I used to know that when we use Ajax API we use 2 action hooks to handle the ajax, wp_ajax_$action (Logged in users) and wp_ajax_nopriv_$action (Non-logged in users), But in my case, the latter one ...
0
votes
1answer
188 views

Add field to user meta table in database when link is clicked

I am working on function that enables registered users on my site to bookmark posts. I have searched for plugins but none seemed to do the job properly. I have a page where users can see their info ...
0
votes
0answers
14 views

Activate Multiple uses

I have a Football Pool where users can register themselves. I need to activate all users manualy. Somehow I cant Active all users at once. When I select them al and press active only first user is ...
0
votes
0answers
86 views

Allow users to create their own page/s

I Create a network where any register user have a profile, from user profile i want enable user to create own page/s where he can post like Facebook. There is a way to do this with wordpress or i must ...
0
votes
1answer
59 views

Using Same User Database on Subdomain

How can I create a subdomain that uses the same database as the main domain? For example, I have mywebsite.com which has my main WordPress installation. I also want, say, subdomain.mywebsite.com ...
0
votes
1answer
159 views

Get current user array with post string

I need to get 10 current user fields and pass the field values to a post string. The post string is expecting certain label names for each value. Example - post string expects 'firstname' => ...
0
votes
1answer
18 views

Limit roles displayed in users.php depending on custom role

I have setup my WordPress installation with a custom role called 'regional_manager' I have given this role the capability to add_users and managed to create a custom snippet for my functions.php file ...
0
votes
1answer
54 views

Difference between is_user_logged_in and $_session['uname']

I am writing a condition to check if a user is logged in, not sure which of the below condition to use : if(!is_user_logged_in()){ And if(!isset($_SESSION['uname'])){ Basically need to ...
0
votes
1answer
23 views

Customizing Users in Admin Area

I know how to customize the users in the admin area of WordPress. I have done it many times. However, I would like to customize the user a bit differently as explained below. I would like to add a ...