Hello everybody!

I have a simple question.
I want to user would be able to see who belongs to a organic group only when he would be a member of this group. Summary you can see members of the group only when you are a member of this group.
Is there anybody who knows how to resolve my problem?

Aldim.

Comments

advseb’s picture

You want that the list of members is only available to group members. This is already solved, because it is a standard feature of og.

Sebastian
--
http://sebstein.hpfsc.de/

aldim’s picture

I think you have right, but not exactly.

Do you think about this option during creating a new group or editing exist?

"Private group
Should this group be visible only to its members? Disabled if the group is set to List in Directory or Membership requests: open."

This option let me to set whether I want to group be visible on group list or not.
My problem is that I want to my group be visible on group list, but If anybody wants to see who belongs to my group he must before join to my group and become a member.

Aldim

advseb’s picture

This option let me to set whether I want to group be visible on group list or not.
My problem is that I want to my group be visible on group list, but If anybody wants to see who belongs to my group he must before join to my group and become a member.

Yes, that's what I'm saying. I can't view the list of members if I'm not a member of the group.

Sebastian
--
http://sebstein.hpfsc.de/

aldim’s picture

Ok, you can't see the list of members if you are not a member of group. But tell me if you can see existing of your group on group list?

Aldim

advseb’s picture

Yes, I can make the group visible on the group list even though the members are not visible.

Sebastian
--
http://latex.hpfsc.de/

sycorax’s picture

hey i just want the opposite, i want non- members to be able to see the members of other groups.

do i need to fiddle with the code or something?? please help. or is there any other way?

homebrewruss’s picture

Hey sycorax,
This is exactly what i want to do - have you found a solution?

iSheng’s picture

I also want non- members of a group can see the group's members, have you solve your problem yet.

andrenoronha’s picture

hey, i want just the oposite!

How can i let the recent members block avaible for everyone to see it?

andrenoronha’s picture

My groups block are visible now for any non authenticated user on the user page...
I just changed the permission in views

but i couldnt do the same with my group members block... what's the difference between them?

adampdp’s picture

I cannot make my og_members_faces view visible to non-group members. Anyone know how to do this??
I tried unchecking "validate user is member of specified group" in the view, still doesn't work and access is "unrestricted".
What am I doing wrong? Help very much appreciated.

Adam P

johnny_up’s picture

I'm looking to display the faces of certain groups as well. Is this possible? I also have the access set to unrestricted in the view, but it still doesn't work...any ideas?

Thanks!

silkscreen’s picture

Seems like there are two questions here.

1. How to hide the member list for an anonymous user.
2. how to display the member list for an anonymous user.

Maybe i am missing something simple, but yes i am also stuck on the second question.

Viewing a group directory can be an important factor for an anonymous user to see.

It seems only natural we should want to do this. If anyone knows a simple way, that would be fabulous. I feel it is very important that this choice be made available. We have the choice to allow an anonymous user to view almost any type of content except a group member listing. So why not build it into the options? It makes it even more confusing when the only available link to access this Faces list is the small number in the standard OG directory page listing the number of members in a group. -- I was able to change that following this.

http://himerus.com/blog/himerus/overriding-field-handlers-views-your-own... (also see http://drupal.org/node/558134)

But that does not really fix the permissions issue to view the directory for an anonymous user. It only allows some custom text for the main faces directory listing.

It would be ideal if we could use this option. Any ideas?

Thank you

silkscreen’s picture

Not really a solution, but I wanted a way have the list of members of a group available to an anonymous user. I also wanted it slightly prominent. Like it is in the 'Faces' listing. I had the group members block up, and noticed it was visible to all.

So i did the following as a workaround.

I embedded the members block (which IS visible to anonymous users) into each group node. I added it in the 'Mission Statement' area, using this module, http://drupal.org/project/insert_block

So now, right under the Group Title I have a simple member listing that everyone can see.

I had to change the layout style of the members block to a horizontal grid, in the og_members_block views setting, so that the listing appeared inline and not vertically. This means i can no longer use this block in the block area. But that's ok for me.

Pretty silly i know, but i am not a very good programmer.

OG is a really great framework, many thanks.