Skip Navigation

[Resolved] Display post of users of respective BuddyPress group

This thread is resolved. Here is a description of the problem and solution.

Problem:

I would place Views on main page of BuddyPress group to display posts of users who belong to this group.

There is possibility in BuddyPress page to place Views but how to select posts respective users of the group?

Solution:

Buddypress plugin stores "user group" in a custom database table "wp_bp_groups_groupmeta", which is not a wordpress user meta or post meta, and it is out the range of WordPress, so you can not filter the result by Buddypress "user group" in Toolset plugin

You might consider custom codes, I have searched in google, and find some related results, for example:
https://buddypress.org/support/topic/filter-users-by-groups/

Relevant Documentation:

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by antonK-2 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1911229

Tell us what you are trying to do?

I would place Views on main page of BuddyPress group to display posts of users who belong to this group.

There is possibility in BuddyPress page to place Views but how to select posts respective users of the group?

Thank you in advance!
Anton

#1911615

Hello,

There isn't such kind of built-in feature within Toolset plugins.

Buddypress plugin stores "user group" in a custom database table "wp_bp_groups_groupmeta", which is not a wordpress user meta or post meta, and it is out the range of WordPress, so you can not filter the result by Buddypress "user group" in Toolset plugin

You might consider custom codes, I have searched in google, and find some related results, for example:
hidden link

For your reference.

#1912215

got it, thanks.