Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.29.0 — Minor update available for module mcp_sentinel (2.29.0). Release: Audit Chain 1.10.9 — Minor update available for module audit_chain (1.10.9). Release: Menu Autopilot 1.4.7 — Minor update available for module menu_autopilot (1.4.7). Release: FileGate 1.11.3 — Minor update available for module file_gate (1.11.3). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Social Group Types

No security coverage

Part of the Social ecosystem · 37 projects

View on drupal.org

In Open Social there is a special group type called "flexible_group".

If you would need an extra group type with the same out of the box functionality this module is for you.

This module provides handling for custom flexible groups.
To make it work you must have the following existing fields attached to your manually created group type:

  • field_group_allowed_visibility
  • field_flexible_group_visibility
  • field_group_allowed_join_method

Please don't forget to change the field widgets to radio/checkboxes on form display settings!

It's recommended to duplicate the open social field group concept for groups, to optimise the open social integration.
Have a look over here: admin/group/types/manage/flexible_group/form-display

Installation

Install like any other module.

Dependencies

You have to have open social installed and the social_group module enabled.

Configuration

Your custom flexible groups will be detected automatically at admin/config/opensocial/social-group-types.

Please tick them to activate the desired group logic. To complete the integration you have to create a custom module holding all the machine names of the manually created group types.

Please insert the following HOOK into the .module file.

function YOURMODULE_social_group_types_alter(array &$social_group_types) {

  // Define your group types here
  $social_group_types[] = 'GROUP_TYPE'

}

Please keep in mind that you have to manually set the group permissions, configure all group content items, extend the contextual filter and filter inside the available views (Example VIEW: group_events)!

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta6 Pre-release May 19, 2023
1.0.0-beta5 Pre-release May 19, 2023
1.0.0-beta4 Pre-release May 8, 2023