Please Log in or Create an account to join the conversation.
The onBeforeAcceptConnection trigger does not contain that information. It only contains the user id, connection id, mutual connections config setting, and auto accept connection config setting. Using a code action and PHP though you could call CB API and grab the connection request, but that still won't contain the details about type, etc.. you'd have to grab the connection of the person who sent it using getConnectionDetails function. Example as follows.1. Is there any way to have a condition that checks the Connection Type?
Somewhat, as mentioned above that information isn't sent with the trigger. So you need to do all that checking in your PHP.2. Can I have to auto actions (one for each team) and have them BOTH fire if the 'Team Leader' selects 2 different Connection Types?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In conditionals, no, but in your code it's doable now. No this won't change with CB 2.0 until the connections usage has been rewritten (planned for later 2.x release).Is this something that might be possible within the new 2.x version of CB (Sorry, I've downloaded but not had the time to test).
You need to create a custom CB plugin that renders its own tab. There used to be helloworld example plugins in the Free downloads section, but they're gone now (probably archived or moved) as they're too out of date. Best I can suggest is review existing plugins as examples. After CB 2.0 goes stable we'll be doing massive documentation improvements. For you now you can review the API documentation for in the free downloads section.If not, is there some documentation that can show me how to just create a tab on the user's profile where I can display custom code (i.e. create my own 'tab plugin' or 'custom CB plugin')?
Please Log in or Create an account to join the conversation.