Skip to:

Display random (or online) member avatars

  • I currently have the function members online on my BBpress forum but it only gives me member’s name with links. I’d like to be able to output the member’s avatars, or at least getting some function do display a certain set of random avatars of members with links to their profile.

    Is one of these ideas possible with some function or script? Thanks in advance.

Viewing 1 replies (of 1 total)
  • There is a direct function for your need but I can’t recall it at the moment.

    How about the following?

    <?php $avatar = bb_get_avatar( $user->ID ) ;
    echo $avatar; ?>

    I took it from the profile.php

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar