CB Activity - CB Gallery - Create action modification

4 months 4 days ago #336409 by liaskas
Hello...

Is there a way to modify the CB Activity - CB Gallery - Create auto action so that it will not post the images on the activity stream?

The best on our case would be to have an activity post that mentions that...

User xxx uploaded new media file or new media files in his gallery.

so that users know that the user's gallery has changed, but not show the images.

Is this possible?

If yes what do we have to modify to make CB Activity - CB Gallery - Create work like this?

Thank you.

Please Log in to join the conversation.

4 months 4 days ago #336410 by krileon
That's not how the gallery activity displays. There's specific display code for it to parse out the media. Best I can suggest is you'll need to completely insert your own custom activity by supplying a title that you're wanting to display and changing the asset to something else. Is there a reason you don't want the media displayed? What you're asking for is more of a notification than an activity entry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

4 months 4 days ago #336411 by liaskas
Thank you for your reply Krileon.

This is an adult oriented community with a huge number of users. Not everyone understands that posting nude or extreme images on the activity stream may bother other users that use the community in a less aggressive way, or women that do not feel comfortable with extreme nudity.

On the other hand... showing that user galleries are active and that they are updated frequently, is good for the community. This is why we need an activity entry. Not a notification.

So if a user creates or updates his gallery, an activity post is created to inform that this particular user updated his gallery, and if other users want to see the changes, they can visit the profile of the user.

Is there any chance?

Please Log in to join the conversation.

4 months 4 days ago - 4 months 4 days ago #336412 by krileon
That's actually a planned feature for 6.1.0, lol. The new post "spoiler" feature is implemented in 6.0.0 but it's only designed for posts that were reported and marked controversial. In 6.1.0 I'm going to expand it so people can flag their posts as 18+ or Spoiler manually. What it does is suppress the display of a posts contents until a button is clicked. You can actually take a look at what it looks like in my below blog post.

www.joomlapolis.com/blog/kyle/19031-cb-activity-6-0-0-beta-3

For now though maybe you could just utilize some CSS to hide the media. That would be the minimal way to go about it. It should still allow the modal window popup to work as well. Below should work.

.galleryActivity {
display: none !important;
}


You could also blur the media. The below CSS should work.

.galleryActivity {
overflow: hidden;
}

.galleryActivity > * {
filter: blur(10px);
}


Adjust the blur filter size to increase the intensity of the blur. Blurring is probably the best approach here. It lets the visitor know there's something there, but it's obscured. Clicking it will show the modal window as usual. So it requires an explicit action to see the content.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

4 months 4 days ago #336414 by liaskas
Thank you Krileon.
Bluring the media is pretty fine for us.

One question only...

After adding.galleryActivity > * {
filter: blur(10px);
}

to the css, we have a warning... "the universal selector (*) is known to be slow."

Is this something we have to worry about?

Thank you.

Please Log in to join the conversation.

4 months 4 days ago #336415 by krileon
It's selecting all immediate child nodes it's nothing to worry about. Slowness in CSS selector isn't something to worry about either so I've no idea what's even giving you that warning.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.401 seconds

Facebook Twitter LinkedIn