The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
54 views

Followers for WordPress [duplicate]

I'm seeking a system for following (like used on Twitter.com) with the following parameters, or close to them, and I'm curious if anybody has a solution. I would like to avoid BuddyPress. Basic PHP ...
0
votes
2answers
160 views

How to build a fool proof AdSense revenue sharing model?

I have 5 author levels in my WordPress site. Levels are calculated using points - level 1 - level 2 - level 3 - level 4 - level 5 Authors getting impressions based on author levels like this. ...
5
votes
1answer
53 views

Get the name of user who updated post

Does anyone know how to get the name of the user who last updated a post/page please? (Not the post author). I can see that it is visible in the post/page revisions but don't know how to access it. ...
1
vote
0answers
84 views

How to add a filter based on custom field to admin user list [duplicate]

I have added a column to the user list using two wordpress hooks: manage_users_columns and manage_users_custom_column. That's working fine. Now I would like to filter the user list based on a custom ...
2
votes
1answer
90 views

Custom user profile URLs

I have created a page "profile" that when visited with get variable of user id like: http://example.com/profile/?uid=1 Then it will display the profile details of user id 1. Now I want to rewrite … ...
1
vote
1answer
123 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
84 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 ...
0
votes
2answers
21 views

how can I query all wordpress users of a blog

How can I loop through all Wordpress users in a blog, and sort them in ascending order by their usernames?
1
vote
1answer
316 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 ...
3
votes
1answer
264 views

How to use same email for multiple users

I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin "Allow Multiple Accounts" which doesn't work properly. I should figure ...
0
votes
2answers
24 views

How to create functions that affect only a specific user

I am customizing the WP admin area and want the functions I am using to only affect a specific user. Any Ideas on how to write this?
6
votes
2answers
114 views

alphabetically order role drop-down selection in dashboard

The site I'm working on will have a very large number of unique user roles via a members plugin. Because of that, I'd like to have the Role drop-down selection on the Add New User page to display ...
0
votes
1answer
113 views

Check if specific username is logged in

How can you check if specific username is logged in?
3
votes
1answer
117 views

Show Biographical Info while creating new user

Is it possible to show the Biographical Info textfield while creating a new user? I know it's possible to add user bio by editing a user AFTER it has been created. But I would like to do this while ...
0
votes
2answers
83 views

What is the proper way to get logged in user id in a plugin?

I need to get logged in user id inside my plugin. Is this the proper way? $root = dirname(dirname(dirname(dirname(__FILE__)))); if (file_exists($root.'/wp-load.php')) { ...
0
votes
1answer
68 views

get random users each time based on the meta key

I have many users on my website, out of some has status "elite". I am saving this status in meta key/value for each user ('meta_key' => 'elite_member', 'meta_value' => '1'). I want to display ...
0
votes
0answers
90 views

Retrieving posts connected to a user [closed]

Using the Post-to-Posts plugin, I’m trying to display all the posts connected to the user on the buddypress member profile. The custom post-type is named, “badges.” The loop shows all of the ...
0
votes
3answers
130 views

Remove the deleted user comment

Problem I have a user based site, so when user deletes his profile somehow his/her comments stay visible. There is no name and blank avatar with the comment. Is there any way to delete the comments ...
2
votes
2answers
139 views

Custom style on profile options page

is there any way to style the profile page on wordpress ? I will like to add something like: Start of the page just below the <h2> tag <div id="normal-sortables" class="meta-box-sortables ...
0
votes
1answer
152 views

Redirect based on log-in status per JavaScript

I want to check if a user is logged in. If he is, I want to redirect him to page A, and if he isn’t to page B. The redirect should happen per JavaScript after a button has been clicked – so I need ...
1
vote
2answers
84 views

Is it possible to get the currently logged in admin's IP?

Given a wordpress (3.4.x) install that only has 1 admin, how would I grab, from within a plugin, the IP of the currently logged in admin, if there is an admin logged in? In other words: I need to ...
1
vote
2answers
67 views

Remove the deleted users avatar from list

Problem Hi everyone, I have a bit of a problem. I have a function that outputs the avatars of users that follow me . It works great, but if the user is deleted the avatars remain visible as a blank ...
-1
votes
1answer
64 views

Protect page with user-credentials? (Not just a password) [closed]

I need a specific user role to be able to login through a form on a page, and then display the page content. They shouldn't login with the wp-admin page. I just want a normal <form> on the ...
0
votes
2answers
203 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
2answers
104 views

Subscribe to author?

Basically, I want to follow the author by other WordPress users. Whenever an author posts new post subscribed users need to get notification by email. If it's not already there, I can create a plugin ...
2
votes
2answers
245 views

Creating a Front-end based User Search

I am working on a membership site which requires a front-end user search. I have been searching for an answer like a mad man, and I could really use some help! While there are several plugins that ...
0
votes
1answer
183 views

How to restrict specific post types from being read or added by specific user roles (eg. author)?

I'm not very clear how to restrict admin area post types access to specific user roles. In my case, I have some post type such as "suppliers" which I do not want to show to "authors". By default WP ...
1
vote
0answers
173 views

Wp_User_Query not sorting by meta key

I'm trying to list users sorted by a meta value. I store a score for each user in their user meta which is just a number but the loop isn't sorting. I include the score in the loop so that I can see ...
0
votes
1answer
90 views

Need to exclude users with no posts from my contributors page

I have a contributors page on my blog that I have recently started and using some code online this is working pretty well. HOWEVER I would love it to do two extra things: 1) Only list members who ...
4
votes
4answers
320 views

