I'd like groups to require membership to view their homepages, but the only way to achieve this that I can see is by setting the groups to default to private, and in that case they can not be listed in the groups directory. I can remove the private filter from the group directory, but then groups can't be set to completely private. So it's kinda a lose/lose situation.

Can we get some sort of setting to make groups private, but still listed in the groups directory?

Comments

highvoltage’s picture

Actually I just removed the filter to use that as a stopgap solution, but private groups are still not listed. Yikes.

moshe weitzman’s picture

Status: Active » Closed (works as designed)

You are right to remove the filter. But remember that Views and Drupal refuse to show you any node which is inaccessible to you. Thats why the private groups are not showing to non-members.

highvoltage’s picture

Would it be possible to create a sub module for organic groups that allowed groups to be listed in the directory while keeping them private? This way their presence can be advertised and non members can join but the content remains members only.

moshe weitzman’s picture

If you did it outside of Views, you can make such a module. you would omit the call to db_rewrite_sql().

fowlball1010’s picture

Hey I'm working on the same issue right now and am fairly new to Drupal and was curious as to how you would go about creating such a module. Or is there a way I can just use some php code to output a table of all groups regardless of private/public and their corresponding join link?

TheFazz’s picture

i have the same feature request. in certain cases, i'd like members to be aware that there is a private group... but they will need to get group admin approval to join and view the contents. this is similar to some forums apps like PHPBB.

the group admin should be able to elect whether the private group should be listed (available for others to join upon approval) or not (very very private).

i look forward to this.

AntiNSA’s picture

Priority: Normal » Critical

I really need this too. Please tell me there is a solution....

ludo.r’s picture

I think users of og module should be able to choose how the groups should behave.

kompressaur’s picture

on my wishlist too.

jvieille’s picture

Sub - I would need that too