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

learn more… | top users | synonyms (1)

3
votes
2answers
3k views

Allowing an email as the username?

Is it possible to allow people to utilize their email as their username?
1
vote
1answer
1k views

Find out when a user was created and display varied content depending on time since creation

I am looking to display different content after a user registers. Is there a way to find out the registration date and then if it's been 1 day display one thing, but if it's been 2 days display ...
0
votes
1answer
443 views

Problem in getting user comments permalinks

i am trying to display comments by specific users at a custom area. i am successful to do that, but the problem is the permalink structure . this code gets the url as permalinks disabled, if i enable ...
1
vote
1answer
967 views

$user_id vs. is_user_logged_in()

I found a code scrap on the internet which uses if($user_id) { instead of if ( is_user_logged_in() ) { to check if the user is logged in. I would assume that the first would be slightly faster ...
1
vote
1answer
288 views

In what part of the Wordpress core does the users table and usermeta table get joined?

I have been trying to work out just where in the massive jungle of Wordpress include classes the usermeta table is joined onto the users table and if so, how does it work? The one confusing thing ...
3
votes
1answer
3k views

How to check user role without using current_user_can()

I am filtering the map_meta_cap() function, which is called from $user->has_cap (which is called from current_user_can()). I only want my filter to execute if the current user is an administrator, so ...
0
votes
1answer
515 views

is_user_logged_in function in a sidebar not working

I'm trying to get my sidebar to change when a user is logged in and i'm using the is_user_logged_in function. Here is the code - <!-- BEGIN sidebar --> <?php /** * The Sidebar containing ...
1
vote
4answers
22k views

How to change user`s avatar?

Is there a way o changing user's avatar without plugins? Why there's no "Avatar Upload" section in Users > Your Profile? I can't use a plugin. Am I blind or being forced to use Gravatar? ;/
4
votes
3answers
842 views

Performance tips for a large user base [closed]

I’m preparing a site with many users (100.000+). Since the output depends on the current user’s relation to some custom post types and taxonomies a static cache won’t help much. Besides using a ...
0
votes
1answer
907 views

How to default/force the user's display_name to their nickname?

I'm creating a simple directory from the user accounts and want to simplify it as much as possible for the users. I changed the label on nickname to Lastname, Firstname so that the users can be ...
4
votes
1answer
1k views

Post list based on the user that is logged in

I've been all over this site and google, and the WP codex looking for an answer to this one. I know it's out there, and I know it's easy. Maybe has something to do with user_nicename, but I just can't ...
1
vote
2answers
881 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 ...
3
votes
2answers
537 views

Setting WP Admin passwords to expire

I'm aware it's not a feature of Wordpress, but I was wondering if there was a way or a plug-in (haven't found one from searching) that allows me to force a user to change their password after a ...
6
votes
1answer
3k views

Commenting in user profile page?

I am trying to build custom user profile with the guidance of this tutorial: How to make a WordPress profile page I have successfully implemented it to my theme, everything is working well. Now what ...
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
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
1answer
2k views

How to display multiple custom columns in the wp-admin users.php?

I'm using the manage_users_columns to display a custom field I create in the usermeta database called company. My code is as follows: function mysite_column_company( $defaults ) { ...
0
votes
2answers
85 views

Summary of Posts by an User

i have a buddypress blog at http://thelazy.info . When I click on a user his buddypress profile opens up. Can there be a summary of his posts in his buddy profile or directly that opening up when user ...
7
votes
4answers
5k views

How to search all user meta from users.php in the admin

The search form at the top of the users listing in the Admin area (wp-admin/users.php) is limited and does not search all of the user meta fields, such as bio, instant messenger handles, etc. I've not ...
7
votes
4answers
8k views

Change the Author Slug from Username to Nickname

Hi to the community, is it possible to change the default username slug to nickname if is available? By default the url is something like: http://domain.tld/author/(admin) , is it possible to ...
2
votes
2answers
2k views

show cimy user fields in users.php with manage_users_columns

I'm trying to add code to my themes functions.php to display fields created with the Cimy user extra fields plugin in the dashboard users.php. I know that I need to use manage_users_columns, but ...
1
vote
1answer
425 views

Function Get User Object By Username?

Which function can be used to get the user's object using the username? I've tried get_userdatabylogin() but the function seemed to throw an error: Parse error, unexpected T_STRING on line xx The ...
0
votes
1answer
1k views

How do I let contributors edit their posts after being approved once?

As above Background info Main problem: users pay to post an ad on the website Solution: they sign up as contributors and I publish their posts once the payment is received, after that they can make ...
1
vote
1answer
135 views

Upgrade Nightmare - No Posts, Permissions Issues and Can't Create a new post

Symptoms: Can't view ANY previous Posts, but the correct totals are listed by class - published, draft.... When creating a new post - no save or publish button Unable to administer ANY plug-ins - ...
1
vote
1answer
431 views

How to change the order in which users are displayed in admin?

I would like to change the order in which users are displayed in the admin. At the moment it seems that they are order by the username. I think I have found the right place in the wp-admin/users.php, ...
11
votes
2answers
18k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
3
votes
2answers
78 views

Any reason to be concerned by a wave of “zombie” blog signups?

I maintain a blog for a friend of mine. It's basically an aggregater of videos from other embeddable video sites, and provides a way for users to comment on those videos. Not really high-value ...
20
votes
2answers
10k views

Editor can create any new user except administrator

I have set up a WordPress site for a client. The client has the Editor role, however I have installed the Members plugin and given the client the capability to add new users to the WP admin. This is ...
13
votes
2answers
12k 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 ...
1
vote
1answer
246 views

Why wordpress showe “admin is editing…” whoever edits?

Wordpress warns users when two of them are editing the same article, but the warning always says "admin is editing this page". Admin is currently logged off and the message is caused by another ...
1
vote
2answers
491 views

Display WordPress commenter nice name

I'm working on a custom plugin that needs to display specifically the commenter's nice name. The codex shows how to do this for the logged in user but not someone else. Can this easily be done?
5
votes
1answer
481 views

Disallowing Users of a Custom Role from Deleting or Adding Administrators?

(Moderator's note: The original title was "Custom User Role Restrictions") A project I am working on requires me to create two new user roles - one for the owner of the website and the other for ...
2
votes
2answers
553 views

Set user loggin status?

I create user with wp_create_user,after succesfully creating a user I need to set his status to be logged in?How to set his status to be logged in ?
1
vote
1answer
349 views

Subscribers become Authors after Upgrade? / Mass Update of Users?

I have a site with ~30K users, and the vast majority have role 'subscriber' on the main blog. After upgrading from WPMU 2.9.2 to WordPress 3.0.1 I noticed that all 30,0000 users are appearing in the ...
1
vote
1answer
2k views

Last time a user logged in

I'm building a site where users log in to view content specific to them. I would like to display the last date and time they logged in. How would I get this information from wordpress? If it ...
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 ...
7
votes
4answers
5k views

Showing User's Post Counts by Custom Post Type in the Admin's User List?

I'm trying to figure out how to hook into the /wp-admin/users.php manage page to create custom columns for showing the number of posts users have for the custom post types on WPHonors.com. I created ...
0
votes
2answers
211 views

Personalized Gallery what are my options?

In my game website I would like to implement a Screenshot page where my registered users can upload images to it (it might be more then 1 screenshot page, 1 for the users and 1 for the game in ...
2
votes
2answers
1k views

wp_insert_post let users post to without login…broke

this question has been answered on stackoverflow. here is a link http://stackoverflow.com/questions/4321914/wp-insert-post-with-a-form/4321975#4321975 i'm trying to let users post to my site by using ...
0
votes
4answers
759 views

Restricted registrations or removing the ability to edit your password/email

I'm developing a WP site that lists expensive properties (villas, penthouses, etc) for rent. My client has an agreement with certain schools to list some cheap properties exclusively for their ...
8
votes
8answers
13k views

Is there a way (plugin?) to restrict a user to being able to edit just one page?

We use wordpress like a CMS and would very much like to allow users to have a "homepage". Ideally they'd be prevented from mucking up the whole site. Is there a simple way to limit users editing ...
19
votes
2answers
9k views

Getting a List of Currently Available Roles on a WordPress Site?

When writing WordPress plugins there is often a need to set up options for which roles on the site have access to certain functionality or content. To do this a plugin dev needs to fetch the list of ...
2
votes
4answers
2k views

WordPress Plugin for One-Time Event Registration? [closed]

I am building a website for a charity event and i would like for people to register for this event. The form should contain name, email and other custom questions. Also I would like a page where to ...
0
votes
1answer
160 views

how or where wordress collect unlogged user session

i see the pattern in some theme where we can collect session of unlogged user. for example, in a comment form: After user commenting, user can see that the their comment is waiting for a moderation. ...
0
votes
3answers
724 views

Multi-site User Sessions

I have a client that wants to create several WordPress sites and utilize a "site switcher" at the top, sort of like ThemeForest.net. I know in WP 3 you can create multiple blogs on the same ...
2
votes
2answers
571 views

How Do I Prevent Junk Account Creation?

I want to allow readers of my WordPress-driven sites who comment frequently the ability to sign up and have their own account on the site. However the ratio of actual readers versus spam scripts using ...
1
vote
3answers
2k views

How can I import users into WordPress?

I have a spreadsheet (XLS) of names, email addresses, and passwords from another content management system. Is there a way to import these folks as users (I think subscriber level, but some may be ...