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

learn more… | top users | synonyms (1)

1
vote
3answers
1k views

get_user_meta Short Profile Section

Ok so i have added a custom field into the users edit profile page where they can add a link to a url of an image they want. I am currently using this for contribitors and above but i also have a ...
1
vote
1answer
69 views

Does an AJAX call on the Admin Side Automatically include the User Data/Capabilities?

I was wondering that if you do an AJAX call on an admin page and I wanted to see if the user had the capability to edit a page, would that info be sent along the call or do I need to manually sent ...
1
vote
1answer
2k views

Add User meta fields, which only admin can edit

is there a way to add custom user meta fields (like the one in the profile.php which contain specific user data), but only an admin (or an other user with enough capabilities) can change them? Maybe ...
0
votes
1answer
57 views

Whenever I got to my new pages (http://www.cwmags.com/news) it requests login?

I have two news pages on different domain names (different content) using the same template. http://www.cwmags.co.uk/news and http://www.cwmags.com. I have check .htaccess (301 redirects), CHMOD ...
1
vote
1answer
1k views

How to use WP default post list tables in a plugin?

I'm developping a plugin to manage a base of users and I'd like to show them in the same type of table used in other parts of the WP admin (post lists, user lists, etc.), I'd like to have the same ...
2
votes
1answer
672 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 ...
2
votes
1answer
182 views

Can I bulk register contributors for a new blog

I just designed a blog to go with our small classic car club website here in the south of Spain. Before I make it available to club members I need to do something about registration. I have read up on ...
1
vote
1answer
479 views

Mass Import Users without sending new user notification

I need to import users via csv file. I see lots of plugins that do mass imports, but they all seem to send out new user emails to the new users. Since this is currently being set up on a dev site, I ...
4
votes
3answers
2k views

How to let contributors to create a new revision(draft) editing their published posts

I'm using a custom post type to let contributors have a personal page on the site. Any time a user registers to my site a script creates a custom type post that has the registering user as author. To ...
3
votes
1answer
56 views

Migrating users from .com to .org?

I am in the process of migrating my blog from my wordpress.com address to a self-hosting (wordpress v3.1.2) address. Blog has migrated across nicely. Appears my users have also migrated across, but ...
2
votes
4answers
3k views

Allow anonymous users to post to my site for moderation

I'm in need of the ability to allow anyone (they don't have to login) to fill out a form with email and a textarea and submit it to my site. This form would be treated as a post and appear somewhere ...
5
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
1answer
480 views

Allow users to upload flash videos?

I would like to allow users to upload videos to their profiles. I'm using the couponpress theme for wordpress, which is a coupon listing theme. It lets users upload images for their coupons or ...
0
votes
3answers
89 views

I'm a super admin and I want to give an admin the ability to add new users…?

How can I do that? So far the admin can only add exisiting users.
0
votes
1answer
1k views

add 'file upload' field to user details

In the backend when a user goes to their detail page they can edit a few text fields. I want to add a custom field that allows the user to upload a file. I found something similar but its only to add ...
1
vote
2answers
314 views

How to list users and their post amount?

I want to list all the users of my site and the amount of posts each user has. So far I have the function below, but I don't know how to pull in each user's ID to use in the count_user_posts... ...
0
votes
1answer
497 views

How to implement friend system for Wordpress?

At the moment my users posts are only viewable to them. I would like to implement a system where they can choose to share any post with other users they know. The problem I'm having is, how do I make ...
2
votes
2answers
297 views

user-new.php less detailed after WP3.1; how to revert?

I updated WP to 3.1, and one issue my organization (which uses WP in Network Mode) is having is the Add New User page in wp-admin is now much less detailed -- before it was more like profile.php, with ...
0
votes
1answer
2k views

How to let users choose posts order in categories?

Hi to all I'm running a wordpress based website and I need to let the users choose how to show the posts inside categories pages. I would like to have a button inside a category page that can be ...
0
votes
1answer
714 views

Changing user of post by changing 'post_author' field in 'wp_posts' table not taking effect. Where is the real post author info kept?

