Re: Member widget – show random members possible?
Howdy. Sure there is but you’ll either have to change the bp core or create another widget that is a copy of the normal Members widget. The functional change is:
Line 92 in /mu-plugins/bp-core/bp-core-widgets.php is the line:
<?php $users = BP_Core_User::get_newest_users( $options ) ?>
change that to:
<?php $users = BP_Core_User::get_random_users( $options ) ?>
Actually you’ll have to make more than that change to make your new RandomMembers widget work properly if you copy it and start editing it. It won’t be just a one line modification. You’ll be creating a whole new different widget that has to function properly. Up to you as to which path to choose.