Setting Up Groups
Overview
Groups in Sociable allow users to create communities around shared interests, topics, or organizations. Members can discuss, share content, and organize events within groups.
Group Types
Sociable supports three group visibility types:
| Type | Description |
|---|---|
| Public | Anyone can see the group, its posts, and join freely |
| Private | Anyone can see the group exists, but membership requires approval to view posts |
| Secret | Only members can see the group exists or find it in search |
Group Roles
Each group has a role hierarchy:
| Role | Permissions |
|---|---|
| Owner | Full control - edit, delete group, manage all members and roles |
| Admin | Edit group settings, approve members, manage moderators and members |
| Moderator | Approve pending posts, remove content, manage members |
| Member | Post content, comment, participate in discussions |
Group Settings Configuration
Configure global group settings in Components → Sociable → Settings → Groups:
| Setting | Description | Default |
|---|---|---|
| Allow Group Creation | Let users create groups from the frontend | Yes |
| Require Group Approval | New groups require admin approval before going live | No |
| Default Max Members | Maximum members per group (default limit) | 1000 |
| Allowed Group Types | Which group types users can create | All (public, private, secret) |
Creating Groups
From the Frontend
Users can create groups if enabled in settings:
- Navigate to the Groups page
- Click Create Group
- Fill in required information:
- Name - Group title
- Description - Purpose and rules
- Type - Public, private, or secret
- Category - Optional category classification
- Avatar - Group profile image
- Cover Image - Group banner
- Click Create
From Administrator
Administrators can create groups directly:
- Go to Components → Sociable → Groups
- Click New
- Configure all group settings
- Set join approval preferences
- Assign initial admins/moderators
- Save the group
Managing Groups
Group Administration Panel
Group owners and admins can access group settings:
- Open the group page
- Click the settings/gear icon
- Available options:
- Edit Group - Update name, description, type
- Manage Members - View and manage membership
- Pending Approvals - Approve/reject join requests (private groups)
- Delete Group - Permanently remove the group
Member Management
Group admins can manage members:
Approving Members (Private Groups):
- Go to the group's Members tab
- Click Pending to view join requests
- Approve or reject each request
Changing Member Roles:
- Find the member in the Members list
- Click the role dropdown
- Select new role (member, moderator, admin)
Removing Members:
- Find the member in the Members list
- Click the remove/kick button
- Confirm the removal
Group Features
Group Activity Feed
Each group has its own activity feed where members can:
- Create posts visible only to group members
- Share media (images, videos)
- React and comment on posts
- See all group activity in one place
Group Events
Groups can host events:
- Group admins/moderators can create events
- Events appear in the group and in members' event feeds
- RSVP and attendance tracking
- Event discussions within the group
Group Categories
Organize groups by category:
- Go to Components → Sociable → Categories
- Create categories for groups (e.g., Sports, Technology, Music)
- Users can filter groups by category when browsing
Join Policies
Join Approval
Configure whether new members need approval:
| Policy | Behavior |
|---|---|
| Open Join | Anyone can join instantly |
| Approval Required | Join requests go to admins for review |
When approval is required:
- User clicks "Join Group"
- Request status becomes "pending"
- Group admins receive notification
- Admin approves or rejects
- User is notified of the decision
Invitations
Group members can invite others:
- Go to group settings
- Click Invite Members
- Search for users to invite
- Send invitation
Invited users receive a notification with the option to accept or decline.
Group Notifications
Members receive notifications for:
| Event | Notification |
|---|---|
| Invited to group | In-app + email (if enabled) |
| Join request approved | In-app + email |
| Join request rejected | In-app |
| New post in group | In-app (configurable) |
| Role changed | In-app + email |
| Removed from group | In-app + email |
Admin Management
Viewing All Groups
Administrators can manage all groups:
- Go to Components → Sociable → Groups
- View list of all groups with:
- Name and description
- Type (public/private/secret)
- Member count
- Creation date
- Status
Group Moderation
Administrators can:
- Publish/Unpublish - Toggle group visibility
- Edit - Modify any group settings
- Delete - Remove groups entirely
- Assign Owners - Change group ownership
- View Activity - Monitor group content
Reported Content
When users report group content:
- Go to Components → Sociable → Reports
- Filter by group context
- Review reported posts/comments
- Take action (delete, warn, ignore)
SDK Integration
Developers can interact with groups via the Sociable SDK:
$sociable = Sociable::getInstance();
// Get group by ID
$group = $sociable->groups()->getById($groupId);
// List user's groups
$myGroups = $sociable->groups()->getUserGroups($userId);
// Check membership
$isMember = $sociable->groups()->isMember($groupId, $userId);
// Get member role
$role = $sociable->groups()->getMemberRole($groupId, $userId);
Groups Module
Display groups anywhere on your site using the Sociable Groups Module:
- Go to Extensions → Modules
- Create new mod_sociable_groups module
- Configure options:
| Option | Description |
|---|---|
| Limit | Number of groups to display |
| Display Type | Grid, list, or compact view |
| Group Type | Popular, newest, active, suggested, or my groups |
| Category | Filter by specific category |
| Show Cover | Display group cover images |
| Show Member Count | Display number of members |
| Show Join Button | Show join/leave button |
- Assign to module position and publish
Best Practices
For Site Administrators
- Set clear guidelines - Establish rules for group creation and moderation
- Monitor activity - Regularly review group reports and activity
- Use categories - Organize groups for easier discovery
- Configure notifications - Balance engagement without spam
For Group Owners
- Write clear descriptions - Help users understand the group's purpose
- Set appropriate visibility - Choose the right group type
- Moderate actively - Keep discussions on-topic and respectful
- Delegate moderation - Assign moderators for larger groups
Next Steps
- Activity Streams - Configure post settings
- Events - Set up group events
- Notifications - Configure group notifications