The users tag has no wiki summary.
1
vote
2answers
599 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 ...
1
vote
1answer
30 views
Display the number of unseen comments on a page since the user last visit
The community is private and it has several pages /wordpress /design /etc . When users go to those pages the only thing they can do is to comment.
Now, what I am trying to do, Idk if possible, but if ...
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 ...
1
vote
1answer
266 views
How to use search_columns in WP_User_Query?
I am using WP_User_Query to search use by name, ID, email etc...
In that case I need to use search_columns field to pass ID or email of user.
What i am doing is
$my_users = new WP_User_Query(
...
1
vote
1answer
370 views
Force display name as full name
Is there a way I can force all users display names to be Firstname Lastname or alternatively change this to be the default?
1
vote
1answer
107 views
Show different badge based upon the user role
Problem
I have authors page and I need to display a different badge for Authors and Subscribers. Authors on the site have certain abilities that differ from Subscribers and I would like to display a ...
1
vote
1answer
542 views
How can I get multisite primary blog (url or path) for current user?
In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog.
I know how to determine if a ...
1
vote
1answer
291 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 ...
1
vote
2answers
979 views
How to get userid at wp_logout action hook?
I need to perform some cleanup after a user logged out, so I added a wp_logout action hook. Problem is, wp_get_current_user() already returns null if called from within the wp_logout action hook. How ...
1
vote
2answers
185 views
the blog owner multisite
In a multisite, how can I get the ID of the owner of the current blog?
I know how to get the current blogs Id using get_current_blog_id(), so given that ID, how would I fetch the ID of the owner of ...
1
vote
1answer
174 views
Users: List A to Z, for Users
I would like to create a list of all the alphabets that represent each user in my site.
Example:
A -> Link that shows list of all users whose **nickname** starting with letter "A"
B -> ...
1
vote
1answer
1k views
Add Admin User via SQL
I gave my client the admin account to his wordpress install and I forgot to add an administrator user for myself. Now, I can no longer access the admin panel because they have changed their password. ...
1
vote
1answer
454 views
How to use “offset” to paginate get_users?
Is is possible to paginate the get_users function with the "offset" parameter?
I have complete my custom query of users for my list and now I need to paginate the results into multiple pages.
Here ...
1
vote
1answer
145 views
Create post for every user?
I was wondering is there a way to create a post for every user. Sort of like a mass update that would associate certain user meta to the post created.
I would prefer running a loop script that goes ...
1
vote
4answers
1k views
Adding fields to the “Add New User” screen in the dashboard
I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info ...
1
vote
1answer
561 views
Hide update messages from non-admin users?
Is it possible to hide the update messages for any users other than the main admin?
We use WP as a CMS for clients and it's a bit annoying that a normal user has to read something like:
WordPress ...
1
vote
3answers
564 views
get_user_meta Short Profile Section
Ok so i have added a custom field into the users edit profile page where they can add a link to a url of an image they want. I am currently using this for contribitors and above but i also have a ...
1
vote
1answer
719 views
Add User meta fields, which only admin can edit
is there a way to add custom user meta fields (like the one in the profile.php which contain specific user data), but only an admin (or an other user with enough capabilities) can change them?
Maybe ...
1
vote
1answer
1k views
How to use WP default post list tables in a plugin?
I'm developping a plugin to manage a base of users and I'd like to show them in the same type of table used in other parts of the WP admin (post lists, user lists, etc.), I'd like to have the same ...
1
vote
2answers
969 views
Is it possible to add taxonomies to user profiles?
I would like to know if it's possible to add taxonomies in the user profile, without hacks.
So far I have been able to add taxonomies to custom post types and all, but now I would like to add it to ...
1
vote
1answer
64 views
Changing a username
I have had a small number of users on my blog whiching to change thier username.
I was reading that is in stored in the DB but where is it and how do I change it.
1
vote
1answer
256 views
In what part of the Wordpress core does the users table and usermeta table get joined?
I have been trying to work out just where in the massive jungle of Wordpress include classes the usermeta table is joined onto the users table and if so, how does it work?
The one confusing thing ...
1
vote
2answers
530 views
Redirecting user after updating profile?
I have been working around with adding stuff in user profile edit area. i am done with that but there is one thin i am unable to sort out.
What i am planning to do is to redirect a user to a custom ...
1
vote
1answer
131 views
Upgrade Nightmare - No Posts, Permissions Issues and Can't Create a new post
Symptoms:
Can't view ANY previous Posts, but the correct totals are listed by class - published, draft....
When creating a new post - no save or publish button
Unable to administer ANY plug-ins - ...
1
vote
1answer
194 views
Why wordpress showe “admin is editing…” whoever edits?
Wordpress warns users when two of them are editing the same article, but the warning always says "admin is editing this page". Admin is currently logged off and the message is caused by another ...
1
vote
1answer
285 views
Subscribers become Authors after Upgrade? / Mass Update of Users?
I have a site with ~30K users, and the vast majority have role 'subscriber' on the main blog. After upgrading from WPMU 2.9.2 to WordPress 3.0.1 I noticed that all 30,0000 users are appearing in the ...
1
vote
1answer
29 views
Query users by capability - uninstall/deactivate callback
The situation
Running on MU, I'm writing an open source/publically and freely available plugin. As I used add_screen_option() to allow users to easily setup the admin page to their likings, I'm left ...
1
vote
2answers
71 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.
...
1
vote
1answer
126 views
How to delete all post and attachments of a user when I delete it?
When I delete a user, WordPress can just delete the post or page of this user,
not his custom post and his attachments.
An idea for a special hook?
add_action( 'delete_user', 'my_delete_user');
...
1
vote
1answer
85 views
How to read individual user's directory and display content to that specific user?
I am creating a photo plugin for users to view their photos. The plugin works in a way that when I add a new user, a directory is created in the uploads folder inside wp-content with the user's ...
1
vote
1answer
323 views
Get user input from a form
I am trying to create a form that will allow users to update their information on the front end. I am just starting to learn PHP (I know C# very well). If I use this code to create a form on a ...
1
vote
1answer
38 views
Create a shortcode that creates a form for users to edit their information
I want to make it so that logged in users can edit their information on a page in my site, so that I can avoid having them go to the admin side all together.
I was thinking that I could create a ...
1
vote
1answer
62 views
Users disappeared from wp-admin
I have a WordPress multisite network and the question is related to one of my sites on that network. The site has a login page before you can use that site.
So I created a user from wp-admin with the ...
1
vote
1answer
110 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 ...
1
vote
1answer
45 views
How can i change the name order in the admin?
When i go to wp-admin/users.php, in the second column i can see the users full name, however, its not in the right order. In Hungary, we use a different name order: ...
1
vote
1answer
140 views
Custom Fields - Taller editing area
Don't know if this is possible, but can the custom fields be adjusted to be taller in the admin panel? It's a bit tedious to have to stretch the textbox every time you want to edit an existing field ...
1
vote
1answer
144 views
Is there a way to make custom fields only editable by administrators?
I've found the following code that places custom fields into a user's profile:
function extra_user_profile_fields( $user ) {
?>
<h3><?php _e("Roof Asset Information", "blank"); ...
1
vote
3answers
198 views
How to assign capabilities to user NOT to User Role
Is there any way to assign custom capabilities to user, I'm NOT talking about User Role.
I'm running a multi author blog where I assigned user role of "Author" to all of my authors. But I need a ...
1
vote
1answer
36 views
Is using taxonomies the way to go here or would custom post types be better?
I to create a site that will let subscribers select items from a list, say of books or DVDs - essentially building a collection that they could then add additional info, e.g. price paid, where ...
1
vote
2answers
1k views
Front-end editing with custom fields?
I use the custom field plugin http://www.advancedcustomfields.com
Is it possible to create and edit custom posts via the front end? I'd need to be able to see all the custom fields and allow those to ...
1
vote
1answer
2k views
How to create custom LOGIN and REGISTRATION forms?
I have developed a theme for Wordpress and I need to customize login and registrations form.
At the moment, as usual, the login and the registration URL are:
http://www.example.com/wp-login.php
...
1
vote
1answer
663 views
Extra User Profile Field Upload File / Image
I have been following the following tutorial to try and an upload form to the user profiles. ...
1
vote
2answers
86 views
How to use WordPress for class notes?
I've been writing my C++ class' notes directly into my WordPress editor. My professor has tasked me with codifying the notes for future use. I'm working with a classmate on this project, but I need to ...
1
vote
1answer
216 views
How to expire all wordpress user passwords instantly?
So I own an article directory website and recently a lot of bots have signed up and started posting spam. (I approve posts prior to publication)
I've added a captcha to the user registration page now ...
1
vote
2answers
511 views
Hide one admin from another admin
How can I hide one admin from another in the users list?
I want to give admin permission to another person without giving him the ability to see/edit my details.
1
vote
1answer
174 views
How-to delay the capability to publish posts?
Spam has gotten a bit crazy so it would be nice if new users have to wait a week to post something.
I use buddypress and all new members have the role of author. The site is more like a forum with ...
1
vote
1answer
184 views
Allowing logged in users to comment without moderation across a multisite installation
I currently do web admin for an internet community based on BuddyPress and Multi Site, and use the Comment author must have a previously approved comment setting to make it easier for users to comment ...
1
vote
1answer
87 views
Wordpress to use Drupal users' credentials
I have both Wordpress and Drupal installed on two domains. I want the users that register via Wordpress to be stored in Drupal's user table. Also, any login attempts should be checked against Drupal's ...
1
vote
1answer
65 views
Multiple Unique Author Profiles
I'd like to create multiple user profiles are unique, without just using a "if/then/else" php statement on the author.php template?
All I need is the ability to create two different types of profiles.
...
1
vote
1answer
414 views
wp_get_current_user always returns 0 continued
I have been busting my head trying to get the user ID with every piece of code possible but it always comes back "0". Not sure what I'm doing wrong. I started out using this:
<?php $user_info = ...

