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

learn more… | top users | synonyms (1)

0
votes
2answers
85 views

WordPress edit_user_profile_update update secondary role

I am trying to save secondary role field in user-edit.php which is independent of WP's main roles. I had no problem with saving other custom fields that are unique but for roles (wp_capabilities), it ...
0
votes
0answers
24 views

how to redirect users to a custom page when they click on their display name or “my profile” or dashboard?

How to redirect users to a custom page when they click on their display name or my profile or dashboard on my WordPress site. Because I locked /wp-admin with this add_action('admin_init', ...
0
votes
2answers
33 views

How would I restrict certain user levels from editing categories

I have a situation where I need WooCommerce product categories to be edited by an admin only. So, basically I'm looking for a way to prevent other user roles from adding, editing or deleting ...
1
vote
0answers
37 views

WP not logging in at first time

I've been experiencing a weird "bug" in my website which I have a form in the front page to do the log in, it doesn't log, redirects me to the WP-login.php and it says the Cookies may not be active in ...
0
votes
0answers
15 views

How to add a notification/inbox to user interface?

I want to notify a user in their user menu/interface when their post has received a comment. As it is now they're only aware of it through a email that my wordpress sends them. So I want to add like ...
0
votes
0answers
27 views

Cannot Save User Roles - Set a Role, says Updated, but no Change

thanks for reading my question. I have a Wordpress Site with Delicious Magazine Theme installed. In Users --> Edit User, I want to change a specific user's role to Contributor. When I make the ...
0
votes
0answers
39 views

Get first_name on hook user_register

I have created a plugin for saving user info. I have used a action hook user_register, but I don’t get the values of first_name and last_name. What wrong in my code? ...
0
votes
1answer
124 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); ...
3
votes
2answers
2k views

Wordpress: How to get the current logged in author page URL?

Is there a way to display, via a PHP function, the author posts link (myblog.com/author/jason) of the current logged in user ? In fact, I would like to display, for every logged in user, a "My ...
0
votes
1answer
24 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 ...
0
votes
0answers
8 views

Non-admin “revisions” to page affecting code on page

This is a bit of a strange problem. We have a membership site, and I noticed some of the inline:block images were getting messed up on some of the pages. Upon looking into the problem, I noticed in ...
0
votes
0answers
25 views

Linking a user with a specific post type they are allowed to modify and hide the rest

I've looked everything on internet but didn't found the answer to my problem. Here is my situation. I'm using, for a college website, Wordpress 3.8 and the amazing plugin Advance custom field and CPT ...
1
vote
2answers
682 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
45 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
41 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
118 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
109 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
26 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
39 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 ...
0
votes
0answers
26 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
32 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
182 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 ...
0
votes
2answers
38 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
38 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 ...
0
votes
1answer
72 views

call wp_insert_user in custom class doesnt work

im creating a custom class to manage users in wordpress and chamilo but this is not the point. Class looks like this: class Platform { private $security_key = '..'; private $secret_key; ...
3
votes
2answers
302 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
91 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
30 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
97 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
14 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
47 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.
3
votes
4answers
2k 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
53 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
50 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
824 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
52 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 ...
0
votes
0answers
27 views

Comment Approval Message Showing to All Users

I'm using a custom function to output comments. It seems to work fine, however I've added the following notice for when comments are yet to be approved: <p class="awaiting-approval">New comment ...
1
vote
1answer
63 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
38 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
40 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
17 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
552 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
2k 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 ...
0
votes
2answers
113 views

Importing Existing Users with Passwords

I have an existing legacy PHP site of 15000 users with base64 hashed passwords , I would like to import all these users into the new wordpress site with their passwords , What would be the best ...
0
votes
0answers
35 views

Get posts that have been read by logged in users

I am using buddypress. I want to know what posts each user has read, and show a list of read and unread post for users. I don't know how to do this. Should I be using custom fields, via add_user ...
4
votes
1answer
231 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
58 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
152 views

User Activation Email Requests Activation Key

I'm using Buddypress on a site that's in a multisite network. I've opened up user registration, and configured it to send an activation email to the user. When the user clicks on the activation ...
0
votes
1answer
35 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
216 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 ?