 | This macro may change when the relationship code is replaced |
{browse-connections} macro
Requires Community Bubbles 1.0 or above
Overview
The browse-connections macro outputs a link to the Browse Connections screen showing the social network of a specific user. It can be customised via macro parameters to show a specific category of connections and/or a specific user if desired, and also customise the output of the connections browser.
Usage
{browse-connections:browse|user=@creator}Browse Connections{browse-connections}
Parameters
| Parameter |
Required |
Default |
Notes |
Bubbles Version |
| default |
 |
all |
Which connections should be shown when clicking the link?
- all - Show all connections (default)
- accepted - show only accepted (approved) connections
- pending - connections to the user that the user has not yet approved
- waiting - connections that the user has requested that have not yet been approved
- approvals - All waiting and pending connections
- common - common connections between the logged in user and the target user
|
1.0 |
| user |
 |
@creator |
Whose connections (the target user) should be shown?
- @creator - the creator of the current page, blog post or space as applicable (default)
- @self - the currently logged in user (anonymous users do not see the link)
- username - the connections for a specific user, eg. joebloggs
|
1.0 |
| size |
 |
48 |
The size of profile pictures displayed in the connections browser (default 48px) |
1.0 |
| allowEdit |
 |
false |
Can the user edit their own profile picture by clicking on it?
- true - clicking your own profile picture will allow you to edit it
- false - clicking your own profile picture will take you to your personal space/profile (default)
|
1.0 |
| showControls |
 |
false |
Should common links (email, home, profile, connections, etc) be shown for each user?
- true - show links
- false - don't show links (default)
|
1.0 |
| showName |
 |
true |
Should the person's name be shown in the connections browser?
- true - show names (default)
- false - don't show names
|
1.0 |
Fields
The following fields are supported by this macro:
| Field |
Parameter(s) |
Notes |
Bubbles Version |
| %count% |
macro body |
Displays the number of connections (based on macro configuration) |
1.0 |
Examples
To follow.
Hints and Tips
To follow.
FAQs
To follow.
CSS Customisation
To follow.
Future Plans
See Future Plans
See Also
- [USERGUIDE:my-connections macro]
- [USERGUIDE:common-connections macro]
- [USERGUIDE:edit-connection macro]
- [USERGUIDE:approve-relationships macro]
- [USERGUIDE:relationship macro]