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

learn more… | top users | synonyms (1)

1
vote
1answer
81 views

Reset Wordpress website

I have a website to demo plugins, and I want to allow users to login, but I am not sure how to reset the website once they log out. Is there a way to create a separate instance of Wordpress for each ...
0
votes
1answer
203 views

wp_insert_user not creating account correctly when ID is manually set

So, I'm trying to create a new user account with wp_insert_user based on credentials I receive from a Facebook user profile. I want the new user account ID to equal the Facebook account ID (ex: ...
0
votes
0answers
35 views

Create user from external file

I have this little script for create user from page of template i use in wordpress template page : $user_name = "usertest"; $user_pass="123456"; $user_email="myemail@domain.com"; wp_create_user( ...
0
votes
1answer
22 views

Designing a member area on my site

I am new to wordpress and I have a website I inherited and I have never even heard of wordpress. My first mini project is to create a page with my members that can then be linked to a personal page ...
0
votes
0answers
34 views

How can I let users create and share their own image galleries?

After searching on Google and this site, I found some old, outdated posts regarding this topic, so I figured I'd start a new one. How can I let users create their own public gallery and upload their ...
0
votes
1answer
24 views

Feedback instead of Comments

I would like to have a feature on my website where, instead if commenting, viewers can give feedback to posts on the following: originality Musicality Talent I would like it to be "+1" based, ...
0
votes
1answer
72 views

Get users with different roles and call function on each of them (user_meta)

First of all, I have a custom function in functions.php that gets some author information. This works on great on single posts with a single author. <?php function the_author_box() { ?> <div ...
0
votes
0answers
124 views

'pre_user_query' - Does not affect the SQL query?

I've got an action hook that is attempting to change the WP_User_Query object to display a specific user. In this code, I have two methods (include and search). Neither seem to do anything to the ...
1
vote
0answers
75 views

Featured image not working, because of custom user role?

I've got a weird issue. My post thumbnails aren't working with a custom role. Images can be uploaded, and when viewing the media uploader they show as attached to the relevant post. However, when ...
0
votes
1answer
56 views

Delete user after Contact Form 7 submission

I need to allow users to delete their accounts on the front end, but need to collect some information about their reason for leaving. I'm using Contact Form 7 to collect the info, and want to use a ...
0
votes
0answers
29 views

Multiple Users Logged In Causing Incorrect Account Returned

I have a plugin that I have written that has a front-end login and I have had reports by multiple users that state that when they login (presumably at the same time???), they see someone else's ...
0
votes
1answer
22 views

Link to Authors blog posts

I am trying to create a link in my template that allows the user to see there own blog posts the code that i am using is <li><a href="?author=<?php the_author_ID(); ...
2
votes
1answer
57 views

How to stop a user from updating the post date

I have a custom role, called "dealer". Once they have posted a new post, they cannot delete it. It's important they cannot update the date either, and I'm a little stuck on how to do this. It looks ...
2
votes
1answer
52 views

Generating User(s) with Settings API

I am trying to create a plugin that will generate users. I am pretty new to Wordpress and my PHP is ehhhh. The idea for it is for the plugin to generate multiple users when its finished. Right now ...
0
votes
1answer
57 views

Email Subscribe for Downloads in Wordpress

I have a wordpress blog. I want to allow download files for only subscribers. How can I do that ? Any help would be appreciated. Also when I get the email of user, the user must be subscriber first ...
0
votes
1answer
47 views

Changing user_login ends current session

I have a site we wanted the login username to be the user's e-mail address. The user_login column contains the e-mail address. No problem. I created a custom function so that when the user updates ...
0
votes
3answers
426 views

How to order users alphabetically by their last name?

I use the following shortcode and function to display members of some departments: add_shortcode( 'list_of_members', 'members_listing' ); /* usage: [list_of_members department = 'psychology'] */ ...
1
vote
0answers
207 views

How to use alias domain for multisite installation?

Is it possible to use alias-domain for multisite installation? I have tried domain-mapping plugin and Multi Domains plugin for WordPress, but this does not solve this problem. Example: I have ...
0
votes
1answer
124 views

Removing Wordpress Plugin Menu Item for a specific user

I want to remove certain dashboard menu times for a specific user. Now this menu consist of plugin menu items as well. One particular plugin I want to hide from the user is Contact Form 7. Here is ...
0
votes
1answer
136 views

How to set different users for different pages?

I am designing a site in which I wish to have different users (logged in) for different pages. Illustration: Suppose I have subscribers A,B,C,D,E,F and pages 1,2 and 3. I wish to have the follwing ...
0
votes
1answer
81 views

users and usermeta table

Is it mandatory for each user to have entries in usermeta table as well or it's optional? Recently, I came across a wordpress database which has thousands of users in user table however only a few of ...
0
votes
0answers
9 views

As Administrator get a list of readable posts for user = N

I want to retrieve a list of the posts that the user N can read and/or edit. It is pretty easy if the user is the current user but I want that the user A (who is administrator) get the posts of the ...
1
vote
2answers
125 views

order users with drag'n'drop?

There are many plugins out there that let you order Pages and/or Posts with drag and drop. Is there something similar to order users? Or if not, is it possible to create a plugin for that (i.e. are ...
0
votes
0answers
78 views

Let admin users edit member profiles from front end

I'm using WP User Frontend Pro, but the pro version lacks the feature of letting admins edit registered users profiles from front end. I'm building a web app using WordPress, and the administrator ...
0
votes
0answers
62 views

Limit Form Access and Require Some Fields

I have gotten a "post from frontend" php code example, and I have tested that it works for my site. But I found that it can't define only logged in user to submit post. Also the code can't display ...
0
votes
0answers
43 views

Administrator can rate user's posts

I'm trying to figure out how something like this can get done: Each user's post could get rated by administrator in backend (admin area) and he see the total points of each user in users list at ...
0
votes
0answers
226 views

Custom Registration Form with Validation

I am trying to create a custom modal registration form, but I'm experiencing difficulties with validating the form. Basically what I have managed to do was to use CSS3 to validate the fields based on ...
0
votes
1answer
61 views

Create dropdown of users in admin dashboard

I'm trying to make a list of users come up in a widget in the admin dashboard. So far i've got it showing up, but I want the list to show a custom field from the user's profile instead of the normal ...
0
votes
0answers
23 views

Wordpress delete user external archive

I try delete user from user id of this i create file external into the same folder of wordpress and put this : include("wp-blog-header.php"); wp_delete_user( 3); But all time give me problems and ...
1
vote
1answer
132 views

Wordpress comments email notification for authors

I'm admin of a question and answers website in WordPress. All users are defined like authors. I have the problem that when I approve a comment ( an answer to a question), the author receives too much ...
0
votes
1answer
83 views

Pagination for user list

I am showing all the users by using the get_user() function. But I need to paginate the results. I tried a lot, but didn't succeed. Here is the code, which doesn't work as expected: $args = array( ...
2
votes
1answer
104 views

WPMU - new users are automatically subscribed to the main blog - how to prevent that?

New users added via wpmu_signup_blog($domain, $path, $title, $user_name, $user_email); are automatically subscribed to the main blog. Can this be prevented? I only want them to be administrators of ...
0
votes
1answer
29 views

Will mass deleting WP Users then reimporting CSV with the same userid break WP?

Strange situation, but a Wordpress site i'm building has 1200 users already imported via csv, and they all have posts associated with them. I now need to add a number of extra fields to each user, but ...
1
vote
0answers
158 views

How to notify specific users when i'm posting/modifying a new post

Here's what I'm trying to do... I'm trying to send new submissions only to contractors requested. Using Role Scoper, I can select only users who can access the new submission. However, I am looking ...
0
votes
1answer
38 views

view and update form only for registered users

Requirement:- I have created a Form in wordpress, which have some fields e.g., article name, article type, upload article, author name, etc. Now i need, that only registered users can fill and ...
0
votes
0answers
99 views

Import Excel (or csv) Table with user-data as subscribers to wordpress

i have a tough problem. From an existing database with user-data I need to transfer those users as subscribers to my wordpress database. My user-profiles have various additional custom fields that I ...
2
votes
4answers
205 views

Limiting the number of users

I was wondering if there is a way to actually limit the amount of users that can register to a Wordpress site? As an example, I am wanting to create a small site that will hold information for a ...
0
votes
1answer
980 views

Allow users to create post without logging in?

I have this project that requires guests to normally write a post without requiring them to be a user. By normally, I mean they can write posts by going to the posts edit screen like a normal user ...
1
vote
1answer
156 views

How to associate more than one user to a post?

I have a website we're building with 1600 'Business Listings' which are made as custom post types. Our problem is that, while there only needs to be one 'editor' of each post/company, there are ...
0
votes
0answers
37 views

how to share register users in wordpress wtih another php site

I have two sites on two different domains. One site is a php / html / mysql and the other is WordPress site. I'd like it so that people who are registered on the first site can access the WordPress ...
0
votes
1answer
83 views

How To Disable Add new users On Subsites In Multisite?

How To Disable "Add new user" On Subsites In WordPress Multisite ?
1
vote
2answers
272 views

Get author id from url

I am trying to get the authors user_id on a page linked to by using get_author_posts_url(),. For example http://example.com/author/John%20Smith where John Smith is user_id is 23. I need to get ...
0
votes
1answer
26 views

Making WordPress available while logged into another website

A bit of a tricky one this and I'm not sure the best way to proceed or even if there is way to proceed. We have a self-hosted, secure, members-only website running off Oracle and IIS. Members sign ...
0
votes
1answer
88 views

get_comment_author_link not working properly

I have this snippet: <span><a href="<?php bloginfo('url'); ?>/writer/<?php echo get_comment_author_link(); ?>"><?php echo get_comment_author_link(); ...
0
votes
1answer
116 views

Get user ID when action row link is clicked

I have added an action row link to users.php so that when its clicked it links to a list table. To generate the data for the clicked user in my custom list table, I need to capture the user ID. I ...
0
votes
0answers
48 views

Assign published post to SUBSCRIBER

I am trying to assign a post, edited from ADMIN user to a SUBSCRIBER user. I found this code around here to be added to function.php: add_filter('wp_dropdown_users', 'MySwitchUser'); function ...
0
votes
0answers
26 views

Is there a good way to prevent users (except Admin/Network Admin) to change page template?

I'm searching for a way to prevent users to change the page templates. Unfortunately there is no such capability i can remove and the only way so far is to remove the <select id="page_template" ...
0
votes
0answers
9 views

Check user_meta_key on login [duplicate]

im trying to setup user activation on wordpress. Ive already setup 2 meta keys on user register: is_active and activation_key - here is function: add_action('user_register', ...
-1
votes
2answers
302 views

How to get current user ID in array meta_value?

Here is example: $args=array( 'meta_key' => 'Something', 'meta_value' => '',//here goes current used ID by default. 'meta_compare' => '=', ); $user_query = new ...
0
votes
0answers
45 views

How to sync 'Other Roles' across Multisite in Wordpress?

This is in continuation to the solution given at How to sync roles across Multisite?. The previous thread conveyed how to sync 'Primary Role'. Have an additional requirement of Synchronizing 'Other ...