Make the "Invitation" feature usable

Created on 10 October 2012, about 12 years ago
Updated 27 October 2024, about 2 months ago

Invitations is currently a useless option as the invite link only appears then the group is set to "open" or "moderated", so you can only send invitations if the group os open for free subscription .

      if ($node->og_selective < OG_INVITE_ONLY) {
        $links['invite'] = l(t('Invite friend'), "og/invite/$node->nid");
      }

There was a long discussion around this issue (but not only: the main topic was about managing invitations)
http://drupal.org/node/170332

A simple, obvious fix was finally submitted for addressing this annoying issue
http://drupal.org/node/170332#comment-3935592

-      if ($node->og_selective < OG_INVITE_ONLY) {
+      if (og_menu_access_invite($node)) {

Any reason not to correct this apparent mistake?

Note : updated the "patch", the argument $node was missing

🐛 Bug report
Status

RTBC

Version

2.4

Component

og.module

Created by

🇫🇷France jvieille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024