I just imported my entries from my blog into a freshly installed Wordpress. I created a new user..e.g. "bob" (bob has an ID=2 in the wp_users table). I want the author of the new posts that I've ...
2
votes
1answer
314 views

Querying Email Addresses for a List of Users with Same Last Name?

I have a site with many users and many of them have the same last name. I want to get the emails of all the users with the same last name (IE: Smith) that has a post related to a particular taxonomy ...
3
votes
3answers
1k 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 ...
32
votes
2answers
65k views

How to change the default registration email ? (plugin and/or non-plugin)

After a new user registration, WP sends out an email with the login / password, and a link to the login page. Is there a way to change this defaut email template? I'd also like to change the subject ...
0
votes
1answer
1k views

How can I get the last posts by user role?

I have a custom post type ("News"), and a custum user role ("Friends"). How can I get the last "News" written by "Friends" ?
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?
0
votes
1answer
173 views

Buddypress - New user type with no profile and can't interact but can be admin of a group

I need an easy way to create a set of users who cannot interact with the other users, all they can do is administrate a group (they can upload documents to the group-documents plugin and maybe change ...
2
votes
2answers
355 views

determining if the user is logged in

I am new to wordpress, and trying to get my head around the idea of sessions and all. I read in a lot of places that session concept is not used in wordpress. Anyway, I downloaded the my-login-theme ...
0
votes
1answer
708 views

WP Create User - Preventing repeated information

I am using the <?php wp_create_user( $username, $password, $email ); ?> function in a contact form to create a subscriber when the user enters infomation on the contact form, thus in the ...
0
votes
2answers
423 views

Best way to tell if a comment is from a user?

I've got an if ($comment->user_id) block to pick an default admin comment gravatar (different than a non-user's). But I'd still like this gravatar to be used if a user comments using their ...
3
votes
1answer
588 views

Return ID of authors who have at least one post

I found a great piece of code here that returns the ID's of users by role. What I would like to do is modify it so it only returns the ID's of the users who have at least one post. I have tried to ...
2
votes
1answer
1k 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?
4
votes
4answers
10k views

How to restrict access to uploaded files?

I have a restricted area on a website that can only be accessed by logged in users. For that I created a page template with a 'current_user_can()' condition. My problem is that the documents attached ...
0
votes
1answer
228 views

Shortcode not displaying HTML within the function

I am working on a function that displays all authors but it appears I am doing something wrong the HTML within does not display until the bottom of the page separate from the output. /* Add ...
16
votes
3answers
3k views

Multiple developers / editors working on a site in progress

Background I'm nearing the final stages of constructing my first fairly large WordPress site, and I'm now encountering some friction. For the most part, the site was developed on my local machine and ...
4
votes
2answers
1k views

how to use joomla password format in wordpress?

I need to import more than 1000 users from joomla to wordpress. I can do that with csv. My main concern are passwords. I did some googling and found out that it is possible to change wordpress ...
0
votes
2answers
392 views

get author of published post

I am using the publish_post action to run some checks on a user after their post is published: $author_ID = ???? add_action('publish_post', 'rhb_check_current_user', 10, $author_ID); How can I get ...
0
votes
1answer
540 views

wp_generate_password sets password but can't login using created password

Im creating a simple login/registration page incorporating user moderation and bootstrapping wp for the heavy lifting. I can get the new user added to the db and a password gets created and hashed ...
0
votes
2answers
414 views

List top 5 authors with most posts

How are you? I have a blog which have 20 authors. I want to write code to show the 5 author who have more posts. like this: Adam (10 Posts) Khal (8 Posts) Yous (5 Posts) Moha (3 Posts) Yousef (1 ...
7
votes
3answers
6k views

Why are my roles not visible in a Multi-site/Network?

My network is showing roles in some sites and not in others. For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
1
vote
3answers
4k 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 ...
12
votes
8answers
16k 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
1k 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
3k 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
9k 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
4k 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
197 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
309 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
89 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.