[SOLVED] How to limited the member connection

1 week 4 days ago - 1 week 2 days ago #319346 by supoeric
Hi, I want to limited the member connection to 3, is it possible to do this

Thanks
Eric

Please Log in to join the conversation.

1 week 2 days 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 to join the conversation.

1 week 2 days 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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.407 seconds

Facebook Twitter LinkedIn