Skip to Content Skip to Menu

[SOLVED] User Access / Profile Wall / File Upload

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
9 years 3 months ago - 9 years 3 months ago #266908 by jpdenny1
Hello CB. Just a case and additional quick question for you that I would be very appreciative to get feedback on:

1. Let's say I have 2 Usergroups 'Customers' which is of the Registered family and 'Manager'.

I don't want customers to be able to view each others profiles - have avoided making lists for example, yet I reckon there must be something that does this efficiently. The thing is - I need 'Customers' to be able to view 'Managers' profiles and obviously Managers to view Managers. Working off Special View Access and Registered View Access at present.

For Profile Wall published on 'Managers' profiles only, (this tab is hidden for 'Customers') Managers can publish content BUT when a 'Customer' visits they are able to 'Write on Wall' hence (if they write something) they provide a link for other Customers to click and view their Profiles. I only want 'Customers' to be able to view the Profile Wall of 'Managers'.

Any way of sorting all of this?

2. With the New File upload field can I remove the 'Published' option of yes/no or to make them published by default. Just that it mentions visibility to the public in the tooltip, and sensitive files will be uploaded so as not to scare the 'customers'.

Kind regards,

ps. everything is updated and most recent.


Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9
Attachments:
Last edit: 9 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago - 9 years 3 months ago #266926 by krileon
Replied by krileon on topic User Access / Profile Wall / File Upload

1. Let's say I have 2 Usergroups 'Customers' which is of the Registered family and 'Manager'.

I don't want customers to be able to view each others profiles - have avoided making lists for example, yet I reckon there must be something that does this efficiently. The thing is - I need 'Customers' to be able to view 'Managers' profiles and obviously Managers to view Managers. Working off Special View Access and Registered View Access at present.

Best I can suggest is use CB Privacy and its Profile Privacy field then set its default privacy rule to View Access Level > Manager. Privacy controls always allow access to self so they'd be able to access their profile in addition to your managers. Next ensure the field is on a tab they can't access. This should give you the desired results. Aside from that you could try a Redirect action on the after profile display trigger in CB Auto Actions combined with the Access parameter and some conditions to redirect users away.

For Profile Wall published on 'Managers' profiles only, (this tab is hidden for 'Customers') Managers can publish content BUT when a 'Customer' visits they are able to 'Write on Wall' hence (if they write something) they provide a link for other Customers to click and view their Profiles. I only want 'Customers' to be able to view the Profile Wall of 'Managers'.

Not sure how to help you with this. CB ProfileBook and its Wall tab don't have fine grain controls of posting access.

If using CB Activity you could just set the tabs create access to Manager or use a Comment fieldtype would maybe better. Note with profile activity in CB Activity it will show up on global streams like Recent Activity, which is why a Comment fieldtype maybe best.

2. With the New File upload field can I remove the 'Published' option of yes/no or to make them published by default. Just that it mentions visibility to the public in the tooltip, and sensitive files will be uploaded so as not to scare the 'customers'.

No, it's not possible to disable the display of the published field without turning on moderator approval or modifying the CB Gallery template files. Profile owner and moderators can access unpublished entries so for sharing files from moderator to a user it may even be better to just leave them unpublished.


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.
Last edit: 9 years 3 months ago by krileon.

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

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
9 years 3 months ago #266942 by jpdenny1
Replied by jpdenny1 on topic User Access / Profile Wall / File Upload
Thanks Kyle, super. I set the CB Privacy to connections only and I already have auto connections with managers, admins etc through Auto Actions - so that works well and solves the second part re: Profile Wall. I might look at putting something else there though to stop the possibility of user posts, or leave it, things change regularly and it does add the interaction - not using CB Activity for this site, just the module for Admin purposes. Was expecting the CB Privacy would come in handy at some point for my use, neglected and not use to it so appreciate the tip off.

About 2.

Possible misunderstanding:

Basically it's the tooltip's words that are far from ideal. As you may have gathered most things are private on my site. The function is to upload a file (document), it gets listed - that's it (no need for published field and yes/no particularly with info tooltip).

The root: can I change the tooltips words or alternatively possibly better - can I take the Published field which has option: yes/no out of it and make everything 'yes'?

Thanks again

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago - 9 years 3 months ago #266944 by krileon
Replied by krileon on topic User Access / Profile Wall / File Upload
Ah, yes you can change the tooltip as it's a language string. If you download the English language plugin from the below location you'll see cbgallery language files in the cbplugin folder.

forge.joomlapolis.com/projects/lan-cb-en/files

No, it's not possible to disable the published input entirely without modify the template files of CB Gallery, which can be found at the below location.

components/com_comprofiler/plugin/user/plug_cbgallery/templates/default/

You maybe able to also just use CSS to hide it as it defaults to Yes.


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.
Last edit: 9 years 3 months ago by krileon.

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

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
9 years 3 months ago #266950 by jpdenny1
Replied by jpdenny1 on topic User Access / Profile Wall / File Upload
Thanks very much.

:-)

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9

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

Moderators: beatnantkrileon
Powered by Kunena Forum