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

learn more… | top users | synonyms (1)

1
vote
2answers
3k views

mysql query two database tables, users and usermeta and sort by custom meta int value

I am trying to get an array of site users sorted by a custom meta value (an int). I can query the users just fine and get them back to use in a foreach. I currently have the query results come back ...
11
votes
8answers
13k 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 ...
2
votes
3answers
995 views

Community and User Generated Content Website: Have been thinking about Drupal but leaning on Wordpress heavily

I'm a non-programmer and run a food website (plain - jane Dreamweaver) along with a simple Wordpress powered blog. I envisioned creating a food website that is both user powered (one can submit ...
1
vote
1answer
2k views

A way to count logged in users and display count?

Is there a possibility to get the count of users currently logged in and display it somewhere?
8
votes
4answers
7k views

Remove Ability for Other Users to View Administrator in User List?

(Moderator's note: Original title was "Remove Admin from User Menu") I have created a client administrator role which is essentially an Editor with ability to add/remove users. The article "Editor ...
2
votes
3answers
3k views

Is it possible to add taxonomies to user profiles?

I would like to know if it's possible to add taxonomies in the user profile, without hacks. So far I have been able to add taxonomies to custom post types and all, but now I would like to add it to ...
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
1answer
4k views

Add Custom Filter to Admin User list

What is the correct way to add a custom filter (a dropdown box in this case) to the admin user list (wp-admin/users.php)? There are no filters or actions that I see to hook into that would allow me ...
0
votes
2answers
304 views

Janrain/Simple Modal under Redirected Domain

I have a wordpress site running on one domain that has the main 'client' domain for the site redirecting to it. I've got my Wordpress Address/Site Address entered correcting in Wordpress, and the ...
0
votes
1answer
172 views

Display additional user fields

A theme is in development that echo's fields from the users account on their themed account page. This is the standard format. <?php echo $current_user->user_lastname;?> Thats all well ...
1
vote
1answer
87 views

Changing a username

I have had a small number of users on my blog whiching to change thier username. I was reading that is in stored in the DB but where is it and how do I change it.
1
vote
1answer
440 views

Follow me for wordpress blogs (multi-authors)

If we have a blog with multi-authors is there a way for each to have a follow me twitter button separated. Meaning when we see the post of an author we see only the twitter button with the author ...
0
votes
1answer
728 views

How do you create two separate Register pages?

I am looking for a way to make two separate register pages. One will automatically assign users up as a subscriber, while the other will sign them up as a contributor. The only thing I have thought ...
0
votes
1answer
214 views

How do I manage my users post before publish?

In my website , I allow to the new user to write posts. but the problem is when the user write post. the state of post is publish. it is appear in front page. I want to read it before the publish , ...
2
votes
4answers
1k views

Tagging users in Wordpress

I have a community blog at thelazy.info . I want to tag users based on their colleges and assign a role known as "College Owner" which will have permissions to edit users belonging to his colleges. ...
1
vote
1answer
394 views

Hold comments for moderation only if user is not logged in

Is there any way to allow logged-in users to post comments without them being held for moderation, while requiring that any comment from anonymous users be approved? I have developed a system for ...
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
447 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
978 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
516 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
859 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
910 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
892 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
543 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
427 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
444 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
247 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
493 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
482 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
554 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
350 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 ...