Hello,
I believe this was a feature when BP Gallery was a thing, but can’t find mention of it in MediaPress.
I am looking to limit the number of galleries a user can create on his or her BuddyPress profile to 1 Photo Gallery and 1 Audio Gallery only.
Is this kind of functionality apart of MediaPress?
Thank you!
Hi Brian,
Thank you for posting. It is not part of MediaPress gallery but is doable. I need to write some custom code or may be a small plugin. Will post in a day or two.Thank you
BrajeshHi Brian,
I am sorry but it is a little bit delayed. I am not able to find time for it at the moment due to other priorities.Thank you
BrajeshBrajesh,
Good news.
I searched previous support threads and found these two:https://buddydev.com/support/forums/topic/limit-number-of-galleries-per-user/
https://buddydev.com/support/forums/topic/mediapress-predefined-user-galleries/With some slight modifications, I was able to get the result I wanted.
My solution in this was to auto-create the two galleries (audio and photo), and then three other functions to disable gallery creation, editing and deletion.
This is basically the same effect I was looking for (better, even, as if a user is restricted from creating more than 1 gallery per media type, why not create it for them automatically).
I will mark this as resolved, thank you again.
You must be logged in to reply to this topic.