For months, I’ve been wanting to use the Extended Profile data (from the userextra plugin, comments) to show a list of members on a post/page. I wanted more than just Firstname Lastname, Email, ICQ, etc. I wanted Address, City, Favorite Vegetable, whatever. After finding this code and then this bit of PHP to pull the data, I got it! This will be a huge help for member sites to show the members and some of their info (can hide this page to non-members, of course). Also, the email listed is encoded, so at least some spammers won’t get it. Now, onto formatting …
Update: I’ve combined a few plugins (Author Profile, UserExtra) so that a user site can have a Roster page (a list of members (e.g. Editors, Subscribers, etc.). Here’s a video showing the user how they can update their information.
Here’s the “members-1.php” file I’m using to show the fields. I use a page template so the PHP doesn’t get messed up with WYSIWYG editors. It’s zipped:
[…] Extended Profile Help Video Explore posts in the same categories: Help […]
I have been reviewing your extended profile video tutorials, and will be to implement them for a members only website.
Can this information in the extended profile be used for mailing lists and such? If so, can you briefly describe how and/or where I can find additional information.
does this work with WP 2.2? I installed those userextra plugin’s but i’m not getting the userextra links in my profile.
depp4u: I don’t know if they can be used for a mailing list. Maybe if it was a WP mailing list (e.g. ShiftThis) where you could call certain fields from table entries (SQL), but I don’t know from experience.
fred: I haven’t tried it with 2.2, but also, the userextra links don’t show up directly in the profile, but as another sub-tab while in your profile and/or under Manage. I hope that helps.
thanks. I’ve been scouring for days trying to figure this thing out and find a one stop solution. Yours seems to be the only one out there. It’s taking me forever to get to each step. So far…
1) installed and ran userextra & usermeta plugins. Got them to work and added extra fields. http://log.squish.net/2006/02/05/userextra-goes-wp20/
2) Installed the “get author” plugin. http://guff.szub.net/source/get-author-profile.php
3) Uploaded “author.php” to my themes directory. http://guff.szub.net/source/page-authors-2.0.php
(renamed to author.php)
4) Now I can create a page with the author.php template (leaving the entry blank). And it lists my users.
5)… I cannot display the custom fields I created with userextra. I’ve watched your tutorial.
I’ve tried to copy and paste the contents of author.php directly into the entry field but the php does not execute correctly. I did not use the wysiwyg editor.
am i missing a step? I’ve tried to do this piecing together everything I’ve found on this topic.
fred: I uploaded the “members-1.php” file (zipped) and it’s now attached to the post above.
I’m using that as a page template so that I don’t have to put PHP into a WP post/page. Maybe it works, maybe not, but this way, the PHP is “safe” (not messed up) on the file/template. I’m not a programmer, so I may not be making this clear or using the right language, but I think you may just be missing this one last piece of the puzzle.
And it IS a puzzle!
Let me know how it goes.
Hi Bradley,
I’ve seen your posts on WP regarding user fields and how to get lists of members and user fields.
Could you please help me on something? I’m trying to work it so that the user extra fields come up when the user is registering for the first time. More info here.
I’d really appreciate any advice, I’m a total newb and this should be easy enough but I can’t figure it out.
Thanks,
Arvin
Arvin: I haven’t gotten that far as to get these fields into the actual WP login screen. That’d be nice and if you figure it out, I’d love to hear how you did it. Thanks for the WP forums link.
I watched your tutorial and read up on your post both here and at wordpress support… I have the author profile plugin active and I cannot get this to work. I cannot find a member list plugin neither…
What plug-in are you using to get the “Subscribers-Only” checkbox in the Page Status?
Thanks,
—
Tim
Tim: I’m using the Edwards Subscribers Only plugin.
Great Plugin, hard to implement, a lot of PHP edition.
one thing: How can i create a IMAGE UPLOAD FIELD so the user can upload their own image profile??
http://clubtakasaki.masterbip.cl/?page_id=2
Thanks.
BANZAIII !!!
MasterBlip: I don’t know. There are a few other plugins that might combine with this one, but I haven’t figured it out yet. If you figure it out, please post it here as I’d love to know.
[…] I put together the member/user directories on a few sites (e.g. BNI Embarcadero). I recently did another tutorial (more links to code on that page) showing how to use the UserExtra forms from the user’s […]
Ok, figured out what you need to display User Photos in the directory.
Get the Add User Photo plugin at http://www.andrewferguson.net/2006/09/20/adding-user-photo-to-wordpress-user-profile/
Configure it as defined at the URL above, and then modify the members-1.php file submitted here on line 157 to the right image path:
$image_dir = ‘wp-content/images’;
And then modify header-1 to match your UserExtra fields, etc.
Ron:Thank you! I just used Andrew Ferguson’s plugin and voila! With a bit of tweaking, I’m now using it on the BNI site. I changed “user_login” to “user_nicename” so it wouldn’t have spaces in the file name and changed the directory where the images live, but that’s about it.
Thanks again so much for posting your comment here, it’s very much appreciated.
Hi,
This looks great, is it tested on an MU install ?
Mattz: I haven’t tested it on an MU install, but I’d love to hear if it does work.
Is there a way to sort the list by company instead of user_nicename?
Zach: I see on line 57 of authors.php (my file, anyway) this code:
$order = ‘user_nicename’; // set order for users table query
But of course, that’s a standard WP table entry, not like “Company” (which would be from user extra/meta. Hmm.
Maybe this post, which helped me get it sorted by last name, could help. Please let me know if you get it working, but that link there would be my first guess (I also just don’t have the time to test that out right now). Thanks for writing.
I like how you have combined these. It is something that I am wanting to do myself, however I guess I am not following how you did it and so forth. Looks like I have some studying to do!
Thanks for sharing!
I can’t seem to get the membership code (PHP) to work in a post using exec-php. I’m wondering if I’m correctly referencing my database. Any hints? That is, how do enter the correct header information?
[…] Extended Profile | Likoma (tags: wordpress identity) […]
thats indeed a nice plugin and should’ve had it installed earlier imo.
How can i create a IMAGE UPLOAD FIELD so the user can upload their own image profile??
Wholesale Electronics: I haven’t figured it out yet to let the user do it themselves. Or at least, not an EASY way that the average non-techie user could do it. I’m revamping a site I manage soon that has some fancy member/user features, so I’ll post back here if I learn something! Thanks for writing.
[…] user in WordPress and adding Extra User Data ›. · Insert an image in PHP List ›(Advanced). · Your Extended Profile (more info than Name, Email, etc.) ›. · Random Quotes › (Advanced). · Using CSS and Blockquotes ›(Advanced). · Simple Page Edit […]
[…] adding Extra User Data ›. · Insert an image in PHP List ›(Advanced). · Your Extended Profile (more info than Name, Email, etc.) ›. · Random Quotes › (Advanced). · Using CSS and Blockquotes ›(Advanced). […]
Also, the email listed is encoded, so at least some CellPhone spammers won’t get it. Now, onto formatting …
[…] Your Extended Profile (more info than Name, Email, etc.) ›. […]
[…] and adding Extra User Data ›. · Insert an image in PHP List ›(Advanced). · Your Extended Profile (more info than Name, Email, etc.) ›. · Random Quotes › (Advanced). · Using CSS and Blockquotes ›(Advanced). […]
great! I managed to create the list of members with pic also, but just wondered how to split in pages all the output, because I have over 50 members. Is there a way to show around 25 members per page with something like Page 1, Page 2..etc
thank for this great tutorial!
[…] user in WordPress and adding Extra User Data ›. · Insert an image in PHP List ›(Advanced). · Your Extended Profile (more info than Name, Email, etc.) ›. · Random Quotes › (Advanced). · Using CSS and Blockquotes ›(Advanced). · Simple Page Edit […]
[…] Extended Profile […]
[…] Extended Profile […]
You’are right, but i don’t understand
[…] Ampliación del perfil de los usuarios […]
I ran across your post today while searching to see how to do this for a BNI chapter in Raleigh, NC. I have played around with Buddypress a little. My concern is that it might be too overwhelming for the “regular” guy.
Any particular reason why you did not go with WordPress MU? Maybe it was for the same reason that I am hesitant about Buddypress. Most BNI members might not want to be troubled with creating a blog.
Do your BNI members contribute any fees to help support the web developer and associated hosting?
[…] Extended Profile […]
thank for this great tutorial!
“This looks great, is it tested on an MU install ?” I have tested, unfortunately it doesn’t work.
how can i correct this Fatal error: Call to undefined function is_user_logged_in() in /home/afrolove/public_html/bloggy/wp-content/plugins/bp-translate/includes/bp-translate-user.php on line 103
it happend when i try to add in bp tranlate plugin,
can any one help
how can i correct this Fatal error: Call to undefined function is_user_logged_in() in /home/afrolove/public_html/bloggy/wp-content/plugins/bp-translate/includes/bp-translate-user.php on line 103
it happend when i try to add in bp tranlate plugin,
can any one help
This looks great, is it tested on an MU install ?” I have tested, unfortunately it doesn’t work.
[…] fifty one electronic cigarette the shining oyster festival conjugated linoleic acid chris cooley best electronic cigarette review zanesville ohio adderall Reply With Quote + Reply to Thread « Previous […]
[…] · Your Extended Profile (more info than Name, Email, etc.) ›. · Random Quotes › (Advanced). · Using CSS and Blockquotes ›(Advanced). · Simple Page Edit in WordPress ›(Advanced). · Lost Password, Update User Info ›(Advanced). · Explanation of Categories, Posts, and Pages ›. Contact Us Contact us to discuss your needs! […]
[…] and adding Extra User Data ›. · Insert an image in PHP List ›(Advanced). · Your Extended Profile (more info than Name, Email, etc.) ›. · Random Quotes › (Advanced). · Using CSS and Blockquotes ›(Advanced). […]
Hi, I’d really appreciate any advice, I’m a total newb and this should be easy enough but I can’t figure it out.
Best Regards,