[SOLVED] Privacy status shown for user in his profile

3 years 4 months ago - 3 years 3 months ago #321329 by ericmuc
Hi,

Please let me ask again following:

Is it somehow possible, to show the privacy status of the own fields / tabs in the profile (not in the edit view, but profile view, only for the own profile). Is there any substitution oder code available, to add this information?

Because there is no profile public preview it would be great in my eyes, if the user sees with one view, which tabs / fields are shown to whom, without going to ajax edit or profile edit simple privacy tab.

Thanks, best regards
Eric

Please Log in to join the conversation.

3 years 4 months ago #321338 by krileon
Replied by krileon on topic Privacy status shown for user in his profile
Nope, not at this time. It will eventually be supported since CB Privacy has an ajax mode built in already for ajax changing of privacy controls. Idea is that they'll be able to just switch privacy directly in profile view. Looks like I forgot to create a feature ticket for this though. Have added it now below.

forge.joomlapolis.com/issues/8230


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: ericmuc

Please Log in to join the conversation.

3 years 4 months ago #321342 by ericmuc
Replied by ericmuc on topic Privacy status shown for user in his profile
That would be great, thanks!

Please Log in to join the conversation.

3 years 3 months ago #321580 by ericmuc
Replied by ericmuc on topic Privacy status shown for user in his profile
Hi,
In the meantime I would like to add a button in the users profile view, with following function:

1) logoff immediately (no other page with logoff button)
2) redirect to users profile page (now with the public view)

This I need for multiple languages.

Do you have an idea to reach this? Is there a link with "logoff" in the url available?

Thanks, best regards
Eric

Please Log in to join the conversation.

3 years 3 months ago #321584 by krileon
Replied by krileon on topic Privacy status shown for user in his profile
Easiest way for that is probably a Custom HTML field that's then conditioned to only be visible to the profile owner. You can use the [cb:url location="logout" /] substitution to output a URL to the logout page. You however won't be able to control the logout redirect by doing this. For that you'd need to use CB Auto Actions and the Login / Logout action, which can logout and redirect a user then use the auto action URL instead of normal logout URL in your link. As for multi-lingual you can use a language key in your Custom HTML field then use language overrides to output the link so you can translate it where needed.


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: ericmuc

Please Log in to join the conversation.

3 years 3 months ago - 3 years 3 months ago #321597 by ericmuc
Replied by ericmuc on topic Privacy status shown for user in his profile
Thanks, that works!

Addendum:

Can you please give me a hint how I can achieve this:

the logout with the link in the profile is working, great
but now all logout buttons works the way that the user profile is shown at logout

what I need is:
1) special link for logout and view user profile public
2) all other logout buttons shall work as before, resp. shall show another page after logout

What I have to do? I tried to get the auto actions differentiate here but I see no solution at the moment.

Thanks, best regards
Eric

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.300 seconds

Facebook Twitter LinkedIn