Hi all,
I have a discussion post running on a public space. My entire Open Atrium site is stored behind a webserver log-in making the public spaces semi-private in a way, i.e. users need to know the webserver log-in details to see the public spaces.
I have hundreds of users and I want them all to able to reply to a discussion post. The question is how to do this. My thoughts so far have been:

Option 1: Make a group that has every registered user as a member. Add that group to the space.
Problems: adding hundreds of users to a group would be very time consuming AND it would be a long-term commitment to having to add every new user to the 'everyone' group each time a registration was done.

Option 2: Allow users to subscribe to the space in the normal way.
Problems: How does an administrator know that there are pending space membership requests? As far as I can see, he or she needs to click on Members > Pending. Is there a way of setting up a notification to inform the administrator that a user has made a request? And or is there a way of customising an administrator's dashboard to show a list of pending requests on log-in?

Please could you advise?
Thanks,
A~

Comments

Aptalops’s picture

Title: Notify administrator of space request » Ways of alerting an administrator to a space membership request
Argus’s picture

The question is are you running an intranet site or not? What is public and what isn't? It seems you have hundreds of users swarming without them being actual members of a group.

mpotter’s picture

The Space Admin should be getting an email when a user makes a request to join a group. This is done by the Organic Groups module itself, so if it isn't working, check your email settings on the server and check your Organic Groups configuration settings.

Aptalops’s picture

Good point Argus, I neglected to add that as well as the public spaces, I have about 90 different private spaces!
Thanks mpotter: notifications is working properly, so I guess e-mail settings on the server should be working OK. Could you tell me where in OG config settings I can check this? I've gone through each of the sections on admin/config/group but I'm not seeing what configuration settings I should check.
Thanks again for your time,
A~

mpotter’s picture

Ah, sorry, seems that you need to install/enable the Rules module now to get notifications about pending users.

Aptalops’s picture

Thanks mpotter.
Can I ask on this post if there's a way (instead, or, in addition to installing / enabling the Rules module) if there's a way to configure a user's dashboard to show these pending requests via the panelizer? I've tried tweaking the 'full page override' to add what might be the relevant OA page element, but I haven't found anything so far.
Thanks,
A~

Argus’s picture

I don't think there is. You will have to add an additional Rule to accomplish this.

JKingsnorth’s picture

Status: Active » Postponed (maintainer needs more info)

Did this answer your question aptalops? Did you manage to get this working with Rules?

JKingsnorth’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I'll close off this inactive issue, but please do reopen it if you still need assistance.

letrollpoilu’s picture

Hey,

I'm also willing to have a mail notification to all the admin of a space when one user is requesting a membership.

Indeed the feature is not available by default, though, when doing a request, a text to the admin is asked to fill but never seen by anyone.

I have installed the Rules module, but I'm a bit lost there. What rule should I create to send a mail to all admin of a space after a membership request ? Could you guide me there please.

Regards,

Argus’s picture

Status: Closed (fixed) » Active

es_adrien you are posting in a closed issue. If you google "drupal rules" you will find a lot of info and tutorials how to use Rules. For instance: https://drupalize.me/videos/introduction-rules?p=1157

Also check the Rules documentation: https://www.drupal.org/node/298480

Argus’s picture

@es_adrien When you enable Rules (and rules_ui) you should find the OG Rules for your use-case you can enable at admin/config/workflow/rules. They are called: "OG member subscribe (Active)" and "OG member subscribe (Pending)".

letrollpoilu’s picture

Hey Argus,

Thanks a lot for the information. I have actually found the rule and activated it, but I only recently found that it wasn't doing exactly what I wanted. Indeed, it notify the "author" of the group, and I would like to notify all the "administrators" (or also called "managers") of the group.

I have tried to play around the "Rule" module to create a list of all managers in a group, there even is a possibility to select "Get group managers from group audience" in the "Add action" page, but it doesn't seem to work for me...

I think I need to add a loop, with the list of all the managers and then send a mail to them, but for now I block on getting all the managers of a space. Do you have any advice/knowledge on it ?

Many thanks for your help.

letrollpoilu’s picture

I found a way to achieve this functionality but it took me quite a while to find it out and it's not really a proper way. When there is a pending approval, I take all the members of the space, then trigger a rule set (component) for all the members of the space. The rule set, just check if the member as the right "edit any event" and if yes he is probably an Admin so we can send him the approval mail.

Maybe that will help someone. Otherwise I think it could be a nice feature to implement.