How to show tab only to user and moderator

13 years 1 month ago #160402 by thomasmes
Hello,

I am setting up a community for sporters and trainers (trainers are moderators). I want the users to communicate in private with the moderators. How can I show the profile wall (tab) only to the logged in user and the moderators in Joomla 1.5, without having users to set the privacy themselfs for that tab?

Please Log in to join the conversation.

13 years 1 month ago #160444 by krileon
You can't without editing the plugin it self. You'd need to surround the tab display content with an IF statement to ensure only the profile owner and moderator can see the tabs contents. Alternatively you could just use UddeIM and the users could PM moderators to communicate with them.


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.

13 years 1 month ago - 13 years 1 month ago #160456 by thomasmes
Replied by thomasmes on topic Re: How to show tab only to user and moderator
Thanks. Can you provide me the script for that and let me know which file(s) to adjust or point me in te right direction?

Thanks again

Please Log in to join the conversation.

13 years 1 month ago #160658 by krileon
Sorry, we do not assist with core edits. The file in question can be found at the below path.

components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php


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.203 seconds

Facebook Twitter LinkedIn