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

learn more… | top users | synonyms (1)

1
vote
2answers
232 views

Adding tags and inputs to a user's profile

I'm adding a number of items to the user profiles using this method in my functions.php function modify_contact_methods($profile_fields) { // Add new fields $profile_fields['twitter'] = ...
0
votes
1answer
158 views

Validate user meta and redirect

I wanted to add some extra fields to obtain extra user info which I have added easily that looks like. The example code for a single form field, I added: add_action( 'show_user_profile', ...
0
votes
1answer
114 views

import (migration) user database to wp-users

I am having hard time for importing to user-meta and post-meta from my non-wp-tables. I am trying to do db migration from user table and post table to WordPress tables. So it might be user table ...
2
votes
1answer
975 views

Delete option value from array using update_option()

I have a user profile field which subscribes the user to forum posts by email. This adds the user's email address to an array in wp-options. Naturally I want the user to be able to unsubscribe, in ...
0
votes
1answer
12 views

Personalized Author Area

I have most of a site together that is set up to allow people to register as authors and post stories. I had originally suggested we use a form and have the client create the post, since he also ...
0
votes
1answer
42 views

How to list users by custom field?

I have a custom user field in the standard database, called company. I want to output on to a page the usermeta info only of users whose company matches Widgets Inc ... How do I do that? What I'd ...
0
votes
1answer
46 views

Retrieve New user's ID

I'm trying to retrieve the user id of a new user as soon as they're created. I tried using the hook "user_register" but there appears to be no id in there...maybe it grabs the data before a userID is ...
1
vote
2answers
237 views

Split Blog Into Two Sections?

Alright, so this is my vision for a website I am currently looking to relaunch... As of right now, my site's blog consists of posts in the form of products linking to Amazon via WP Zon Builder ...
0
votes
0answers
37 views

Store members in custom taxonomy or native user?

I've just started Wordpress-programming a few days ago, but I've been programming php 5-6 years. I've been writing some code -added custom taxonomies, custom post-types/fields etc. Now I want to be ...
0
votes
2answers
62 views

Add a column before username in the users profile table

I want to reorder the Company column to be the first column in the table, the code is working fine but it's position is the last one. How can I get it to be in the first before the username? function ...
1
vote
1answer
129 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
548 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
39 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
28 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
1answer
125 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 ...
1
vote
0answers
252 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
96 views

Delete user after Contact Form 7 submission [closed]

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
34 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
25 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
100 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
64 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
109 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
93 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 ...
1
vote
3answers
2k 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'] */ ...
4
votes
1answer
528 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
425 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
345 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
425 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 ...
1
vote
2answers
257 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
168 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
74 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
51 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
1answer
121 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 ...
1
vote
1answer
226 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
141 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
193 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
67 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
245 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
51 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
309 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
666 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
3k 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
365 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
54 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
355 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
1k 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
30 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
342 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
246 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 ...
-1
votes
2answers
901 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 ...