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

learn more… | top users | synonyms (1)

1
vote
2answers
43 views

Hide images from anonymous user?

I'd like to set my WordPress (self-hosted) site up so that you can only view images if you're logged in. I want it to be impossible to view the images without being authorized as a user of the site. ...
2
votes
1answer
19 views

Subscribers to posts

Consider each post to be topic of conversation, and comments a conversation. For now it is fine. I created a post type called conversation. Now I want to list all the conversations a user is in. How ...
2
votes
1answer
707 views

Allow contributors to add categories, but not delete

I used a plugin called "User Role Editor" to allow contributors to add categories, but it also lets them delete categories. Any suggestions?
0
votes
2answers
1k views

Front end user meta options for users

I have created user meta options using this tutorial. Now I want to know how to allow users to edit (update) certain custom user meta options that I created. Users already have a template account ...
2
votes
4answers
4k views

How to check username/password without signing in the user

I'm writing a plugin that creates an API endpoint that validates username/password pairs. I'm currently using wp_signon() to check whether the username/password combo works. This works fine when the ...
2
votes
0answers
25 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
0
votes
3answers
298 views

Importing Existing Users with Passwords

I have an existing legacy PHP site of 15000 users with base64 hashed passwords , I would like to import all these users into the new wordpress site with their passwords , What would be the best ...
0
votes
0answers
28 views

Change the functionality of wordpress users module in admin

I want to restrict wordpress admin to view all users in user list. For say, I have created custom roles (company users, employee). A company user type role can have multiple employees. I want ...
3
votes
1answer
47 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
32 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
23 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
18 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
38 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
32 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
22 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
120 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
11 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
938 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
11 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
45 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
6answers
4k views

Adding fields to the “Add New User” screen in the dashboard

I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
1
vote
1answer
425 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
36 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
17 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
29 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
52 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
34 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
23 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
19 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
34 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
17 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
584 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
603 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
23 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
27 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
92 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
27 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
26 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
31 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
37 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
182 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
25 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
25 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
124 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
3k 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
23 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
26 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. ...