WordPress.org

Ready to get started?Download WordPress

Forums

Display list of users and descriptions (10 posts)

  1. anela
    Member
    Posted 3 years ago #

    I was using a plugin to kinda do what I needed, but it broke with the newest version of WordPress, so ideally I'd like to do this without a plugin, to avoid this in the future.

    What I need is to display a list of all users who have something in their description/bio area of their profile, also displaying that text, of course. I also need to display the full name and email address.

    I thought I could just query the database but now that I see there are two databases that handle this information, I'm lost.

    Any help is appreciated, thanks.

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 3 years ago #

    Which plugin were you using previously? Perhaps the author is on the case and will issue a fix soon? Could it be worth shooting them an email to ask?

  3. anela
    Member
    Posted 3 years ago #

    It's called People Lists, I believe. And maybe, but originally I wanted to do it this way, anyway. Plus, with that, I had to manually drag people to the list, if I can just display fro the database anyone with a description, then I won't have to worry about doing it, it will be automatic.

  4. Cerebral ideas
    Member
    Posted 3 years ago #

    I've been looking for a way to display a list of users as well. It would be nice to be able to query their avatar, display name and description, but like Anela said, "there are two databases ... I'm lost."

    Thanks in advance to anyone that can help.

    Justin

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    there are two databases

    No there aren't. 1 WP install = 1 database. Perhaps you meant 2 tables?

  6. Cerebral ideas
    Member
    Posted 3 years ago #

    Yes, sorry. Two tables ... I just copied and pasted what Anela said. Do you have any ideas on our issue though?

  7. anela
    Member
    Posted 3 years ago #

    Yeah... Two tables. You knew what I meant. :-P

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    I've not tried it yet myself but it seems to me that you could possibly use wp_list_authors with echo=0 to grab a list of authors. Maybe strip the tags and use the resulting plain list to feed into a foreach loop that re-used some of the Author template code.

  9. Cerebral ideas
    Member
    Posted 3 years ago #

    That's exactly what I wanted to try, but I didn't want to spend hours chasing my tail if it didn't work. Since you have corroborated that thought, I may try it if what I am trying right now does not. Thanks Esmi!

    At the moment, if any is interested, I am using Justin Tadlock's method seen here (it seems to work for my situation):

    http://justintadlock.com/archives/2008/06/09/doing-more-with-gravatars-authors-template-page

    Good luck Anela.

  10. anela
    Member
    Posted 3 years ago #

    Thanks, I will look at it in a second here.
    I did think of doing a loop to put it out, but again, the two tables really just made me go uhhhhhh.

Topic Closed

This topic has been closed to new replies.

About this Topic