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

learn more… | top users | synonyms (1)

0
votes
1answer
974 views

Uses for function: wp_update_user

my theme currently uses the wp_update_user function to update a set of user metas. I created to some new user meta fields that I would like to include in the existing wp_update_user. The function ...
1
vote
1answer
2k views

Add Admin User via SQL

I gave my client the admin account to his wordpress install and I forgot to add an administrator user for myself. Now, I can no longer access the admin panel because they have changed their password. ...
0
votes
4answers
2k views

How to make user accept license agreement before download

I use my Wordpress site to host downloads, among other things. According to German law I need to make a user accept the license agreement prior to being able to download a program. I am thinking of ...
2
votes
1answer
290 views

Add user capability and check against it

I just realized the following: // Call the current user info global $current_user; // Add a capability // and set the 2nd argument ($grant) to false $current_user->add_cap( 'some_cap', false ); ...
15
votes
2answers
9k views

How to check if a user (not current user) is logged in?

I need to display the online status (online/offline) for each author page (custom author page template). is_user_logged_in() only applies to the current user and I can't find a relevant approach ...
0
votes
1answer
42 views

Plugin privelages for “editors”

I have a few plugins installed in wp that appear in the submenu of the dashboard. I want users with the "editor" role to only have access to specified plugins.
2
votes
1answer
1k views

How to discover and delete unused accounts?

I'm running a Wordpress self hosted blog with registration and I would like to know if there is a safe way to know if users hasn't login yet or if account is unused by a long time. What I would like ...
2
votes
1answer
2k views

How can I add an image field to BuddyPress Extended Profile Fields? [closed]

I'm working with the BuddyPress extended profile component and would like to add image fields to the WordPress user profile. Is there code that I can add to my theme's functions.php so it inserts the "...
2
votes
1answer
154 views

User ability to favorite or 'like' content

I have a few different custom content types and would like to give my users the ability to favorite or 'like' (like Facebook, but not for Facebook) pieces of content so that they can later view a list ...
0
votes
1answer
42 views

Unexpected problems after importing WP data

I had to move my solution from one server to another. I therefore Exported all data so that I could import this on the new server. All worked fine except users. If I want to edit my own profile, all ...
0
votes
1answer
285 views

How can my user make their own Blog/Diary

It would be great if my Visitors could sign up and not only write comments, but also start their own diary. Like user.mysite.com or mysite/user Is something like that possible?
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
5answers
2k views

Create not-activated user in code, wordpress

I'm doing a site in wordpress and I need some help. I have a custom registration form where users can sign up and get special roles, but I want to save the users to the database as not activated so ...
0
votes
2answers
734 views

customizing wp user with custom fields

I want to allow the admin of a site i'm building to highly customize the wordpress user. This will be a highly advanced plugin so I'm fine creating a whole new page in the admin to do this ...
0
votes
3answers
2k views

How to use tinyMCE for user “biographical info” without messing with any core file?

I noticed when you typein the user's “biographical info” on the profile, it shows up in one page! Looks really terrible. So: Is there a way to use tinyMCE or other solution for user “biographical ...
0
votes
2answers
349 views

Switch Theme Through Options Panel

