Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

SOLVED] Post Photo in Feed but not in Profile Gallery

  • AlexRag
  • AlexRag
  • ONLINE
  • Posts: 560
  • Thanks: 39
  • Karma: 7
1 day 17 hours ago - 3 hours 41 minutes ago #341614 by AlexRag
1. Is it possible to be able to post photos, in feeds (like inside Groups), but not allow uploading from the Gallery Tab in a profile?  If so, how?

 

2. When photos are posted in streams (such as Group Feed or Activity Feed), do they get stored in a user's Gallery, and would this appear on their profile (if the Gallery is enabled at the profile level)?

3. Where do the images, music, files, and videos get stored (does CB create a folder for each user on the server?

4. For video, did I read right in the configuration,  I can limit the video by only allowing URLS instead of uploading?

5. For files, is there a way to restrict file types to prevent malicious uploading of suspicious files?

Overall, I am just looking at ways to prevent/control CB  Gallery from potentially filling up a server with all the uploads.

Thanks!



 
Last edit: 3 hours 41 minutes ago by AlexRag.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
1 day 12 hours ago #341616 by krileon
Replied by krileon on topic Post Photo in Feed but not in Profile Gallery

1. Is it possible to be able to post photos, in feeds (like inside Groups), but not allow uploading from the Gallery Tab in a profile? If so, how?

Edit the CB Gallery parameters in your stream under Integrations > CB Gallery and explicitly turn on uploads. Next edit the CB Gallery tab in CB > Tab Management and turn off uploads. That should do the trick. In CB Gallery 3.0 activity uploads will no longer require this though and will be a completely separate stream.

2. When photos are posted in streams (such as Group Feed or Activity Feed), do they get stored in a user's Gallery, and would this appear on their profile (if the Gallery is enabled at the profile level)?

They are stored to the users gallery in a hidden profile.USER_ID.uploads asset and uploads album. They are only visible on profile to the profile owner and CB Moderators.

3. Where do the images, music, files, and videos get stored (does CB create a folder for each user on the server?

/images/comprofiler/plug_cbgallery

Each user has their own folder and they're separated by type in the user folders. Note this is all htaccess protected so none of this can be directly accessed.

4. For video, did I read right in the configuration, I can limit the video by only allowing URLS instead of uploading?

Yes.

5. For files, is there a way to restrict file types to prevent malicious uploading of suspicious files?

Don't allow extensions that can be malicious like exe. Beyond that ensure your server provides some sort of virus scanning or simply don't allow file uploading.

Overall, I am just looking at ways to prevent/control CB Gallery from potentially filling up a server with all the uploads.

That honestly is unlikely to ever happen. Storage is cheap and plentiful.


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 or Create an account to join the conversation.

  • AlexRag
  • AlexRag
  • ONLINE
  • Posts: 560
  • Thanks: 39
  • Karma: 7
1 day 6 hours ago - 16 hours 39 minutes ago #341622 by AlexRag
Replied by AlexRag on topic Post Photo in Feed but not in Profile Gallery
Thanks, Kyle. 

1. I'm having some trouble hiding the Gallery Tab as instructed.  Am I in the correct area to disable uploading to hide the Gallery Tab but still be able to have them post photos, etc, in the GJ Stream?   



The only way I seem to be able to hide the Gallery tab is to unpublish, but then the ability to post on a Stream also goes, despite having explicitly enabled uploads in the config settings.  By the way, I have left the settings in the CB Gallery plugin itself as the default (I gather this is what the "Same as Global" pulls from?)
 

 

2.  Can you let me know where I would restrict uploads based on file extension (eg, .exe)?  Update: (found it in Gallery>Configuration>Parameters>Files>Validation)


 
Last edit: 16 hours 39 minutes ago by AlexRag.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49403
  • Thanks: 8457
  • Karma: 1465
10 hours 40 minutes ago #341632 by krileon
Replied by krileon on topic Post Photo in Feed but not in Profile Gallery

1. I'm having some trouble hiding the Gallery Tab as instructed. Am I in the correct area to disable uploading to hide the Gallery Tab but still be able to have them post photos, etc, in the GJ Stream?

That would just disable uploading. If you want to completely hide the gallery tab just move it to a "not shown on profile" tab position.


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.
The following user(s) said Thank You: AlexRag

Please Log in or Create an account to join the conversation.

  • AlexRag
  • AlexRag
  • ONLINE
  • Posts: 560
  • Thanks: 39
  • Karma: 7
3 hours 41 minutes ago #341641 by AlexRag
Replied by AlexRag on topic Post Photo in Feed but not in Profile Gallery
Wonderful!   That is far easier than my workaround using the CB Privacy and forcing it to be private.   Thanks, Kykle!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum