Tagged Questions

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

learn more… | top users | synonyms (1)

2
votes
1answer
531 views

Modify custom Users Manage page

I'm trying to create a submenu page under 'Users' which is like the 'All Users' page but for listing users of specific roles only. Let's just call this submenu page 'Customer'. So far I managed to ...
0
votes
2answers
151 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: ...
2
votes
3answers
367 views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
-1
votes
1answer
274 views

Problem with update_user_meta() meta_value

I am trying to insert a large number of user in to the wordpress db using wp_insert_user(). After inserting each user, I am trying to add an user meta for each user. I am doing like this: $meta_value ...
0
votes
1answer
60 views

How to do a task only once for logged in users

I want to do a task only once after an user has visited my site. I am currently doing like this: function my_task(){ //do my tasks } add_action('init', 'my_task'); I am doing this from a ...
2
votes
2answers
265 views

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I'm looking to build out the following functionality, but I'm having trouble finding any help on it: user follows a post > user's email is pulled into an admin page and associated with said post > ...
0
votes
1answer
212 views

Display a list of users with avatar filterable with alphabets

I'm trying to create a page which should display a list of users with the role "Author" only and exclude all other default and custom roles. I also want them to be filterable by alphabets, so if I ...
0
votes
1answer
135 views

Restrict access to certain dashboard pages based on user id

I have a client who want's to be given admin access to the dashboard of the test installation of her website on my server. She hasn't paid me yet so I don't want her to be able to go into the themes ...
0
votes
2answers
2k views

Get selected value with PHP and jQuery

I have form that i'm using to update user profile from front end and i have country select. <form method="post" id="adduser" action="<?php the_permalink(); ?>"> <select id="te" ...
0
votes
2answers
327 views

Getting list of top 10 users and sort on last name

I would like to display a list of the top 10 authors based on the amount of posts that they have, and then sort them on last name. To my knowledge, this is not trivial since the last name of a user ...
1
vote
1answer
336 views

How do you disable account activation in WPMU and then log the user in right away?

Is there a way to disable account activation for WPMU then log the user in and redirect them to another page? I am running on WPMU with BuddyPress.
1
vote
4answers
819 views

How we can get the user id by its display_name

I have user display_name and with this I want to get the id of that user. So, how can I get the user id?
0
votes
1answer
61 views

How to relate the Category to user?

I am developing one new plugin, In that i had a section to create new category, and having the field Created By(listing all the users in this field). I am storing the category name in WP_terms and ...
0
votes
1answer
164 views

Navigation link to specific user page

I asked this question and got a great reply - Associate Page with User - so I can now associate a post with a specific user as required. What I want to do is include in the main site navigation a ...
2
votes
1answer
327 views

Getting the Current User

I am trying to use information about the current user in a plugin that I am designing and I have seen people go about it in several different ways. My Way This way seems to work, but am I missing ...
0
votes
1answer
162 views

Modify Profile Biographical Info Field

I've been hunting for the hook to edit the Biographical info field and it's H3 but no luck. I've found edit_user_{$field} do specific hooks exist? I'm thinking I can hook into the existing tag ...
0
votes
1answer
99 views

How can I call a specific file (via php) by referencing the logged-in username?

I want to setup a page that will display different content for each registered user of my site who falls within a specially-created user role ('map_user'). So, for example, if a site user who is in ...
0
votes
2answers
252 views

Associate Page with User

We currently have a setup where anyone can register as a user and their own 'page' gets created manually by admin. We need a menu option to be something like 'View Your Page' and direct a user to ...
0
votes
1answer
233 views

Select From wpdb - Author/User Directory page

I am working on a wordpress site where I have created a directory page(authors.php) that lists all users and certain author meta. It works fine however I am trying to figure out how to only show ...
1
vote
1answer
133 views

Memory usage for scalable usermeta queries

Problem Some time ago I posted a question about the scalability of wp_usermeta architecture: my concern, as my client's database of users is growing fast, is now the memory usage of querying the ...
2
votes
2answers
428 views

How to use hyperdb to separate and share a user dataset between wordpress installs?

I'm looking for a way to separate my users and usermeta table to be in a different database than my main WP install. The end goal is sharing these table over a number of WP installs. From what I ...
0
votes
1answer
419 views

How many people are allowed to use same wordpress account at the same time?

I can't find the answer. I don't know how many people are allowed to use SAME account at the SAME period of time in WP. Will it cause any technical issue, if the specific account is allowed to post? ...
0
votes
1answer
60 views

Is it possible to make specific posts editable by all authors?

I have a Q&A site in which people can ask experts different questions. Some questions are addressed to a specific expert so I insert the post under their authorship. However, there is also a ...
8
votes
2answers
1k views

Wordpress usermeta scaling for thousands of users

I have developed a CRM plugin for a client integrated with Wordpress user management and I stored additional information for each user under the wp_usermeta table. However, the client's customer ...
3
votes
2answers
2k views

Whats the best way to share user data across multiple Wordpress websites?

First of all, Multisite isn't what I'm looking for. I have 5 websites using Wordpress all on separate domains that I would like to enable user accounts for. I need user data to be shared across the ...
0
votes
3answers
3k views

Display edit link if post author is current user

I am creating an author.php page and listing all the posts from an author. Although admins can see the posts' edit links i want to echo the link if logged in user is the current user for example if ...
3
votes
1answer
184 views

Show content only if member left a comment

Functions Php : add_shortcode( 'membervip', 'memberviparea' ); function memberviparea( $atts, $content = null ) { if( is_user_logged_in() ) return '<p>' . $content . '</p>'; ...
0
votes
2answers
39 views

Separate Out Real Users

If I look at /wp-admin/users.php I see all the users, but some have given a bogus email and never used their password. Is there some way to see who has used their password at least once? If not, ...
1
vote
2answers
125 views

Allow public to post on blog

I need public users to be able to submit posts, then have them be approved by a moderator or admin on the dashboard. Is this possible to do? I would like it to function very similarly to comments. ...
0
votes
2answers
400 views

get USER ID in functions.php using user_register action

I am having trouble of getting the ID in user_register filter in functions.php... Here is what I got add_action( 'user_register', 'sendanotheremail' ); function sendanotheremail($user_id) { ...
0
votes
2answers
5k views

Custom user profile, registration, login page with theme

WordPress user profile page uses the administration interface, and its user registration / login page is not part of the theme. I would like to change it into the custom theme of my site customize ...
0
votes
1answer
111 views

Using get_user in wordpress with sorting

I have wp_users table which has a column ordering.I came to know that get_users() returns all the users. I am using it like get_users ('orderby=ordering') I got help form this link But unfortunately ...
0
votes
1answer
96 views

Wordpress multi user registration sites

For one of our customers we are currently creating a (mobile) news app which include the blogs of their WP multisite. We made an REST connection between the DB but are stuck at the following problem: ...
1
vote
1answer
134 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 ...
2
votes
1answer
55 views

Find out who created a certain user?

How can I find out who created / edited / deleted a certain user? I got a notification email that a new user has been created but I dont have any idea who made it.
3
votes
1answer
143 views

Can I hook into the invite user process to verify their email address is from a certain domain?

I have a site option where users can enter domains to "whitelist" registrations from. What I'd like to do is hook into the invite/create user flow to verify the new user's domain from their email ...
0
votes
1answer
599 views

Role based permission edit for plugins

I have TheThe Fly Image slider installed on my website which has multiple users. I wish to hide the settings from contributors and authors, but allow editors and admin roles to be able to amend the ...
2
votes
3answers
255 views

Is it possible to get a user with just the password field?

I tried doing something like this: $user = $wpdb->get_row(' SELECT * FROM ' . $wpdb->users . ' WHERE user_pass = "' . wp_hash_password('password') . '"' ); But the ...
0
votes
1answer
585 views

Using and saving custom dropdown boxes on user profiles

Okay, so I'm creating a website and am in need of help for some custom meta fields for user profiles. Currently I have the following in my functions.php file: //hooks add_action( ...
9
votes
3answers
518 views

Make display name unique

Right now you can make your Display Name whatever you want, you can even impersonate an admin. Is it possible to make the Display Name unique?
1
vote
2answers
813 views

How to detect first visit of a user?

I want to build an alert for users who visit my WordPress blog. Is there a conditional function like is_home() to detect if someone visits the blog the first time? I want to send the alert to every ...
0
votes
1answer
2k views

How to update BuddyPress xprofile fields programmatically? [closed]

I update user info using wp_update_user function. I also need to update the table wp_bp_xprofile_data. Is there any function, where I can update data on wp_bp_xprofile_data table?
0
votes
1answer
383 views

Displaying custom profile fields using Mingle Plugin

I am using the Mingle plugin to add some networking functionality for a website I am creating for a client. I am having Mingle handle displaying user profiles and friends, but WordPress to actually ...
0
votes
1answer
341 views

How to show a custom notification to a specific user?

I am new here, I found this spot interesting and very special. I've already found useful information through your discussions. My first question is about user management. As Admin, I would need to ...
1
vote
1answer
110 views

How to create a dashboard widget for one user

I will start by warning you that my programming skill is limited. I need to create a dashboard widget that will display in the WP dashboard for the users with the user_id=21. So far I have tried the ...
0
votes
1answer
2k views

How to use `wp_insert_user` & `wp_insert_post` simultaneously without `headers already sent` error?

I'm creating a front end posting form using wp_insert_post that asks a user for three basic fields: their first and last name and their email address. If the user is logged in I pre-populate the text ...
-1
votes
1answer
404 views

New User Registration email

I am receiving an email notification whenever a new user is added to my site. I need to change the default 'send-to' address. It is using a personal email, rather than my 'webmaster' email. Where is ...
0
votes
1answer
450 views

How can I do a url redirect to include a wordpress username?

I currently have a button like this, that takes a user to their 'mentions' page <a href="http://my.url.org/mentions/<?php global $userdata; get_currentuserinfo(); echo( $userdata->user_login ...
0
votes
1answer
1k views

show User Registration Date in Wordpress

i want to show user registration date like Member since: 15,dec 2012. I have a code <?php echo date("M Y", strtotime(get_userdata(get_current_user_id( ))->user_registered)); ?> but it show ...
0
votes
2answers
849 views

Advanced Custom Fields Plugin: how would I get an image src path uploaded from User Profile?

I have created an Image Upload field for a User Photo in the User Profile section in the wp-admin using Advanced Custom Fields. I realized ACF could do this per this post: Photo gallery on profile ...