Is it possible to allow users when logged in to switch the entire theme through a theme options panel? I don't want users to use the standard wordpress way, but instead just an option in their panel. ...
0
votes
1answer
7k 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( '...
3
votes
1answer
672 views

The 'user_has_cap' hook seems to take two page loads to trigger

This question relates to another question I asked recently (http://wordpress.stackexchange.com/questions/29009/how-to-assign-specific-users-the-capability-to-edit-specific-pages-posts-cus/), the ...
-1
votes
2answers
3k views

Create password automatically for new users? [closed]

Is it possible to automatically create a password for a new user? Ideally, I'm looking for a plugin that, if the password is not given on user creation, would generate one and optionally email it to ...
1
vote
1answer
705 views

current post with current author

how can i check if the current post belongs to the current author? this is my basic code; ` if($curpost) { wpuf_edit_show_form($curpost); } else { $error = ...
1
vote
1answer
941 views

How to use “offset” to paginate get_users?

Is is possible to paginate the get_users function with the "offset" parameter? I have complete my custom query of users for my list and now I need to paginate the results into multiple pages. Here ...
4
votes
3answers
6k views

Track logged in users' visits

Is there a way to track logged in user activity? I'd like to see who logged in to the site each day and maybe see a specific persons login history. Currently I have no idea which of the registered ...
0
votes
1answer
139 views

Add Content to Content()

The Question::: This is a strange question but I need to add content to content() in page.php. How do I do this? The Why::: You see there's a plugin that uses the [plugin id="1337"] and I am linking ...
1
vote
4answers
8k views

How do I programmatically set default role for new users?

I would like new users of the blog to have custom role, rather then Subscriber. How do I set this programmatically? I know that it can be changed from the backend.
0
votes
1answer
548 views

Mass Update User Profile Checkbox Options

I created a checkbox option for the user_meta (user profile). They are checkboxes assigning users to categories. The problem is that I need to do a mass update for all of my users 1500+ and going ...
4
votes
1answer
1k views

Get users with atleast one post

How can I get all users with atleast one post? I don't think it's possible with get_users function.
1
vote
1answer
232 views

Create post for every user?

I was wondering is there a way to create a post for every user. Sort of like a mass update that would associate certain user meta to the post created. I would prefer running a loop script that goes ...
0
votes
2answers
57 views

How can I add authors in WordPress and assign them a picture?

I know that Wordpress allows us to create a new user and the user's avatar is got from Gravatar service base on their email. How can I add authors in WordPress and assign them a picture (without using ...
1
vote
1answer
2k 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 ...
3
votes
1answer
3k views

How to paginate the get_users function?

Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result. This is a sample of the function that Im ...
0
votes
1answer
441 views

“operation successful” message

i'm writing some custom wordpress pages, and i want that after an action where the user has addess an item to a list (after the user press the submit button and the page reloads showing the updated ...
0
votes
1answer
276 views

Prevent Registration Where Role is None?

My blog is being hammered by sploggers. The good news is that in every case the role displays as "None" in the list of Users. Is there a way to use add_action("user register") in functions.php to ...
1
vote
2answers
849 views

Replace Gravatar with UserPhoto in All Users Coulmn view

I am using the UserPhoto plugin which allows users to upload a photo which can be used in many ways. (It's awesome) But I would also like when the admins look at the list of users the column displays ...
5
votes
3answers
5k views

List users by last name in WP_User_Query

How can I list users by last name ASC when using WP_User_Query? There is an orderby parameter but looking in core it doesn't accept ordering my user meta. Anyone know how to extend WP to allow this ...
0
votes
2answers
428 views

Is it possible to build social networking website using WordPress?

Can one WordPress install handle at least 100,000 user profile pages (5m visitors a month), 20-100 pictures per profile, taging, facebook-like wall, private messaging system etc.? What's the limit ...
1
vote
1answer
627 views

How to migrate wordpress users from one blog to another

I have a client that has a single install outside of her network installation. I need to migrate the users with their passwords into the network installation. I've tried backupbuddy but it seems to ...
1
vote
2answers
58 views

New users must comment when requesting username

Does any one know of a Plug in that will help with reducing the number of unknown user requests to my site? current when a new user requests access I can only see an email address and username. Is ...
-2
votes
1answer
1k views

Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set?

Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set on a site? If not, how could I add hooks to the login success and logout actions and set my own ...
1
vote
1answer
815 views

Authors List page - How to include only those with wp_user_level as Author

At my Authors template page, I want to show a complete list of Authors only (i.e. wp_user_level=2) the code I used is like this: $current = (intval(get_query_var('paged'))) ? intval(get_query_var('...
7
votes
2answers
2k views

Update post counts (published, draft, unattached) in admin interface

I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
5
votes
4answers
2k views

How to hide media uploads by other users in the Media menu?

Simply put - how might I completely hide media files uploaded by any other users other then themselves? Id like to disable access to these links & files since they are a way for non-admin users to ...
1
vote
2answers
2k views

Order users by custom user meta

I'm showing a list of users like so: <ul> <?php $directors = get_users('role=director'); foreach ($directors as $director) { $dir_id = $director->ID; ...
0
votes
1answer
352 views

Save custom field types with this function…?

I found this great article (right here) about creating and saving custom fields for user profiles. The problem is that it only saves text fields. I can't save checkboxes, radio, or any other field ...
0
votes
1answer
487 views

Have users created automatically when a network site is created

Trying to figure out how to have users created automatically when a network site is created. So currently when a new user registers, their account is created and their network site is created. That ...
0
votes
2answers
1k views

Taxonomy Meta Box in User Profile?

Is it possible to have users populate a taxonomy meta box(es), using the post_tag or any custom taxonomies I create? The idea is to include users in a network into the taxonomy schema, which would ...
0
votes
1answer
161 views

How can I get list of emails of users who commented on a post?

What I want here is simple, but I'm not really sure how to approach it. I have a tournament website based on WordPress, where users sign up for a tournament by commenting on a post. The problem is, ...
0
votes
3answers
100 views

Custom user role still showing up after deletion, ideas?

I previously created a new user role called "Owner" which worked fine, however I decided to delete it afterwards from my functions.php since I found it to not be as useful for my project after all......
1
vote
1answer
2k views

Search Users base on meta_value & meta_key

How can i use multiple meta_key and meta_value to search users? For example, i want to search & find user name is "David" & location in "London". I'm using this query, But nothings in result!...
0
votes
1answer
119 views

Giving users an editable homepage/business directory

I'm currently working on a site which requires a business directory for 80 tennants. In an ideal world I'd like the administrator to create a user for each business and a page in a custom post type. ...
0
votes
1answer
42 views

How to know when an user is loged in?

Hello i have this simple problem: when the user is logged an podcast player is shown, other case no. How verify when the user is logged? Im wordpress and php newbie. Thankx