Replies
Yes the search form in the Buddypress gallery directory. It would be great to be able exclude by membership level, thanks.
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,
GeoffHi 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,
GeoffThanks 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.