How to display offline user?
-
How to display offline user while I’m able to display online user.
As online user I’m using
<?php if (bp_has_members('user_id=0&type=online&per_page=' . $instance['max_members'] . '&max=' . $instance['max_members'] . '&populate_extras=1')) : ?>
but when I change the
bp_has_members('user_id=0&type=offline&per_page='
it will list all the user in my buddypress.And now I would to split the online and offline user as two section.
- The topic ‘How to display offline user?’ is closed to new replies.