I was curious to know if there is a way to attach a list of groups a node is posted in.

For example, if I am a member of 10 groups and I can post a Story into three of them.

So at the end of my post it would say," Posted in Group A, Group B, and Group C."

Would anyone know if this would be difficult to produce? If not, where would I get started?

Background why I am curious: I had a problem on my website with some users who belong to a private group. They thought their comments were private, but because the Story was posted into several groups, members of other groups were able to see the comments of the private group. Which caused a controversy.

Comments

moshe weitzman’s picture

Status: Active » Fixed

The node.tpl.php that comes with og does this sort of group listing on nodes. The very latest version has the code which shows private group links only to members of that group. see http://drupal.org/node/238756

There is currently no concept that comments on a node are private to the group in which they were posted. If someone wants to experiment with that, i suggest using nodecomment module which stores comments as nodes and thus the node could be put into the appropriate group.

Cory Goodwin’s picture

Thank you. I was unaware that this code was shipped with OG. I will appended my node files and css.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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