Rate members in buddypress (HOT or NOT)
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="<?php bp_member_permalink() ?>"><p style="text-align:center;"><?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.
- The topic ‘Rate members in buddypress (HOT or NOT)’ is closed to new replies.