[SOLVED] CB Gallery as repository for single users only admin can upload/manage
- crealiagroup
- OFFLINE
- Posts: 145
- Thanks: 7
- Karma: 1
6 years 9 months ago - 6 years 9 months ago #295728
by crealiagroup
[SOLVED] CB Gallery as repository for single users only admin can upload/manage was created by crealiagroup
Hi, I would like to use CB Gallery as a repository for files and videos. Every single user must have it's own private area where he can see he's own videos and files. User is not allowed to upload or manage files. Only admins can upload and manage files in user profile.
Is it possible? At the moment in my tests it seems not possible. Right?
If not possibile, would you considere this as a very usefull feature in next releases?
Thanks in advance.
Is it possible? At the moment in my tests it seems not possible. Right?
If not possibile, would you considere this as a very usefull feature in next releases?
Thanks in advance.
Last edit: 6 years 9 months ago by crealiagroup. Reason: Solved
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9109
- Karma: 1434
6 years 9 months ago #295733
by krileon
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.
Replied by krileon on topic CB Gallery as repository for single users only admin can upload/manage
You can set the create access on a per gallery type. So you can set Albums, Photos, Videos, Files, etc.. to only allow a specific view access level to create albums and media. CB Gallery already provides each profile with a profile specific gallery. So once installed you'll just need to adjust the create access parameters. You can do this globally within CB Gallery > Parameters or you can just set it specifically for the profile gallery by adjusting the Gallery tab parameters.
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.
- crealiagroup
- OFFLINE
- Posts: 145
- Thanks: 7
- Karma: 1
6 years 9 months ago #295737
by crealiagroup
Replied by crealiagroup on topic CB Gallery as repository for single users only admin can upload/manage
I already setted those parameters in the plugin. I've setted that only special users can create video/files. Anyway:
1) user is still able to manage it's files even if he cannot upload, but he can erase, edit...
2) as super admin I cannot upload files in the user profile.
Something misconfigured or a bug?
1) user is still able to manage it's files even if he cannot upload, but he can erase, edit...
2) as super admin I cannot upload files in the user profile.
Something misconfigured or a bug?
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9109
- Karma: 1434
6 years 9 months ago #295766
by krileon
One way to have what you're wanting us probably a Custom HTML field combined with the CB Gallery Bot to substitute in a custom gallery since it won't have the owner set to the profile owner. This would be done as follows in a Custom HTML field.
Description:
Prepare content using CMS Content plugins: Yes
The profile owner should have no management permissions for any files uploaded to that gallery. It should also be specific to each profile the field displays on. Its parameters can be adjusted globally within CB Gallery > Parameters or inline like the following example.
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.
Replied by krileon on topic CB Gallery as repository for single users only admin can upload/manage
If they're the owner of the media then they can manage it (edit, delete, etc..). Uploads to a gallery default set the owner of the media to whomever owns the gallery. In this case it's the profile owner. You can change the owner by editing the media after upload, but there's no way to change it beforehand for the gallery tab or gallery field usages.1) user is still able to manage it's files even if he cannot upload, but he can erase, edit...
Ensure your Moderator View Access Level is set correctly within CB > Configuration > Moderation. Moderators are exempt from upload access controls.2) as super admin I cannot upload files in the user profile.
One way to have what you're wanting us probably a Custom HTML field combined with the CB Gallery Bot to substitute in a custom gallery since it won't have the owner set to the profile owner. This would be done as follows in a Custom HTML field.
Description:
Code:
[cbgallery:gallery asset="files.[user_id]" /]
The profile owner should have no management permissions for any files uploaded to that gallery. It should also be specific to each profile the field displays on. Its parameters can be adjusted globally within CB Gallery > Parameters or inline like the following example.
Code:
[cbgallery:gallery asset="files.[user_id]" folders_create="false" photos_create_access="VIEW_ACCESS_LEVEL_ID_HERE" /]
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.
- crealiagroup
- OFFLINE
- Posts: 145
- Thanks: 7
- Karma: 1
6 years 9 months ago #295768
by crealiagroup
Moderator View Access Level is setted to Special ( Author, Manager, Super Users ). But still as Super Admin I cannot even see the user tab in his profile.
Replied by crealiagroup on topic CB Gallery as repository for single users only admin can upload/manage
krileon wrote:
Ensure your Moderator View Access Level is set correctly within CB > Configuration > Moderation. Moderators are exempt from upload access controls.2) as super admin I cannot upload files in the user profile.
Moderator View Access Level is setted to Special ( Author, Manager, Super Users ). But still as Super Admin I cannot even see the user tab in his profile.
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9109
- Karma: 1434
6 years 9 months ago #295770
by krileon
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.
Replied by krileon on topic CB Gallery as repository for single users only admin can upload/manage
Then most likely the tab and or plugin are not accessible. Ensure both CB Gallery plugin and its Gallery tab are public and published. If you want the tab private then use CB Privacy and its forced privacy controls on the tab to force it to private. Private tabs using CB Privacy are accessible to the profile owner and moderators only. If still not visible then review your CB Gallery configuration carefully.Moderator View Access Level is setted to Special ( Author, Manager, Super Users ). But still as Super Admin I cannot even see the user tab in his profile.
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.
Moderators: beat, nant, krileon