Replacing the Wordpress password validation

I have a custom application with thousands of users who already have a password stored. I would like to set up a self hosted wordpress site to accompany that application and to use the usernames and ...
0
votes
1answer
128 views

Using my own user table

Quite a broad question but I was wondering if it's possible to remove user management from WordPress and let it be handled by a remote database? I have an existing user table with everything I need ...
1
vote
0answers
88 views

Count user posts by type and date

I use the following code to count user posts by specific post type: function count_user_posts_by_type( $userid, $post_type ) { global $wpdb; $where = get_posts_by_author_sql( $post_type, ...
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 ...
2
votes
1answer
43 views

User fields that can be edited by administrator?

How can I add custom user fields for a user profile that an administrator can edit? I want the user to be able to see the value of the field on their profile, but I don't want them to edit it. How can ...
1
vote
0answers
111 views

Creating a page with complete user list data, integrated with plugin to extend registration data

I am using a plugin to extend the data given in the registration process (Cimy user extra fields). I now need to create a page where all users can see the registered users with their complete profiles ...
2
votes
1answer
118 views

Hide comments awaiting moderation from user who submitted the comments

This is a strange one. I host a website that is primarily for children. All posts are moderated. Users are required to enter a user name and location (State), but are not required to be registered ...
1
vote
1answer
61 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
262 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( ...
0
votes
1answer
239 views

How to obtain the user ID of the current profile being edited in WP-Admin?

Is there a way of obtaining the user ID of the profile being edited in wp-admin? I know it's in the URL if you are editing a user, EX: ./wp-admin/user-edit.php?user_id=427. Could always ...
1
vote
2answers
38 views

how to find user ids of all commenters in a post

Is there a function in wordpress that grabs all the users(user ids) who have commented on a post? I have the post id available.
6
votes
1answer
64 views

Is it safe to store a user setting you don't want the user to ever modify as a user option?

I have added some custom user options to the profile page on my site, and most are all OK for the user to modify themselves. These options live in their own section. The users have read access and ...
1
vote
1answer
78 views

Users can only view their content from the front end

There was a great answer to how users can manage their posts only from the back-end. What I am wondering, is how to allow users to only see their posts, pages, etc, which have their user id attached ...
0
votes
0answers
17 views

How can a user add more bookings to his/her account using a custom form? [closed]

As I user I want to be able to register my booking request from a custom form. I should also be able to return and book future apartment requests without having to login to the website where the name ...
1
vote
1answer
367 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?
0
votes
1answer
86 views

Echo text if field under user_meta is empty with get_users()

With get_users() I am listing users and their information. I've a custom field in the database, people_lists_class. <?php $blogusers = get_users('role=contributor&orderby=display_name'); ...
-2
votes
1answer
71 views

Shopping plugin with user groups [closed]

We need to implement different user groups on our new WP-site so every group has it's own price for every product. For example: "retail customers" and "wholesale customers". Is there an appropriate ...
0
votes
2answers
400 views

How to get the user description with get_users?

I'm using this piece of code to list users and their information. The problem I'm having is that the description isn't showing. Obviously it's because the description lays under "user_meta" and not ...
1
vote
2answers
185 views

How to export bbPress (forums, topics, replies) and all users?

I've searched a little and I could not find a straight working answer. I want to export all users and their bbPress(2.1.2) forums, topics and replies to another fresh WordPress installation? If ...
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 ...

1 2 3 4 5 10