Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
1answer
8 views

Confirm Deletion not found

I need to delete user. When go to wp-admin/users.php and click to delete, and redirect to delete page, I cannot see Confirm Deletion. How can delete user ??
0
votes
1answer
24 views

How do I enable new account notification emails (to the administrator)?

As an administrator, receiving an email when a user registers to my blog is important. How do I enable this feature?
0
votes
3answers
21 views

current user can edit user?

I want to know if it is good practice to use: if ( current_user_can( 'edit_user', $user_id ) ) { // do something } because in Wordpress documentation a did not see this capability
0
votes
1answer
9 views

How to create user groups and allow custom posts and plugin modify/access to specific group?

I am looking for plugin or is there any method/function to create user groups and give an access them to modify/access.
2
votes
0answers
17 views

How to get profile user id when uploading image via media uploader on profile page

I have a PlugIn which lets a user upload an image to a user profile in the backend. Now I want to access the user id in the uploader to change the filename of the uploaded image. On the user profile ...
0
votes
1answer
13 views

List of users with email and role

I'm looking to create a list of all the users on my wordpress site with their email and role. $blogusers = get_users(); // Array of WP_User objects. foreach ( $blogusers as $user ) { echo ...
0
votes
1answer
18 views

How create a multisite setup with “phantom” accounts and passwords?

I'm currently considering converting my college newspaper's WordPress install into a multisite installation in order to create an extra blog that I would like to take a lot of the functionality from ...
-1
votes
0answers
14 views

How to mask wordpress/wp-admin/profile.php

is there a way to mask /wordpress/wp-admin/profile.php ? Basically I'd like my subscribers not to know that they're using wordpress, any help? Thanks
0
votes
0answers
7 views

plugin or method for picture cropping of featured image

I need some advice what you guys find to be the best way, to let the user set a featured image with a specific aspect ratio. I want to guarantee that the image is filled in a div at the frontend with ...
0
votes
2answers
24 views

Change Buddypress Admin Profile Page Permalink

Does anybody know how to change the default admin profile permalink in Buddypress which is: domain.com/members/admin/ to this: domain.com/members/MyUserName/ I tried to change my name and it doesn't ...
0
votes
0answers
23 views

How to create team for users?

i trying to create team to manage all the users in more effective way in multisite. i want to create some temas like "support" "super admins" and etc... to each team we need to have option to select ...
0
votes
2answers
48 views

Modify function to only return values for the user that’s logged in

I'm trying to modify a function in a plugin so that it only returns the custom post type (venues) of the user that’s logged in (by default it displays all venues). This is my first time customizing a ...
-2
votes
0answers
8 views

How to have users upload photos and then site show most popular photo of the week?

Title says it all. How to have my users upload their own photos to the website... so then I can have a Most Photo of the week/day in the sidebar (generated by the site) ?
-1
votes
0answers
15 views

Backend enhanced user search

I'm working on a WordPress website that has user database with important user information, so this user information need to searched thoroughly. as shown in the picture above I have a custom ...
0
votes
2answers
33 views

How can I add a user through SQL?

By mistake I just ran this query: (note the extra ;) DELETE FROM wp_users; WHERE ID = 321; How can I add a user through SQL? I searched around but couldn't find a proper answer to this fairly ...
0
votes
2answers
31 views

Manage user profiles with Wordpress

I would like to create a website for a scholarship. For that, I want to create three pages for seeing all members of the scholarship: one for members of the board of trustees (people who created it) ...
0
votes
1answer
58 views

Delete all subscribers from wp_users and wp_usermeta a few thousand at a time

I have a site with 70K spam subscribers, and I don't need any of them. So I need to delete all subscribers from wp_users and each user's associated meta from wp_usermeta using a query in adminer ...
5
votes
0answers
110 views

WP_User_Query and non-unique usermeta data

We have an issue with a WP plugin that we wrote and maintain - Export User Data A user has reported an issue that non-unique user meta data records are not being returned correctly - here In the ...
1
vote
0answers
18 views

Allow guests to use WP Customizer but disable save button

I've seen in some WP demo themes that developers let users to see a theme customizer (allowing to try the customizations) disabling the save button as well. So the question is how to do that in a ...
0
votes
0answers
21 views

Add button in users.php

I am creating a activated or not button in my users.php file. So far I have written the code to activate or block the user. Now I would like to start validating this by doing a post and update the ...
1
vote
1answer
22 views

Getting user roles in plugin files

I have a plugin in which I need to use the get_editable_roles() function but I keep getting a fatal error saying that the function does not exist. In my main plugin file I have this code: function ...
0
votes
1answer
27 views

BuddyPress | Check if user is in current group [closed]

I'm developing a plugin for a website, which uses the Group Extension API to create a new "subpage" in the group's page, just like Home, Members... Here's the code: class BP_Suggest extends ...
0
votes
1answer
42 views

WP_User_Query with combined meta query - not working?

I'm trying to use WP_User_Query class to list all users basing on their specific meta fields. When I use simple single-meta query, it works fine: $q = new WP_User_Query( array( 'role' => ...
0
votes
1answer
19 views

Separate Profiles for Users

I may be using the word - 'Profile' wrong here, but after two hours of googling am left with zero results. So, the query is as follows - We wanted to make a site where we can invite writers to write ...
1
vote
1answer
46 views

Query wp_usermeta alongside wp_users

I want to use the WordPress query functions and no external plugins for the task. Here is what I have so far: add_filter('user_search_columns', 'user_search_columns_bd' , 10, 3); function ...
0
votes
1answer
34 views

Wordpress Authentication Middleware

What I want to achieve is: For every request , if the user is not logged he / she will be redirected to the log in page. If the user is logged in then he / she can access the site. class Auth{ ...
0
votes
1answer
35 views

Admin approval for editing user profile

I was looking for a plugin but to no avail. Anyway, I'm building a custom Wordpress theme using ACF Pro (which works perfectly) and have added a lot of different custom fields for each user (like ...
0
votes
0answers
17 views

Restrict all possible back end options for users

I was looking around for the best BACK END user restriction plugin. I could not find a plugin that is capable to restrict ALL POSSIBLE AND SINGLE OPTIONS. They all allow you to restrict basic options ...
0
votes
0answers
15 views

Login user automatically between two installs

I have two wordpress installations, on domain.com and support.domain.com. I figured out how to sync the users, now I would need to find out how to sync the login state, so the users won't have to ...
0
votes
2answers
39 views

How to check if a user exists by a given id

Is there any way to check if a user id exists? I want to create a function similar to username_exists() but which returns if the id exists or not.
0
votes
1answer
22 views

Wordpress Redirect Specific User. Tired of Peter's redirect Plugin its not working

I was trying this since 2days still not a good answer. Tired of Peter's login its not working. I want to redirect a specific User (Like "John" or someone) to a specific Page. its a hidden one i want ...
0
votes
0answers
17 views

Remove all the Mysql user that do not use gmail and yahoo

i need some urgent help for my website. (wordpress) we have almost 200K user but there is almost 30K user are bot/fake that are not using gmail or yahoo email address. bot/fake user use email address ...
0
votes
1answer
20 views

How to share User Database between Two Multisite Installations + More

My situation is a bit different to the other questions/answers I have read online here. Currently I have a Wordpress Multisite Installation on Server A. Server A is almost full in terms of ...
0
votes
1answer
11 views

How To Find The ID Of All Registered Users?

How can I get the IDs of user IDs, regardless of role?
0
votes
0answers
9 views

Planning to implement member homepage with custom queries, things to watch out for?

I'm planning to develop a custom user portal which will populate the member's homepage with queries based on options the user has selected. I foresee it going as so: Collect information (what ...
0
votes
1answer
23 views

When a user registers, create a page from an existing template with their username as the page name

I am wondering if something like this is possible? If so, where would I start! I'm certainly not looking for someone to explain 100% fully and give free code examples etc, only a nudge in the right ...
0
votes
1answer
57 views

admin ajax is not working for non logged in users

I know that this issue has been discussed many times, but I think I tried most of the advises. This is my code: $.post('<?php echo admin_url( 'admin-ajax.php' ) ?>', {'action': ...
0
votes
0answers
30 views

Wordpress intranet, dropbox integration

For my sports team i am building a wordpress based intranet (closed environment which requires log in) to share messages. Everyone in this system needs to have his own space for storing files such as ...
0
votes
2answers
155 views

get_current_user_id() returns 0?

I'm trying to get the currently login user's id in WordPress. I've used the following code: function users_list() { global $current_user; $current_user = wp_get_current_user(); echo 'User ...
1
vote
0answers
26 views

wordpress archive a user

Please note this question was originally created in stack overflow. I have moved it here due to recommendation. I apologize if this can be answered elsewhere. I tried searching around with no ...
0
votes
0answers
33 views

How to sort users by registration date in the admin area of the Wordpress Multisite?

Wordpress Multisite has a sortable Registered column in the list of users in the wp-admin area. This is fine, but it sorts users by user id, not by registered date. How to change this?
0
votes
0answers
20 views

Wordpress MySQL query to add multiple users with related article

What I need is to add 100 users to wordpress and each one should have one post assigned to him, like a profile page (I don't want to use the default wordpress profiles because in the feature each user ...
0
votes
1answer
20 views

Not able to call value in the core files

I am working on a theme that display profiles I build a code according to theme - that it should display only limited profiles with the role queen and king.. I manage to open all the profile now the ...
0
votes
1answer
37 views

Get User Role by ID not working

I'm using the PHP code seen at the bottom of this post to get the user's role from user ID. It works, but fails if the user role has been changed after registering. I've been looking for ages trying ...
0
votes
0answers
30 views

Getting user meta value in default user list in wp-admin (MU)

is there any way I can get value from a specified user meta in the default user list in WPMU? I am talking about the wp-admin/network/users.php list. It lists Username, Name, E-mail, Registration date ...
0
votes
1answer
36 views

How to query authors by custom taxonomy?

I have a custom taxonomy for users which is country. Is there a way to query all admins by term_id or should I get all users and check each one with a for loop? I tried this: $user_query = new ...
0
votes
2answers
58 views

Storing user submitted forms [closed]

I was wondering what's the best way to create a form which can only be seen by registered users. The main idea I'd like to achieve here is for users to log in and gain access to a page where there's ...
0
votes
1answer
32 views

How to order posts by the user_login that corresponds to a meta_value (which is a user id)?

I'm trying to create sortable column headers for a CPT list, but I'm stuck on one piece. When clicking on an "Assignee" column head, I want the list to display alphabetically by the login name of the ...
0
votes
1answer
88 views

Export Users and their Advanced Custom Fields

I've google it but i am still looking for a solution. Is there a plugin or method to export wordpress users with their advanced custom fields? I don't want to export ACFs structure but users' data.
0
votes
0answers
23 views

Create advanced/editable wordpress profile page on the frontend

I'm spending days and days traying to code a frontend user profile page where logged-in users can edit their data, but seems there is no right way to do that. Nobody on web seems to explain a secure ...