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

learn more… | top users | synonyms (1)

1
vote
1answer
606 views

Show newly added posts since last user login time /date

I'm looking for a solution to create a custom loop which will only display the last added/ modified posts since the last user login to the site. It shouldn't be that complicated doesnt it ?
1
vote
3answers
524 views

How to assign capabilities to user NOT to User Role

Is there any way to assign custom capabilities to user, I'm NOT talking about User Role. I'm running a multi author blog where I assigned user role of "Author" to all of my authors. But I need a ...
8
votes
3answers
1k views

Confirmation required on email change

I'm just wondering why wordpress doesn't send confirmation mail every time user change his/her email address. How do we know that email address is not fake or mistyped? So can anyone give me some ...
5
votes
1answer
81 views

How to allow an user role to create a new user under a role which lower than his level only?

I have three extra roles in my site. Doctor Receptionist Guest those roles are added by following code: * adding Doctor role */ $doctor_role = add_role( 'Doctor', __('Doctor'), array( ...
4
votes
4answers
1k views

Replacing the Wordpress password validation

I have a custom application with thousands of users who already have a password stored. I would like to set up a self hosted wordpress site to accompany that application and to use the usernames and ...
3
votes
3answers
986 views

LEFT JOIN, INNER OUTER JOIN, LEFT OUTER JOIN is driving me crazy. Please help?

fellow coders! I an having a hard time JOIN(ing) tables. I have a a lot of users on my site and many of them have the same last names. I am trying to get their emails by their last name. WP stores ...
1
vote
1answer
1k views

How to list users that have written custom post types and hide the ones that have not?

I'm trying to build an author list that would show all authors that have written a Custom Post Type post, and hide authors that have no posts. With wp_list_authors it would be easy to show users that ...
0
votes
1answer
978 views

Is there a way to rate users instead of posts?

I would like to enable ratings for individual authors on my site instead of posts, so that users can rate each other. I just want a star rating system with some text to form some sort of review. I ...
6
votes
1answer
1k views

Migrating Wordpress users into Disqus

I'm thinking of migrating my comment system from Wordpress to Disqus. I'm pretty satisfied with options it offers, but I have one problem: I have few hundred registrated users on my Wordpress ...
3
votes
1answer
73 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 ...
3
votes
1answer
340 views

WordPress keeps asking for connection information in localhost

I tried to find and answer but even though the problem is common I haven't been able to fix it, WP keeps asking me for the FTP info on my local LAMP environment when trying to install, delete or ...
3
votes
1answer
6k views

How to get the Gravityform entry ID from current user's form submission? [closed]

Case: When a user submits a (Gravity)form, the plugin automatically generates an unique entry ID for that specific form. In my case the form settings only allow user to submit the form once, and only ...
3
votes
4answers
2k views

Upload gravatar in WP profile?

I'm interested in the theory of a user being able to register/upload a gravatar directly in their user account within a hosted WP system. Is this feasible?
2
votes
1answer
575 views

Getting the Current User

I am trying to use information about the current user in a plugin that I am designing and I have seen people go about it in several different ways. My Way This way seems to work, but am I missing ...
2
votes
2answers
651 views

How to use hyperdb to separate and share a user dataset between wordpress installs?

I'm looking for a way to separate my users and usermeta table to be in a different database than my main WP install. The end goal is sharing these table over a number of WP installs. From what I ...
2
votes
1answer
337 views

How-to Delay The Capability To Publish Posts?

I use buddypress and all new members have the role of author. The site is more like a forum with one topic. I'm not worried about comments, just posts. Recently I have received a bunch of spam from ...
2
votes
2answers
823 views

Assigning tags to user?

Does anyone know a way (either programmatically or through a plugin) to assign tags to users? I want to build a list of user interests as tags, so I can match related content to their interests. ...
2
votes
1answer
624 views

How do I properly format the user_role array?

I used a role editor recently and needed to delete a role. After deleting it I noticed that it began to appear as blank in the edit user role drop-down. After a bit of investigating and deleting ...
1
vote
1answer
89 views

Removing user contact methods works from functions.php but not from a plugin

I'd like to remove user fields and I used this code: add_filter( 'user_contactmethods', 'newfields' ); function newfields( $user_contact ) { unset($user_contact['facebook']); ...
1
vote
1answer
226 views

Wordpress comments email notification for authors

I'm admin of a question and answers website in WordPress. All users are defined like authors. I have the problem that when I approve a comment ( an answer to a question), the author receives too much ...
1
vote
1answer
318 views

Post comment as different user than logged in

When I reply to a comment in the WP backend in the "Comments" section (edit-comments.php) I can only post the reply as the logged in user. Is it possible to select a certain user like in the "Add new ...
1
vote
2answers
465 views

Multiple Single Installs of Wordpress with a central user base

Im sorry that I am asking this but I have been searching for ages and for some reaseon the suggested custom user table dosn't work, it just gives me a username error. This is the code I am taking ...
1
vote
2answers
620 views

Menu page with list of users

I need a way to create a menu page with a list of all users for administrative purposes. The list will be used by users that don't have permission or acceses to the "Users" menu page. The page need to ...
1
vote
2answers
893 views

Redirecting user after updating profile?

I have been working around with adding stuff in user profile edit area. i am done with that but there is one thin i am unable to sort out. What i am planning to do is to redirect a user to a custom ...
0
votes
1answer
209 views

Reapproval for edits and deletion after post is published

I regularly have guest authors who post one or more articles on a non specific schedule. So I provide them with permanent contributor accounts to avoid the hassle of making them accounts and deleting ...
0
votes
1answer
1k views

Check if specific username is logged in

How can you check if specific username is logged in?
0
votes
1answer
633 views

How to restrict specific post types from being read or added by specific user roles (eg. author)?

I'm not very clear how to restrict admin area post types access to specific user roles. In my case, I have some post type such as "suppliers" which I do not want to show to "authors". By default WP ...
0
votes
1answer
946 views

Wordpress User Profile Upload - If page is saved file reset

I have various different extra profile fields which I have set in functions.php however with the upload one if a user uploads an image and saves the form the image is set, however if they go back and ...
0
votes
1answer
5k views

Get avatar of the logged-in user in Wordpress

How can I get a user avatar to display in the header of my WordPress site? I've tried: <a href="<?php echo get_author_posts_url($post->post_author); ?>" title="<?php the_author_meta( ...
0
votes
2answers
1k views

Change labels on 'Nickname' and 'Biographical Info' in user-edit.php

For a project I'm working on, I want to change the labels of the 'Nickname' and 'Biographical Info' fields on edit profile (user-edit.php) page in the dashboard. I still want to use those fields as ...
0
votes
4answers
3k views

Adding Properties to User Profile and Displaying in List

I have a site that I am migrating to WordPress, and I have a need to add properties that each of the users can edit (e.g., Address, City, State, Business Name, etc), along with some properties that ...
4
votes
5answers
1k views

How many users can WordPress handle?

I want to design a member login site in WP but I have a doubt that is WordPress can handle more than 40000 users on same database? I am not sure about this so I am stooping my work here. So please ...
3
votes
1answer
5k views

How can I search for a worpress user by display name or a part of it?

I need to create a search page that will display anything related to the supplied search. i.e. comments containing it, events, posts, CPTs and users with that name. How can I search for users in ...
3
votes
1answer
350 views

How to count current user's pages?

There are a lot of answers on how to count users posts by using: <?php if ( is_user_logged_in() ) { global $wpdb; $user = wp_get_current_user(); $where = ...
3
votes
1answer
456 views

Show Biographical Info while creating new user

Is it possible to show the Biographical Info textfield while creating a new user? I know it's possible to add user bio by editing a user AFTER it has been created. But I would like to do this while ...
3
votes
1answer
1k views

Importing users? From another wordpress site

Is there a way to import users from another wordpress site? Both sites are new. I just don't want to go through the trouble of adding the same users profile information and password.
2
votes
1answer
139 views

How can I let users to access plugin functions based on roles?

I use a plugin called "Live Edit" to let authors and editors edit the content front-end. But the issue is that the plugin lets any logged in users to edit the content. I want the edit(specified by ...
2
votes
2answers
100 views

Paginate a list of users?

I'm currently displaying a list of all users using the following code. The only problem is that I need to paginate and only display 10 users at a time. I'm familiar with pagination using CPT's and ...
2
votes
1answer
72 views

User fields that can be edited by administrator?

How can I add custom user fields for a user profile that an administrator can edit? I want the user to be able to see the value of the field on their profile, but I don't want them to edit it. How can ...
2
votes
1answer
1k views

Buddypress - Send New User Activation Link to Admin [closed]

How do I send the new user activation link to my own email address instead of the user? Is there a simple function I can use to switch things out? function ...
2
votes
2answers
195 views

What is the best way to avoid spammers registering to my blog?

I would like to be able to easily control who registers to my blog because recently I had tons of spam users registering. I came accross the plugin Stop Spammer Registrations, but i'm not sure it is ...
1
vote
3answers
2k views

get_current_user_id() returns 0?

I'm trying to get the currently login user's id in WordPress. I've used the following code: function users_list() { global $current_user; $current_user = wp_get_current_user(); echo 'User ...
1
vote
1answer
71 views

Completely hide user info

I'm wondering if there's a way to make 100% sure a user's info is not available to the public. Our theme is not currently using a profile page, but I did notice that there is a 'Posts by author' page ...
1
vote
1answer
181 views

How can I secure a WordPress blog using OpenID from a single provider?

We're about to launch an internal blog for the company I work at. Much of the blog will be available to the public, but certain posts will be for employees only. Our intranet/extranet has an OpenID ...
1
vote
1answer
728 views

How to delete all post and attachments of a user when I delete it?

When I delete a user, WordPress can just delete the post or page of this user, not his custom post and his attachments. An idea for a special hook? add_action( 'delete_user', 'my_delete_user'); ...
1
vote
1answer
1k views

Force display name as full name

Is there a way I can force all users display names to be Firstname Lastname or alternatively change this to be the default?
1
vote
2answers
1k views

Allow users to post to a certain category

I have a website running Wordpress. I have lots of content, e.g. tutorials, and I made a new category on a separate page, so I don't have a lot of content there. I want users to be able to add ...
1
vote
1answer
539 views

How to display only logged in user's post comments in comments area

I am making a custom Wordpress site where School students logged in and add their posts. I am giving them rights to use wp-admin panel with little customization and modification. QUESTION: "How can ...
1
vote
1answer
416 views

How do I list in the backend all users that were assigned to a custom role?

From my previous question How to create and retrieve data from a special registration form? I would like to know how do I list in the backend all users that were assigned to a custom role? Is it ...
1
vote
2answers
920 views

$current_user var returns NULL

I am developing an wp plugin and I am trying to get the current user. If i return with an error print_r($current_user) returns the needed info. But the plugin is activated without an error it ...