Skip to Content Skip to Menu

[SOLVED] How to limited the member connection

  • supoeric
  • supoeric
  • OFFLINE
  • Posts: 3
  • Thanks: 1
  • Karma: 0
4 years 4 months ago - 4 years 4 months ago #319346 by supoeric
Hi, I want to limited the member connection to 3, is it possible to do this

Thanks
Eric
Last edit: 4 years 4 months ago by beat. Reason: Added [SOLVED] tag to subject

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

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
4 years 4 months ago #319367 by beat
Replied by beat on topic How to limited the member connection
If I understand correctly your question, that's something that you can do with CB Auto Actions add-on, as follows:

E.g. Add an auto-action as follows:
- Triggered by onBeforeAddConnection and/or onBeforeAddConnectionRequest
- Type: Redirect
- Condition: Field "Connections" is "Greater Than or Equal to" "3"
- Action: URL: Homepage (e.g. "/" or "/homepagesubfolder"), Message: (e.g.: "NOT ALLOWED MORE THAN 3 ACTIVE CONNECTION, you already have [Connections] connections."

This will be limiting connection requests, once 3 active connections are accepted and established, but it does not limit connection requests before they are accepted. For that, probably some more sophisticated auto-actions would be needed.

Does that address your question ? If not, please clarify the question, so that we can try to address it.

P.S. Moving your topic to professional forum for priority support, as you have the corresponding membership.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

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

  • supoeric
  • supoeric
  • OFFLINE
  • Posts: 3
  • Thanks: 1
  • Karma: 0
4 years 4 months ago #319371 by supoeric
Replied by supoeric on topic How to limited the member connection
Hi,
Thanks for your quick reply.
Yes, it address my question.

Thank you
Eric
The following user(s) said Thank You: beat

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

Moderators: beatnantkrileon
Powered by Kunena Forum