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

learn more… | top users | synonyms (1)

0
votes
0answers
12 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
17 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
4 views

Need help creating Multi-steps registration

Hi guys I'm using buddypress's Xprofile feature to add more fields to the registartion form , what I want is to make it a multisteps registration where in the first page a user can only enter his name ...
0
votes
1answer
21 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
26 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
17 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
7 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
14 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 ...
0
votes
1answer
13 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
1answer
36 views

Deleting unactivated BuddyPress signups

On a BuddyPress site there are a lot of signups with non existent email addresses. I got a list of bounced addresses from my mail log and used the following code to delete them. foreach( $emails as ...
1
vote
2answers
36 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
16 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 ...
0
votes
0answers
14 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
0answers
17 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
0
votes
0answers
28 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 ...
1
vote
1answer
27 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 ...
3
votes
1answer
41 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 ...
0
votes
1answer
20 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
14 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
0answers
30 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
20 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
1answer
23 views

Using a custom field value as current users name

I'd like to use conditional logic to show a part of the single post page to a specific user. However the problem is Im pulling that username in from a custom field. Below is what I have so far. ...
0
votes
1answer
26 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
8 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', ...
0
votes
0answers
8 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
33 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 ...
0
votes
0answers
20 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
3answers
120 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
1answer
15 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
0answers
36 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
30 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 ...
0
votes
1answer
26 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 ...
1
vote
2answers
23 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
12 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
32 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
14 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 ...
0
votes
2answers
27 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 ...
1
vote
1answer
22 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
0answers
24 views

How to let users sort list of categories?

In my homepage, I have listed all of categories, under which their posts, are listed like this: Category 1 post 1 post 2 post 3 Category 2 post 4 post 5 post 6 ...
0
votes
0answers
24 views

Wordpress multiple forms

I have a question on how to approach the following situation. When you have a website like: www.green.com/page1 www.green.com/page2 www.green.com/page3 www.green.com/page4 With on every page a ...
0
votes
0answers
28 views

Missing tabs in my dashboard

I am a newbie to wordpress and I am trying to create a theme from scratch. Some tabs (e.g Users, Appearance->Widgets) are missing in the dashboard. I have manually added admin user via phpmyAdmin and ...
0
votes
1answer
40 views

Underscores and capitalization in usernames

I created a WordPress / BuddyPress / bbPress site that is used in conjunction with a PC game. When users register for the site, they are asked to enter their account name as it is in-game. The problem ...
1
vote
0answers
29 views

Limit number of users a role can create

Just wondering if there is a way to limit the amount of users a specific role can create? For example, if Editors can create new accounts, I only want them to be able to create 20, and then they ...
2
votes
3answers
80 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 ...
0
votes
0answers
17 views

Change the layout of user-edit.php profile

I've got a website with over 200 users, and they all use their profiles to display up to date information on themselves and services that they offer. Is there anyway to change the layout / style of ...
0
votes
1answer
25 views

Get current user array into hyperlink

I am unsure how to take data from the user array and place some of these values into the following hyperlink. I want to replace the email address, first name and last name with the values from the ...
0
votes
0answers
17 views

Custom User Roles Added When Plugin Network Activated and not on Individual Site

I wrote a quick plugin which creates a list of custom user roles and capabilities for each user role. The user roles are checked and added if not found upon plugin activation. When I network ...
-2
votes
1answer
26 views

User submitted post

I'm sure there are plugins to do this but I wanted to try and do it myself. I have a form that contains a title and a content/message area. I would like to add this form as a post when fill it in. ...
0
votes
0answers
48 views

wp_ajax_$action works always, wp_ajax_nopriv_$action never works

I used to know that when we use Ajax API we use 2 action hooks to handle the ajax, wp_ajax_$action (Logged in users) and wp_ajax_nopriv_$action (Non-logged in users), But in my case, the latter one ...
0
votes
1answer
52 views

Add field to user meta table in database when link is clicked

I am working on function that enables registered users on my site to bookmark posts. I have searched for plugins but none seemed to do the job properly. I have a page where users can see their info ...