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

learn more… | top users | synonyms (1)

1
vote
1answer
48 views

How to delete user on logout and when session expires?

I am looking for a way to delete a user when they logout and when session expires...whatever one happens first? Reason being is that all login authentication happens through an api to another company ...
0
votes
1answer
29 views

Remove specific administrator's capability

I've created two administrator users X and Y. And now I need to remove capability of 'edit_plugins' from user Y. I've searched and found, http://goo.gl/LttuvX $user = new WP_User( 'Y' ); ...
0
votes
1answer
66 views

Allow unfiltered HTML for not logged in users when saving a post

I'm using this code: $var1 = $_GET["t1s2ninput"]; $var2 = $_GET["t1s2pinput"]; $new_post = array ( 'post_title' => 'Title <dl class="variation"> <dt>Variation: </dt> ...
0
votes
1answer
26 views

subscriber can edit and delete their comments while logged on

I want subscribers can edit and delete their own comments on the post of my site anytime while logged on only. Can anybody please explain me how to do it. I used the Editable comments plugin, it does ...
4
votes
1answer
85 views

How to create a template for a custom URI associated with the user

I am working on a site where I am using a plugin called Favorite Posts so logged-in users can add a post (a custom post type) to their favorites. I created a page called my-favorites which allows the ...
1
vote
1answer
192 views

If current user is admin or editor

How can I check to see if the current logged in user is an admin or an editor? I know how to do each singularly <?php if( current_user_can('editor')) { ?> stuff here for editors ...
0
votes
0answers
30 views

Some user's cant see custom taxonomy meta-box

I have strange problem with users who can not see metabox with custom taxonomies. When I delete user and create him again problem is solved, but this is not the best solution :) All my taxonomies are ...
0
votes
1answer
102 views

Make WooCommerce pages accessible for logged in users only

I have a website using WordPress, and an e-commerce using WooCommerce. I would like my shop (and all its pages) to be seen by logged in users only. Via the User Access Manager plugin, I have denied ...
0
votes
1answer
108 views

how redirect users to custom login page when “login to reply” is clicked? [duplicate]

I am building my website on Wordpress and I have created my custom login page.But for a post when an user comments and other nonlogged see the comment with along with a line down "Login to reply".And ...
-2
votes
1answer
25 views

Create a wordpress admin user and only let them edit and post blog posts?

Is it possible to create a WordPress admin user and only let them edit and post blog posts?
0
votes
2answers
84 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
0answers
88 views

How to create a link to a user's profile page

I've created a user list for all the customers who registered on my website. When a outside user (or guest) browse my website and want to view the profile of a specific user, they should be able to ...
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
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 ...
0
votes
1answer
44 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
116 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, ...
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 ...
0
votes
1answer
108 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" ...
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
0answers
25 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 ...
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
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
301 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
1answer
473 views

User(s) already exists show error please provide a valid username

I tried to log into WordPress today and instead of the usual wp_admin page, I got 'Welcome to the famous five minute WordPress installation process!'. It asks for a Site Title and email address, and ...
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
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
46 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.
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
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.
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
61 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
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
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 ...
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
2answers
110 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 ...
0
votes
2answers
149 views

WordPress Multisite and S2Member - How to add new users to all blogs?

We have WordPress setup to run as Multisite and are using the S2Member plugin. We are also using a modified version of the 'Multisite User Management' plugin. The Multisite User Management has a ...
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 ...