Comments

ezra-g’s picture

Issue tags: +gizra commons
StatusFileSize
new109.99 KB
new37.67 KB

Attached are 2 screenshots showing where these links would appear in the UI.

itamar’s picture

StatusFileSize
new81.04 KB
new1.2 KB

Ignore this comment

itamar’s picture

StatusFileSize
new2.3 KB
new81.08 KB
new85.54 KB

Displaying the membership link on group nodes.

membership-link.png

membership-link2.png

amitaibu’s picture

Status: Active » Needs review

Correct status

amitaibu’s picture

@itamar, let's add the needed CSS so it looks like the images in #1

WebSinPat’s picture

I have applied the patch, and still do not see such a link.
i suspect it's tied in to some of the other issues floating around the queue about private groups and the default of non members being allowed to post to public groups. if anyone can tell me how to set up the configuration so that membership must be requested rather than automatically granted by posting to a group, i'd appreciate it.

ezra-g’s picture

Status: Needs review » Needs work

I tested and confirmed that after reverting Commons Groups and doing a drush cc all, the links work as expected with the 3 major group types (open, moderated, invite only).

However, the language and placement doesn't algin with some earlier designs we produced. It's entirely my fault that the review here is delayed and the designs weren't presented along with this issue, so if you prefer, I'll re-roll or have another Commons team member re-roll:

The designs and invite link text can be viewed at:

#1782658: Support for moderated, closed & private groups.

ezra-g’s picture

Eg, Unsubscribe from group should be "Leave group" to avoid confusion with Following.

itamar’s picture

Status: Needs work » Needs review
StatusFileSize
new63.66 KB
new29.1 KB
new41.25 KB
new51.14 KB
new9.75 KB
new9.55 KB

Adding a custom formatter for the group field.

inivitation.png

moderated.png

public.png

user_groups.png

ezra-g’s picture

Status: Needs review » Needs work
StatusFileSize
new15.97 KB

Looking close - Thanks.

A) No changes took effect for upgrading sites. I added an upgrade path.

B) No join links appeared in node teasers. I added the group_group field with the proper formater to the Panelizer config for group nodes and an upgrade path for that.

C) We shouldn't ever display a "join" link on public groups.

itamar’s picture

I fixed C and cleaned up the patch a little.

itamar’s picture

Status: Needs work » Needs review

Updating status.

ezra-g’s picture

Status: Needs review » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.