Hiding/removing "Wall Posts"-album


#1

Hi everybody :slight_smile:

I can see there’s already some questions about this, but none of them really answers my question.

Is there any way to either remove or hide the “Wall Posts”-album? I’m making a dating/community-site with users and I really have no need of a global album. I just want the users to make their own albums and use them.

I would be fine with just hiding it with CSS if that’s the only solution, but I guess it would be better to remove it completely.

If that isn’t possible, can you change it to a not-global album and rename it?

Thank you! Henrik :slight_smile:

Ps. I’m using a theme with buddypress installed.


#2

Hello @Hejms,

The Wall Posts is considered as default album to upload photos. If a user wants to upload photos in any other album ( personal album ) then he can select one while uploading media from media gallery.

Is there any way to either remove or hide the “Wall Posts”-album?

There is not any option to remove this album because it is the default parent album where all media will be uploaded if the user is not having any personal album. How are you planning to manage media uploaded through BuddyPress activity posts, once you hide the Wall Posts album?

We look forward to your reply. Thanks.


#3

Hello @pranalipatel.

Okay it’s fine that you can’t remove it, but is there a way to hide it with CSS then? :slight_smile:

Well, I wouldn’t really have a need to manage my users pictures? :slight_smile: My users have their own profile with their own pictures, so there’s no need for them to have a “Wall posts”-album where you can see pictures from other peoples wall.

If it isn’t possible to hide it, can you then rename it and make it non-global? It looks very weird to have an album in the wrong language :slight_smile: (It’s a danish website)

I hope you can help. :slight_smile:

Thanks Henrik/Hejms


#4

Hello @Hejms,

Okay it’s fine that you can’t remove it, but is there a way to hide it with CSS then? :slight_smile:

This is not the proper way and hence we do not advise to do the same but if you want to hide the Wall Posts album anyhow then you can override the rtMedia album template under your child theme and add related custom code.

Here, is the sample code you can use into your custom template - https://gist.github.com/pranali333/817bd38dccf4915d09a0aad4e72b689d

It will add a class hide when it finds the Wall Posts album. Note: Media uploaded without selecting the personal album will be stored to Wall Posts and you hid it so it won’t get displayed under profile.

Here is the document which can help you with template overriding - https://rtmedia.io/docs/developers/themes/templating-system/

If it isn’t possible to hide it, can you then rename it and make it non-global?

Yes, it is possible to rename the default album. We have an add-on available which allows create and modify multiple default albums for rtMedia uploads. It is having admin settings using which you can easily update existing default album names.

Please visit the product page here - https://rtmedia.io/products/rtmedia-default-albums/

Here is the documentation link - https://rtmedia.io/docs/addons/default-albums/

I hope it helps you. Thank you.


#5