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

learn more… | top users | synonyms (1)

0
votes
0answers
41 views

Count how many posts a user has viewed

Seems this is quite a new question, as I found it nowhere. I was wondering if it is possible to count how many posts a registered user has viewed (entered) on the frontend. So basically when a user ...
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 ...
-1
votes
1answer
114 views

User agent stylesheet distorting site [closed]

I am creating my first wordpress site from its html version. My html site is quite simple and seems to be looking correct in popular browsers. You can see it now at k-gayduk.ru. In my every day life I ...
0
votes
0answers
23 views

User is not being deleted from wordpress admin dashboard

I have a wordpress blog and I'm trying to delete a certain user from my admin dashboard. But when I delete this specific user and refresh the page, he remains on the users list. The only thing that ...
1
vote
3answers
1k views

How to export bbPress (forums, topics, replies) and all users?

I've searched a little and I could not find a straight working answer. I want to export all users and their bbPress(2.1.2) forums, topics and replies to another fresh WordPress installation? If ...
0
votes
1answer
43 views

Retrieve data from post meta meta_key having '_product_fq_image' while having author_id and post type is PRODUCT

How can we retrieve data from postmeta having '_product_fq_image' while having author_id and post type is PRODUCT I have tried this $lt_content_design= get_user_meta( $user_id, 'lt_content_design', ...
0
votes
0answers
34 views

Manage edit user capabilities on user list (user.php)

I would need to disable the user edit for some users from the user's list (user.php). I thought I could use the map_meta_cap hook or user_has_cap but I'd need to know the user_id inside the loop in ...
0
votes
1answer
28 views

wp_dropdown_users() to include null value

Is there an argument for wp_dropdown_users() which would add a blank null value (no user selected)?
0
votes
1answer
37 views

Wordpress MU users - how are they organized?

WP and WP MU are a bit different, for example in users. I'm not sure that I understand user functionality correctly. Tell me please what are the differences between WP and WP MU users? For example I ...
1
vote
1answer
49 views

Linking Custom Fields to Database Records

Hey there im fairly new to wordpress and php, but have a strong programming/database background. I recently learned about custom fields and am wondering if it is at all possible to do the following ...
0
votes
0answers
11 views

Add email to wp_users but leave open for registration

Is there a way to enter an email into the wp_users datbase programatically but leave that user profile open for overwriting in case the user goes through a manually registration process?
0
votes
0answers
61 views

What do I need to do to fully integrate a custom session login into WP?

I have a very simple session login using my company's SSO. I just take their authenticated username and sign them in with no password. Right now this sits as a single page. We have 7 used WP ...
1
vote
1answer
141 views

How can I secure a WordPress blog using OpenID from a single provider?

We're about to launch an internal blog for the company I work at. Much of the blog will be available to the public, but certain posts will be for employees only. Our intranet/extranet has an OpenID ...
0
votes
2answers
156 views

Redirect authors from upload.php url to Home page in Multisite

I would like to redirect authors when they visit the URL mynetwork.com/OWNBLOG/wp-admin/upload.php to another page. How can I do that? I tried this code but i received this error : "Warning: ...
0
votes
1answer
70 views

Modify users.php query with multiple taxonomies

I've successfully created 3 taxonomies attached to the user object, using the registered_taxonomy and update_count functions of this code - ...
1
vote
2answers
64 views

Hide images from anonymous user?

I'd like to set my WordPress (self-hosted) site up so that you can only view images if you're logged in. I want it to be impossible to view the images without being authorized as a user of the site. ...
2
votes
1answer
23 views

Subscribers to posts

Consider each post to be topic of conversation, and comments a conversation. For now it is fine. I created a post type called conversation. Now I want to list all the conversations a user is in. How ...
2
votes
1answer
794 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?
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
4answers
6k views

How to check username/password without signing in the user

I'm writing a plugin that creates an API endpoint that validates username/password pairs. I'm currently using wp_signon() to check whether the username/password combo works. This works fine when the ...
0
votes
3answers
566 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
45 views

Change the functionality of wordpress users module in admin

I want to restrict wordpress admin to view all users in user list. For say, I have created custom roles (company users, employee). A company user type role can have multiple employees. I want ...
3
votes
1answer
66 views

Different back-end colour scheme for the different sites of a multisite

Is it possible to have a different back-end colour scheme selected for the different sites of a multisite? i.e. "Sunrise" for Site A and "Midnight" for Site B If it's not possible for the user to ...
1
vote
1answer
55 views

Multiple Backend Users as single Frontend User

Is there a good way to map multiple backend users to a single frontend user? Basically I want to do the following, we host a blog which is maintained by multiple persons, each as it's own ...
0
votes
1answer
58 views

User count only for role frontend vendor

i use the following code for count the authors $count_posts = wp_count_posts( 'download' ); echo 'Published eBook (' . $count_posts->publish . ')'; echo ' '; global $wpdb; ...
0
votes
0answers
34 views

Role Column Sorting

I'm trying to add sorting on Role column on user listing by desc and asc but I can get it work, it always show "No matching users were found." below are my code add_filter( ...
0
votes
1answer
209 views

WP_User_Query with more than two custom meta values

I am trying to create a custom user query based on users' metadata. I have the following query created. $users = new WP_User_Query( array( 'search' => '*' . $search_name . '*', ...
0
votes
0answers
38 views

Disallow user registration/checkout via Hotmail/Yahoo

Hope someone can help or point me in the right direction... I'm looking to disable user registration on my website for users trying to register with Hotmail and Yahoo email addresses. It would also ...
0
votes
0answers
38 views

One user per computer

I need to allow only one registered user per computer. I have searched for over one hours, but I did not find any properly solution. Actually I found no solutions at all. How could I do it? Is there ...
0
votes
3answers
131 views

User description only displayed for logged user

In my "About" page I list all WP users of the site. Then in author.php I display the description of the selected user with this code: <?php the_author_meta( 'description' );?>. Problem: this ...
0
votes
0answers
66 views

Add existing user to blog Multisite when e-mail exists

I'm trying to add an existing user to a blog if he fills in an existing email. The registration fields are set up with Gravity Forms. I've tried the following: add_filter('gform_email', ...
1
vote
3answers
1k views

importing users where password is provided as md5 + much metadata

I have a spreadsheet that was provided to me of users to import to a new site I have built. I was provided with the password in MD5 hash form. I suspect if I insert this into the password field in ...
0
votes
0answers
38 views

Multisite add existing user to site per site register

I've set up a few sites in a multisite network. On every site there are register fields: Username and E-mail. If a user registers on site A he is registered as a global user on the network. So far so ...
1
vote
4answers
162 views

Find out who deleted a page or post?

Someone moved a very important page on my website into the trash, and I do not know who did it! It was not deleted permanently so I don't need to worry, in that sense. The revisions, when I restored ...
1
vote
1answer
460 views

Add More Fields to Users Pages (Admin Panel)

So I'm trying to create some custom fields for users. I need to give users access to a 30 day trial of some software and I want to keep track of that in the users page of administration panel. If the ...
0
votes
0answers
78 views

Unable to set user role via edit_user_profile_update action hook

I've added the following action hook to edit_user_profile_update: add_action( 'edit_user_profile_update', 'set_user_role' ); function set_user_role( $user_id ) { if ( !current_user_can( ...
0
votes
1answer
23 views

user login and its profile

i want login, logout and view profile functionality. i am currently able to login the user and redirect them to home page of website. i want to show loggedin users name on menu and a logout link. for ...
0
votes
1answer
40 views

logged_in user outside of wordpress loop

I have a member site which maintains a collection of books. I want to have a page on a folder outside of my loop that can see if the user is logged in to the main site, and then display the book ...
0
votes
0answers
114 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
0
votes
0answers
61 views

Member's area with private content?

To begin with, sorry for my english.. and thank you Goggle translate! :) I come to speak here because nobody knows answer me in my country. here is my problem: I created a website (in local for the ...
1
vote
2answers
26 views

Make a user administrator to a sub directory site and a contributor to main site in multisite network

I have a multisite network. The main site displays news. The sub directory sites have administrators and I call them subsite admin. If the subsite admin wants to post to the main site, I want them to ...
0
votes
1answer
31 views

Inserting current user ID into Post for Author

I am trying to insert the user id of the current user when creating a custom post type. This is my code: $my_post = array( 'post_title' => $orderRequestCode.' - ' . $customerName, ...
-1
votes
1answer
35 views

Store subscription details for users in Wordpress

I want to store subscription details of several category for users. how to store this to wp database. i am beginner to wordpress. whether i want to create new table or can i use meta ,taxonomy or ...
0
votes
1answer
58 views

Adding more fields to the add user page on dashboard

I'm working on a Wordpress site and would like to add a few extra fields to the dashboard user-new.php screen so the admin can easily add new users to the site. The fields would need to take in text ...
8
votes
8answers
12k 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 ...
1
vote
1answer
1k 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 ...
2
votes
2answers
983 views

How to programatically change username (user_login)?

As in the title, how to programatically change user's login? I wanted to use wp_inser_user function, but it appears that when updating current user, it doesn't change his/hers username. Should I use ...
1
vote
1answer
24 views

How to assign permissions for a CPT to a user

I have a list of CPT's called resources. I want each resource to be assignable to any number of users. The assignment would preferably occur by an admin, logging in, nav'ing to that users email, and ...
0
votes
2answers
28 views

Can I edit the database to change a login?

I have WP installed on a server with a couple of other things. Naturally, phpMyAdmin is installed so I can edit my databases easily. Anyway, is it possible to, using phpMyAdmin to edit a row and ...
2
votes
3answers
195 views

Use phpbb user database for Wordpress

I've got a phpbb forum and recently I've added a Wordpress website to my domain. I want my phpbb users to be able to login to my Wordpress page using the same username and password they have on my ...