Replies
- Geoff Beale on October 13, 2025 at 6:05 pm in reply to: [Resolved] Exclude members from the sitewide gallery #55802
Hi Brajesh,
Thank you so much for all your effort, very much appreciated!I will test it out and report back.
Regards,
Geoff - Geoff Beale on September 28, 2025 at 7:02 am in reply to: [Resolved] Exclude members from the sitewide gallery #55788
Yes the search form in the Buddypress gallery directory. It would be great to be able exclude by membership level, thanks.
- Geoff Beale on September 24, 2025 at 4:15 pm in reply to: [Resolved] Exclude members from the sitewide gallery #55782
Hi,
Thank you very much indeed, it workd perfectly! One thing I didn’t consider though, when you search the sitewide gallery Basic members galleries are still included and can be viewed. Would there be a way of omitting them?Regards,
Geoff - Geoff Beale on September 22, 2025 at 5:55 pm in reply to: [Resolved] Exclude members from the sitewide gallery #55764
Hi Brajesh,
Thank you very much for your reply.
1. We want to exclude only for the BuddyPress gallery directory.
2. We are using Paid Memberships Pro and everyone has a membership level either Basic or Silver. We want to exclude Basic members, I think they are level 1.
3. We want to exclude both galleries and media.
Be grateful for your guidance, thanks.
Regards,
Geoff Thanks very much for that Brajesh.
Made some progress on this and have managed to add a to a gallery but when I attempt to add a comment to an individual media item the gallery appears at gallery level not on the media item.
Here’s my code:
`$new_activity_id = mpp_media_record_activity( array(
‘media_id’ => $new_file_id,
‘type’ => ‘media_comment’,
‘context’ => ‘media’,
‘user_id’ => 5,
‘content’ => ‘The first imported media comment’,
) );`I would be grateful if you could point out my error, thanks.