Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 12 years ago

#4155 closed defect (bug) (no action required)

bp_has_members filter type=online is not working

Reported by: hridaya Owned by: HRidaya
Priority: normal Milestone:
Component: Members Version: 1.7
Severity: normal Keywords:
Cc: solhuebner

Description

i am going to show the online members list by filtering
if ( bp_has_members( ‘type=online&per_page=30′) ){

}

its all working on my dev server and localhost type=online but when i moved to live the type=online is not working any more whether all other options :: active, newest, popular, alphabetical, random works only ‘online’ options is not working .
What may be the cause can you please share idea if you have any.

Change History (5)

#1 @DJPaul
14 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

I've just tested, and this works. There is a forum post from the reporter at http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/bp_has_members-filter-typeonline-is-not-working/.

If you can share some more of your template on your forum topics, we'll work with you to figure it out. It doesn't appear to be a bug in BuddyPress.

#2 @hridaya
14 years ago

please look on the forum post i have added my templates codes over there. Yes i know its but the buddypress bug as its working on the dev server and my locashost

Version 1, edited 14 years ago by hridaya (previous) (next) (diff)

#3 @GencHaritaci
13 years ago

  • Component CoreMembers
  • Resolution invalid
  • Status closedreopened
  • Version 1.5.11.7

I have smilar problem,

I use code below to show popular members but its working at localhost and not working on server. All other filters (ramdom, active, newest, online, etc..) working but "popular" filter not working except for localhost.

<?php if (bp_has_members('type=popular&max=8')) : ?>			
			<?php while (bp_members()) : bp_the_member(); ?>						
				<a href="<?php bp_member_permalink() ?>" class="front-member-item"><?php bp_member_avatar('type=full&width=60&height=60') ?></a>
			<?php endwhile; ?>
<?php endif; ?>

#4 @solhuebner
13 years ago

  • Cc solhuebner added

#5 @boonebgorges
12 years ago

  • Resolutioninvalid
  • Status reopenedclosed

Closing due to lack of activity. GencHaritaci, if you are still having problems with the 'popular' filter, consider opening a new ticket with details. Thanks.

Note: See TracTickets for help on using tickets.