Tagged: default gallery, docs gallery, galleries, mediapress
Hello,
Is there a hook or action I can use to automatically create a gallery for all new users for each media type with a default name? Such as My Videos, My Pictures, My Docs? I want to automatically link to these media galleries from other places in the profile to “create doc” or “add video” but I can only send them to the empty gallery page if non exists. I’d like to remove that confusion and just create a single default gallery automatically for all new accounts. Please advise.
Hi Leo,
There are multiple ways to do it.Please see an example here
https://buddydev.com/support/forums/topic/mediapress-predefined-user-galleries/page/2/#post-2474
I will suggest an enhancement though. Instead of using mpp_actions you should bind to the account activation action. That way, It will only run when new account gets activated instead of the each page load on user profile.
You may modify it as you please.
Hope that helps.
Regards
BrajeshAlso,
Here is another post you may be interested in.
https://buddydev.com/support/forums/topic/user-galleries/Regards
Brajesh
The topic ‘ [Resolved] Howto: default galleries for all new users (my videos, my docs, my pictures)?’ is closed to new replies.