Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] 2 User Lists with different "Allow link to profile" setting

11 years 9 months ago - 11 years 8 months ago #219607 by opensaucesystems
We have a website that has 2 joomla groups, friends and members.

Friends cannot see members profile.

Members can see all profiles.

I have searched but am unable to find how to have a user list that DOES "allow links to profile" viewable by members only and another list that DOESN'T "allow links to profile" viewable by friends.
Last edit: 11 years 8 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219612 by krileon
There is no such feature. I suggest having a userlist accessible to Friends that only shows Friends users. Then a second userlist accessible to Members that shows everyone.


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.

11 years 9 months ago #219847 by opensaucesystems
Thanks for the response. Very quick.

Is there a way I could do this through a plugin? Are there api docs for the users lists?

Thanks for such a great product and community.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219871 by krileon
It's a configuration parameter and configuration is stored to a global so the below might work in a Code action with a PHP method using CB Auto Actions.

Action: Code
Trigger: onBeforeDisplayUsersList
Conditional: [var6] Equal To LIST_ID_HERE
Method: PHP
Code:
Code:
global $ueConfig; $ueConfig['allow_profilelink'] = 0; // Turn off profile linking


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

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

11 years 8 months ago #221635 by opensaucesystems
I have solved this problem by using CB Substitution to create links based on a cbfield value.

Here is the post with the details.
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum