The users tag has no wiki summary.
0
votes
2answers
29 views
Is it possible to block subscriber users to changing its password?
I want to disable changing password option for all my subscriber users.
Is it possible by doing any code tweak or something using any plugin?
If someone has any idea or plugin knowledge to do this ...
1
vote
1answer
67 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 ...
3
votes
1answer
216 views
Pre-populate Username Field
I have a strange request, but hopefully it's doable. I want to be able to have several logos, for my clients, on my site. Depending on what logo they click it takes them to the login page with the ...
0
votes
2answers
62 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: ...
1
vote
2answers
31 views
Getting all the users who have author privilege
Can anyone tell me how to get all the users who have author privileges by querying the DB in WordPress and order them by number of posts written by them.
I use the following query to get all the ...
3
votes
1answer
319 views
Update post counts (published, draft, unattached) in admin interface
I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
3
votes
3answers
79 views
How many users can WordPress handle?
I want to design a member login site in WP but I have a doubt that is WordPress can handle more than 40000 users on same database?
I am not sure about this so I am stooping my work here. So please ...
2
votes
2answers
65 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
42 views
get_user_meta() doesn't include user email?
I simply wonder why <?php var_dump(get_user_meta(4)); ?> doesn't contain an email address of the user. Instead I have to use
get_userdata(4)->user_email; to query the email of the user.
...
0
votes
1answer
43 views
How can I change my assigned user role in WordPress 3.5.1?
My current user role is "Administrator". I'd like to change my role to "Editor" (through out database field).
I read Database_Description, but it did not help.
0
votes
1answer
21 views
Completely remove ability to create users?
I have added the code below to a plugin:
add_action( 'admin_init', 'remove_add_users_cap' );
function remove_add_users_cap() {
$role = get_role( 'administrator' );
$role->remove_cap( ...
0
votes
0answers
13 views
login on my custom website using wordpress users information,
I am working on a custom php website, that is not in wordpress, its in phpCake, this site is about to complete.
my client said, login sections should work using same users that are in his other site ...
0
votes
2answers
75 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
0answers
29 views
Roll back / Undo all changes from a deleted WordPress user
Has anybody seen a way to roll back all changes made to all posts/pages by a particular user upon user deletion?
(only if that user is the last person to make a change on that page, not interested in ...
-1
votes
1answer
44 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 ...
1
vote
1answer
106 views
Post comment as different user than logged in
When I reply to a comment in the WP backend in the "Comments" section (edit-comments.php) I can only post the reply as the logged in user.
Is it possible to select a certain user like in the "Add new ...
0
votes
0answers
25 views
Udate user's password without closing the session
I Achieved changing user password like:
if ( !empty($_POST['pass1'] ) && !empty( $_POST['pass2'] ) ) {
if ( $_POST['pass1'] == $_POST['pass2'] )
...
0
votes
4answers
7k views
How to change user`s avatar?
Is there a way o changing user's avatar without plugins? Why there's no "Avatar Upload" section in Users > Your Profile?
I can't use a plugin. Am I blind or being forced to use Gravatar? ;/
0
votes
1answer
58 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
393 views
How to add first name, last name and company name to my custom registration form
I´m trying to add first name, last name and company name to my custom registration page. The registration form almost works, but there is a problem.
So far I´ve got this code, but I cant get the ...
0
votes
0answers
22 views
user registration on all blogs or in other words one account to rule them all
I know this question is asked all across internet.
But here I want ask it differently and get the normal answer.
The thing is that everywhere people redirect to plugins such as User Managment and ...
5
votes
2answers
142 views
Is it possible to sign in with user_email in Wordpress?
is it possible to sign in with user_email instead of user_login, please ?
Thanks.
0
votes
0answers
44 views
Wordpress Forgot Password Using Invalid Keys?
I am an administrator for a Wordpress site and have been getting many, many requests on people trying to use the reset password feature to recover a lost password. The email always sends and contains ...
0
votes
0answers
27 views
How To Save User Options For Registered Users? [closed]
Thanks in advance for any help...
I have a post filtering plugin that I would like for my registered users to customize for themselves. Making it so that every time they log in, the plugin will ...
3
votes
1answer
109 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
1answer
34 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 ...
1
vote
2answers
188 views
Multiple Single Installs of Wordpress with a central user base
Im sorry that I am asking this but I have been searching for ages and for some reaseon the suggested custom user table dosn't work, it just gives me a username error.
This is the code I am taking ...
0
votes
0answers
26 views
What does global $wp_hasher check for?
What does global $wp_hasher check for By the following check?
global $wp_hasher;
if ( empty($wp_hasher)
Is it to look if the user_pass filed contains the hashed password or not?
How do I check ...
0
votes
1answer
62 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 ...
0
votes
2answers
201 views
Update user_login to change username
I'm trying to update user_login in the wp_users table, to force update a user's username to their email address on submission of a front end edit profile form.
I know WordPress forbids this via the ...
0
votes
1answer
38 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.
0
votes
3answers
49 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
0answers
201 views
How to use md5 hashed password (got from external API) to import/create user in wordpress?
I am trying to import user from WHMCS API. It sends password hashed in following format:
md5($salt.$pass)
I know the $salt. As I don't know the $pass (WHMCS sends only hash like the above format), ...
0
votes
1answer
43 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
48 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
50 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
0answers
31 views
cap_key problem when sharing users and usermeta tables with two installation
I'm following this Custom User and Usermeta Tables to share users and usermeta tables with two installation.
define('CUSTOM_USER_TABLE', 'bloga_users');
define('CUSTOM_USER_META_TABLE', ...
0
votes
0answers
21 views
Error “registration is closed” [closed]
I got this error "registration is closed" in my website, the registration is open from admin control panel... It's also open from PhpMyAdmin wp_Option.Users_Can_Register.
I am using the "goodnews" ...
5
votes
3answers
2k views
Remove Ability for Other Users to View Administrator in User List?
(Moderator's note: Original title was "Remove Admin from User Menu")
I have created a client administrator role which is essentially an Editor with ability to add/remove users. The article "Editor ...
0
votes
1answer
49 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
1answer
91 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
89 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 ...
4
votes
2answers
100 views
Set up collaborative site
I 'm setting up a site to allow multiple associations to use it. I ask your help to decide whether it's worth to consider switching to the current 'single site with many plugins' approach, whick feels ...
1
vote
1answer
70 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 ...
4
votes
4answers
1k views
Front end registration/login & publish/update 1 custom post
I want to be able to allow a user to register/login via a front end form and be able to create 1 custom post which only they will be able to edit and update via a front end form.
This will be part of ...
0
votes
1answer
71 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? ...
2
votes
3answers
149 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 ...
1
vote
2answers
2k views
Help - Why my roles are not showing? Multi-site/Network
My network is showing roles in some sites and not in others.
For some reason that I can't explain, when I add a new user, I have no role to choose from on the drop down box of a sub-site in my ...
2
votes
4answers
1k views
Allow anonymous users to post to my site for moderation
I'm in need of the ability to allow anyone (they don't have to login) to fill out a form with email and a textarea and submit it to my site. This form would be treated as a post and appear somewhere ...
3
votes
1answer
242 views
Redirect after User Activation
I am using BuddyPress 2 registration and activation for three different sites with my own registration form.
To know where the user has registered, I add the user meta key registered_from at ...


