0
votes
1answer
40 views

Underscores and capitalization in usernames

I created a WordPress / BuddyPress / bbPress site that is used in conjunction with a PC game. When users register for the site, they are asked to enter their account name as it is in-game. The problem ...
2
votes
1answer
56 views

there's a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?

I need to count how many times a file in a particular sub-directory is downloaded and track who downloaded it. I'm using a Php file to do it, it isn't a WP file but I need to include WP to get the ...
0
votes
1answer
51 views

Adapting a php array to WordPress

The guys over at the other Stackoverflow said I should post this here. I've been reading and tweaking code for three days and can't figure this out, because I'm new to php. The developer that wrote ...
0
votes
1answer
48 views

subscriber can edit and delete their comments while logged on [on hold]

I want subscribers can edit and delete their own comments on the post of my site anytime while logged on only. Can anybody please explain me how to do it. I used the Editable comments plugin, it does ...
1
vote
0answers
96 views

How to track a users progress through pages by inserting data into Wordpress Database?

My website users can learn British Sign Language through Video Tuts, Quizzes and games etc. I would like to track the users progress through the pages of the course and add that data to a Wordpress ...
1
vote
1answer
105 views

Best practice for show data to one specific user?

I'm attempting to build a locked page on wordpress (through a plugin) that shows differant data, depending on who signs-in. Essentially it has three screens, as follows: If you sign-in as the admin ...
0
votes
2answers
46 views

Let users register weight each day and save it in DB

I need a way that lets my users register they're weight (kg) and maybe % of bodyfat and save that information on each user in the DB. Then i need a way to output that number again on the logged in ...
2
votes
1answer
371 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 ...
1
vote
1answer
188 views

Showing user ID on user main page from screen options

On the user main page in the screen options, you have some choices for displaying user information e.g.. e-mail, role, posts etc.. Is there a way to be able to display the user's unique ID?
1
vote
1answer
218 views

User's total comment count excluding comments on their own posts

I'm currently working on a plugin that I hinted at here and so far I have managed to code everything, only missing one piece of the puzzle. This is how I get the total comment count for the ...
0
votes
1answer
81 views

How to list users like an archive page 10 users on page and have navigations

How can i list registered users like an archive page? and how can i make a link on user name to point to user profile page? Please see the link http://postimg.org/image/9wkp6kfib/ <?php /* ...
0
votes
1answer
56 views

How to show a users bio on a page

I'm fairly new to Wordpress. I have users that create profiles on my site and one of the sections is their bio. How can I take this information and display it on lets say a "users profile page". ...
0
votes
1answer
177 views

Display a list of users with avatar filterable with alphabets

I'm trying to create a page which should display a list of users with the role "Author" only and exclude all other default and custom roles. I also want them to be filterable by alphabets, so if I ...
2
votes
1answer
236 views

Getting the Current User

I am trying to use information about the current user in a plugin that I am designing and I have seen people go about it in several different ways. My Way This way seems to work, but am I missing ...
0
votes
1answer
95 views

How can I call a specific file (via php) by referencing the logged-in username?

I want to setup a page that will display different content for each registered user of my site who falls within a specially-created user role ('map_user'). So, for example, if a site user who is in ...
2
votes
1answer
594 views

Display user's total comment count outside The Loop

How do I display a user's total comment count outside The Loop? I use this code to display comment count inside the loop: <?php global $wpdb; $user_id = $post->post_author; ...
2
votes
1answer
62 views

automated tests as a user?

I checked out (with svn) the code for Automated Testing. However, I want to run unit tests as a specific user. Is there a way to do that? That is, is there a way to loggin with php code alone?
0
votes
1answer
200 views

Use of antispambot with $curauth->email

This is probably pretty simple, but... I want to use the WP function antispambot not on get_the_author_email but on a value in a field I added to User Profile called publicemail. Everything I've ...
3
votes
2answers
2k views

How do I create a WP user outside of Wordpress and auto login?

I've built a directory of members on a non-WP site (using php and mysql). Each member can log in and update their details using a username and password. I want to be able to get this to automatically ...
0
votes
1answer
642 views

Uses for function: wp_update_user

my theme currently uses the wp_update_user function to update a set of user metas. I created to some new user meta fields that I would like to include in the existing wp_update_user. The function ...
0
votes
1answer
316 views

“operation successful” message

i'm writing some custom wordpress pages, and i want that after an action where the user has addess an item to a list (after the user press the submit button and the page reloads showing the updated ...
1
vote
1answer
477 views

User management system similar to wordpress one?

I am in very big need of a user management system just like the one that wordpress uses but without being blog related. I need to be able to manage users and apply certain privileges depending on user ...
0
votes
1answer
637 views

Add extra field to users

I have this code that adds the check box to the 'Edit User' page but when i check it, and refresh the page, the box becomes unchecked... what is wrong? add_action( 'show_user_profile', ...
0
votes
1answer
170 views

Display additional user fields

A theme is in development that echo's fields from the users account on their themed account page. This is the standard format. <?php echo $current_user->user_lastname;?> Thats all well ...
0
votes
1answer
621 views

How do you create two separate Register pages?

I am looking for a way to make two separate register pages. One will automatically assign users up as a subscriber, while the other will sign them up as a contributor. The only thing I have thought ...