Skip to Content Skip to Menu

How to hide expired profiles from "connections"...

2 years 8 months ago #328915 by moonlit-media
I run a subscription-based membership site which incorporates CB.

We use the "connections" plug-in, which allows our members to create "connections" between one another (like "friending" on Facebook).

Being that it is a subscription-based membership site, eventually - if people do not renew their membership, they become "expired" (and also entered into the user group "expired" in CB & Joomla).

The problem is: We do not want expired members to continue to show as being "connections" inside our current members' list of people they are connected to.

Is there a way that expired members can not be listed as "connections" under user's "connections"?

Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 8 months ago #328925 by krileon
Blocked Joomla accounts won't be visible there, but blocked Joomla users also won't be able to use the site anymore. CBSubs is capable of blocking them until they renew their subscription though, but that won't help if you've a free tier. Only other solution I can think of is for your subscription system to execute a database query to set accepted to 0 in the _comprofiler_members database table for their connections so they don't display to anyone except the profile owner. CBSubs is also capable of doing that relatively easily.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum