Search criteria for connections?

14 years 3 weeks ago #130981 by kevinrice1
Search criteria for connections? was created by kevinrice1
Hi

Is there a parameter we can pass in the URL to limit search results to connections only (and not connections only), or a way to add this into CB userlists?

What I need is a simple way to:

1. Search connections only
2. Search users who are not connections

Basically, search existing friends or find new friends.

Any ideas?

Thanks!

Please Log in to join the conversation.

14 years 3 weeks ago #130999 by krileon
Replied by krileon on topic Re:Search criteria for connections?
There is no search criteria for it, but it is possible to create a userlist with a filter to filter out already connected or pending connection users. Please see the following advanced filter.

[code:1]
( SELECT `memberid` FROM `#__comprofiler_members` WHERE `referenceid` = [user_id] AND `memberid` = ue.`id` ) IS NULL
[/code:1]


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.

14 years 3 weeks ago #131033 by kevinrice1
Replied by kevinrice1 on topic Re:Search criteria for connections?
Thanks for the response! What do you mean by create an advanced filter? Where would I do that?

Please Log in to join the conversation.

14 years 3 weeks ago #131146 by krileon
Replied by krileon on topic Re:Search criteria for connections?
kevinrice1 wrote:

Thanks for the response! What do you mean by create an advanced filter? Where would I do that?

An advanced filter is used to filter a userlist by specified query criteria. Please edit your Userlist at Joomla Backend > Components > Community Builder > Userlist Management. You'll need to then select the Advanced Filter radio and copy/paste/save the provided query in my above post.


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.

14 years 2 weeks ago #131321 by kevinrice1
Replied by kevinrice1 on topic Re:Search criteria for connections?
Wow, can't believe I missed that, thanks! Will searches run from that list page still include the filtering from the advanced filter, or does all filtering get reset with GET when you run a search anyways?

Please Log in to join the conversation.

14 years 2 weeks ago #131387 by krileon
Replied by krileon on topic Re:Search criteria for connections?
kevinrice1 wrote:

Wow, can't believe I missed that, thanks! Will searches run from that list page still include the filtering from the advanced filter, or does all filtering get reset with GET when you run a search anyways?

Filter remains even after searching the list; it's permanently a part of the userlists query (unless you remove it of course).

Post edited by: krileon, at: 2010/04/26 22:19


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

Facebook Twitter LinkedIn