Skip to Content Skip to Menu

[#6462] Show Number of Connections who added me

  • Mx150
  • Mx150
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 1
7 years 9 months ago - 7 years 9 months ago #290553 by Mx150
Hi Community Builder Team,

i really love community builder with all his functions, it is very great. I have 1 question you maybe can anser me.

In my Community case i have the option "only one way connection" on. So the User can add a person as frient but the person does not automaticly add the person back. This works great for me. But now comes the problem.

In Profil Page i show Number for connections that i did with a user.
But i want also to show Number of connections that users have with me. Like this:

Persons i added as Friend 50
Persons that added me as Friend 20

Hope you can help me showing the number of persons who added me as friend.

Thanks for any help and greetings from germany.
Last edit: 7 years 9 months ago by krileon. Reason: Added [#6462] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
7 years 9 months ago #290562 by krileon
Replied by krileon on topic Show Number of Connections who added me
Connections field only shows how many connections you have in general. It doesn't have the functionality to show like you're wanting. For that you'd need to use CB Query Field and query for that information. However this would be a good addition to the Connections field and have added a feature ticket for this.

forge.joomlapolis.com/issues/6462


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.

  • Mx150
  • Mx150
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 1
7 years 9 months ago #290576 by Mx150
Replied by Mx150 on topic Show Number of Connections who added me
Hi Krileon,

thanks for the great and fast reply. Do i have to buy cb query field or can i maybe download it somewhere?

And if i download it, how does it work?

Thanks for your help

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

  • Mx150
  • Mx150
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 1
7 years 9 months ago #290595 by Mx150
Replied by Mx150 on topic Show Number of Connections who added me
I mean how to query this field?

SELECT ?? FROM Table?? WHERE user = id

Which cell and table in Database do i have to put out? I dont find the exact table for this.

Greetings.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
7 years 9 months ago #290629 by nant
Replied by nant on topic Show Number of Connections who added me

Mx150 wrote: Hi Krileon,

thanks for the great and fast reply. Do i have to buy cb query field or can i maybe download it somewhere?

And if i download it, how does it work?

Thanks for your help


Community Builder is free.

CB Query field is not. You can purchase it by itself or as part of a Professional subscription.

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

  • Mx150
  • Mx150
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 1
7 years 9 months ago #291415 by Mx150
Replied by Mx150 on topic Show Number of Connections who added me
Hello Nant,

thanks for the answer. Yes i use the free Version of community builder.

But if i buy Cb Query.. how can i handle the output then?

Which Database field do i have to query? I dont find any Number that counts the connections that users have with me.

SELECT ?? FROM Table?? WHERE user = CbUser

Or is it not possible at this time to output the number of connections users have with me?

Greetings and hoping for your help..

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

Moderators: beatnantkrileon
Powered by Kunena Forum