0
votes
1answer
8 views

Display content based on a users login

I was wondering if this is possible. I created a client portal where they can see all of their work that was assigned to them (this is all being displayed on the frontend). Once they login, they are ...
0
votes
1answer
27 views

Can I protect a type of content site-wide with a single password?

I am developing a theme for a client who has a catalog of products. Each product has a spec sheet that he wants to make available to logged-in users. It's not a real security issue, just a means to ...
1
vote
1answer
91 views

How to integrate external user tables with WP?

I have about 10K+ users that I get from a company feed (LDAP). I can authenticate WP via SSO based on someone's username matching on the WP user table. I would like to take the user table I have and ...
2
votes
3answers
246 views

Is it possible to get a user with just the password field?

I tried doing something like this: $user = $wpdb->get_row(' SELECT * FROM ' . $wpdb->users . ' WHERE user_pass = "' . wp_hash_password('password') . '"' ); But the ...
0
votes
1answer
70 views

Set Default User Role

I'm using WordPress 3.3.1. When a user registers, I want to be able to set the new user to an author. How would I do this?
0
votes
1answer
896 views

WordPress Login redirection according to user role

In my application a user needs to 1stlogin and is then able to access the website. There are 3 different user roles in use on my site administrator editor contributor User can login ...
3
votes
3answers
5k views

Disallow user from editing their own profile information

I'm currently developing an intranet and I am using Justin Tadlock's Members plugin to control roles and capabilities. I have created a HR role to allow Human Resources staff to create and edit user ...
2
votes
2answers
965 views

wordpress custom login successful redirect hook

I am using a custom login form imported on my theme's home page through jqModal. In that, when i successfully login it redirects to the same page. I want to redirect based on the logged in user role. ...
0
votes
2answers
1k views

How do I redirect upon login a specific user based on role?

I'd like to force a user to a specific page upon login based on their role using if ( current_user_can('contributor') ) and the main login function function wp_loginout($redirect = '', $echo = ...
4
votes
1answer
7k views

Separate registration and login for different roles

I've set 2 new roles for my site using the "Members" plugin - "sellers" and "buyers". Each role should have its own registration page and login. A visitor can register as both a buyer and a seller ...