Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
Functionality for using different join methods is hardcoded only for groups.
Steps to reproduce
- Define your entity type in the "social_group_join_method_usage" hook.
- When you log in as CM+ and navigate to the entity creation page then you should see the "Join methods" field in the "Settings" section.
- Join methods functionality for your entity type should work similarly to the same functionality for groups.
- Join methods functionality for groups should work as before.
Proposed resolution
Delete hard relationships to groups to be able to use it for different entity types.
Comment | File | Size | Author |
---|---|---|---|
#8 | re-use-group-join-methods-3256328-8.patch | 9.08 KB | Agami4 |
Issue fork socialblue-3256328
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lexhoukComment #4
lexhoukComment #6
ribelHere is updated version of the patch with CSS styles fr buttons.
Comment #7
ribelHere is updated patch with improved border-radius for the buttons on the group statistic block.
Comment #8
Agami4 CreditAttribution: Agami4 as a volunteer and at Lemberg Solutions, Open Social, Drupal Ukraine Community for Open Social commentedComment #9
lexhoukComment #10
ressinelComment #12
Agami4 CreditAttribution: Agami4 as a volunteer and at Lemberg Solutions, Open Social, Drupal Ukraine Community for Open Social commentedMerged into 2.3.x