trinic Posted January 30, 2013 Share Posted January 30, 2013 I've created a list of members using $users, I would like to be able to click on the user and open a profile type page. Is there a page that already contains this information that I can just pass the user id number to? Link to comment Share on other sites More sharing options...
Khan Posted January 30, 2013 Share Posted January 30, 2013 http://modules.processwire.com/modules/frontend-user-profile/ Link to comment Share on other sites More sharing options...
trinic Posted January 31, 2013 Author Share Posted January 31, 2013 I'm needing more of a userlist, click on a members name, and show their profile page Link to comment Share on other sites More sharing options...
trinic Posted January 31, 2013 Author Share Posted January 31, 2013 similar to what happens when you hover over a forum members name on here. Link to comment Share on other sites More sharing options...
ryan Posted February 1, 2013 Share Posted February 1, 2013 There isn't a page like this that exists in the system unless you are an admin and can view user accounts in Access > Users. However, you certainly could create a template on your front-end that does something similar. You can iterate all users by: foreach($users as $user) { // ... } You can retrieve any user by: $u = $users->get(123); // user ID; or... $u = $users->get('ryan'); // user name Here is the $user API which shows you what you can do once you've located the user you want to display. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now