Skip to:
Content
Pages
Categories
Search
Top
Bottom

Rate members in buddypress (HOT or NOT)


  • Amid Dadgar
    Participant

    @amid11

    I have a page that will display a random member using this code:

    <?php  if ( bp_has_members( 'type=random&max=1' ) ) : ?> <br>
    <?php while ( bp_members() ) : bp_the_member(); ?> <br>
    <?php if ( bp_get_user_has_avatar()  && $bp_count_members =1) : ?> <br>
    <a href=&quot;<?php bp_member_permalink() ?>&quot;><p style=&quot;text-align:center;&quot;><?php bp_member_name(); ?></p></a><?php bp_member_avatar('type=full&width=425&height=625') ?></a><?php endif; ?> <br>
    <br>
    <?php endwhile; ?><br>
    <?php endif; ?>

    so now I’m looking for a way to let the other members to rate this user and finally I want to print out the top-rated user at the same page, I’m looking for your suggestions, I know html and css and learning PHP to but I’m not so well on PHP! BTW I want to learn that through this kind of projects.
    I use the latest version of WP and BP.
    Regards
    Amid

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rate members in buddypress (HOT or NOT)’ is closed to new replies.
Skip to toolbar