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

learn more… | top users | synonyms (1)

0
votes
1answer
161 views

first_name property missing inside register_user action hook

I'm trying to access the $user->first_name property from a function triggered by the register_user action hook but it's not there: function do_stuff($user_id) { $new_user = get_userdata($user_id); ...
0
votes
1answer
96 views

Overview with latest edited posts and pages

I'm looking for an overview of all the latest user activities. But I don't want to see comments on this page, just the edits or creations of new posts or pages. Unfortunately I can't find such a ...
1
vote
2answers
861 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
96 views

Assigning a role to a specific custom post type (and ignoring other post types)

I have a new post type called "story" And a new role called 'Writer' (w/ a 'publish_story' capability) I want it so that, a Writer when logged in can edit Profile and only edit a custom post type - ...
0
votes
1answer
85 views

User meta and public function security

I am using stripe to setup a system of buying credits, which can be used on my wordpress site. I save credits using wordpress user meta, and I increment those credits after a successful transaction ...
0
votes
1answer
950 views

the_author_meta('user_url', $author->ID) not working properly. how can I solve this?

I have 2 authors and an admin on my blog. I am using the following code in my contributors.php function contributors() { global $wpdb; $authors = $wpdb->get_results("SELECT ID, ...
0
votes
1answer
217 views

New User Form - Custom Menu Page

I have a question concerning creating a new user. I'm creating a plugin for this wp site I am working on. I have set up custom roles for these and I'd like to have a separate menu item for the "Owner" ...
1
vote
1answer
78 views

Where is the information about the authors for articles stored?

I have recently been appointed to maintain a Wordpress powered news site. I don't have much experience with wordpress and have been teaching myself as I go. The site I am maintaining was recently ...
1
vote
0answers
153 views

.htaccess browser caching and user login [closed]

I have a site that involves user logins for certain content. I am leveraging browser caching in the .htaccess file. When a user logs in, they are redirected to a profile page. The problem I'm having ...
1
vote
0answers
74 views

Multiple authors with different “author roles”

I´m using Co-Authors Plus plugin to manage multiple authors in a e-magazine, but I´m trying to go further and credit "text authors", "photography authors" and "video authors", so I´m adding a new ...
0
votes
2answers
38 views

How change menu for each user in plugin?

I need to change navigation menu in my plugin for each user for example: if(is_user_logged_in()) wp_nav_menu(...); else wp_nav_menu(...); But when I apply the above code in my plugin it ...
0
votes
1answer
189 views

each user having category with their name and can add sub categories post in that category

I am looking for help or plugin for the following conditions of my site I am using wordpress 3.0+ version. my site is about School where students will get register and post their experience and ...
1
vote
2answers
46 views

Forcing WordPress to work differently

This is kind of an airy-fairy question but it's been causing me grief for weeks and I'd like some outside input. I have a client, a programmer, who wants a site set up so people can post stories, edit ...
0
votes
0answers
82 views

User Meta not Updated?

I've gone in and give custom meta fields for the users in the database, and have assigned all the appropriate values to them. I also have a page set up with all of the users being displayed with the ...
6
votes
2answers
3k views

user_login vs. user_nicename

When you call the get_users() functions, a list of user objects are returned. Each of those users has a number of properties. What is the difference between user_login and user_nicename in those ...
0
votes
2answers
295 views

How to let the users edit their user names?

Is there a way to let the users edit their usernames? Today, I googled for such a code for a while and had no luck finding a solution except a few plugins. I didn't find any tutorial for doing so. ...
0
votes
0answers
40 views

How to get the list of users logged in to wordpress and expose it in JSON?

Is there a way to get the list of users logged in to wordpress site and expose it in JSON? Please throw some lights to achieve this.
2
votes
1answer
136 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 ...
0
votes
1answer
16 views

Privilege to recover trashed posts

I can't seem to find which built in privilege is required for recovering a trashed post. Would it be delete_posts, which is as its name suggests, can move items into the trash and remove them ...
0
votes
2answers
70 views

show count author post today

i want show user count post today or yesterday post in wordpress. example: xxxx = published 2 Posts yyyy = published 40 Posts please help me.
4
votes
3answers
5k 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 ...
1
vote
0answers
256 views

How to track a users progress through pages by inserting data into Wordpress Database?

My website users can learn British Sign Language through Video Tuts, Quizzes and games etc. I would like to track the users progress through the pages of the course and add that data to a Wordpress ...
0
votes
2answers
108 views

Prevent subscribers to changing certain profile fields

Is there a way to prevent "subscribers" from editing specific fields in their profile, like email? I thought it would be simple enough, but I've read though quite a few posts about it around the web ...
0
votes
2answers
1k views

Bulk Move Users from one site to another within a network ( Multisite )

I have a multisite install with 2 sites. I am working on site A, and I have a lot fo users on site B. I can individually move users from B to A, but there is a nontrivial number of users, and this ...
2
votes
1answer
62 views

Generating User(s) with Settings API

I am trying to create a plugin that will generate users. I am pretty new to Wordpress and my PHP is ehhhh. The idea for it is for the plugin to generate multiple users when its finished. Right now ...
1
vote
1answer
492 views

How can I set wp_dropdown_users so that it shows only authors?

I want to list in a drop-down box all users who have role "author" How can i do it? Thank you
0
votes
2answers
56 views

Add a column before username in the users profile table

I want to reorder the Company column to be the first column in the table, the code is working fine but it's position is the last one. How can I get it to be in the first before the username? function ...
0
votes
2answers
45 views

Given multiple admin accounts, how can I make it so that only admin with X username can edit posts

My question is pretty much in the title. I have 2 or more administrators, but I only want the admin with X username to edit the title of the posts while others can only view them. Feel free ...
0
votes
0answers
18 views

How i will get the images of highest scored users?

I am using a Q/A plugin for the user scores, I have function like below, I want to take the images of the highest scored users, how can I get the images of the highest users, and I want to display it ...
0
votes
3answers
712 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 ...
1
vote
3answers
3k views

How to get userid at wp_logout action hook?

I need to perform some cleanup after a user logged out, so I added a wp_logout action hook. Problem is, wp_get_current_user() already returns null if called from within the wp_logout action hook. How ...
4
votes
1answer
775 views

Wordpress Multisite allow site admin to add user without email confirmation

In Wordpress Multisite,a site admin (not a super admin) doesn't have the option “Add the user without sending them a confirmation email” when adding a new user. Is there a way to bypass the ...
0
votes
2answers
188 views

How should I setup the “Users” area to hand over to a client?

We're about to hand over a Wordpress site to a client; this is the first one we've built from scratch. Our "Users" area just consists boringly of the admin login with my work email like so: . ...
0
votes
1answer
75 views

Preventing role reading others posts

I've got a custom post type that I want to allow a specific user role to add posts to, however they must not be able to read posts from others. Here's my custom post type code: ...
1
vote
1answer
576 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 ?
6
votes
3answers
468 views

Ban a user and end their session

I'm working on a plugin derived from this tutorial. So far, the plugin adds a checkbox on a user's profile edit page where admins can ban the user. If checked, the user will receive a message upon ...
0
votes
0answers
15 views

Security: How to disallow viewing/browsing by author? [duplicate]

I've already inserted htaccess code to disallow searching for users by numeric id. However, one can still manually input a user name to view/browse by author, e.g. http://mywpsite.com/author/peter/ ...
0
votes
1answer
612 views

get comments by current user inside page template

I want to add a page template inside my custom post type and retrieve inside that page the comments posted by current user. I have this code for getting the current user: <!-- GET CURRENT USER ...
0
votes
1answer
34 views

One Click Access To Users Account In Wordpress?

I am trying to figure out a way that my support team can access my user accounts within wordpress. What I am trying to do is create a report inside the Admin Panel of all users and then have a button ...
0
votes
0answers
104 views

Are there any hook or filter when adding new user in Wordpress?

I'm using a plugin Profile Builder (http://wordpress.org/plugins/profile-builder/) to manage my front-end registration. It works fine, and it warns when a user with a certain username already exists. ...
0
votes
0answers
41 views

selectively disable akismet

I need to disable Akismet for comments written by one of my registered users, since there is a problem that when such plugin is enabled they do not appear. I have some familiarity with php but I am ...
0
votes
1answer
118 views

Display and Allow users to edit their own profiles

I'm working on a site that would have different categories of users, and each user will have his own user profile page with a vanity URL, which he can share with others. The users are divided into ...
0
votes
2answers
356 views

Cant edit profile from frontend

Hope you can assist. Background: I have a multisite config. Users need to be able to update their profile from the frontend, via their profile page, which is something like, ...
1
vote
2answers
297 views

Exclude subscriber users from user list

I want to exclude Subscribers from a user list. My code is: $users = $wpdb->get_results( "SELECT display_name FROM $wpdb->users ORDER BY display_name ASC" ); How can I change that so ...
0
votes
0answers
153 views

Let admin users edit member profiles from front end

I'm using WP User Frontend Pro, but the pro version lacks the feature of letting admins edit registered users profiles from front end. I'm building a web app using WordPress, and the administrator ...
1
vote
2answers
127 views

Get how many days since last post of the current user

How do I get how long since current user's last published post? For example: It has been <?php echo $days_since_last_post; ?> days since your last post I need to use that number in a variable ...
0
votes
1answer
50 views

Is there any way to give all users access to one blog in a multisite network without using a plugin?

I know there are various plugins out there to help with multisite user management, but we have a policy of avoiding plugins for a) overzealous security policies, and b) interfering with our already ...
1
vote
1answer
176 views

Best practice for show data to one specific user?

I'm attempting to build a locked page on wordpress (through a plugin) that shows differant data, depending on who signs-in. Essentially it has three screens, as follows: If you sign-in as the admin ...
0
votes
2answers
55 views

Let users register weight each day and save it in DB

I need a way that lets my users register they're weight (kg) and maybe % of bodyfat and save that information on each user in the DB. Then i need a way to output that number again on the logged in ...
0
votes
2answers
323 views

Print profile details as PDF or from modal window

I have been able to use the Advance Custom Fields plugin to create more fields I need for every new user to our site. What we need though, is that once someone has registered, they still need to be ...