I'm having trouble configuring OG groups to enforce the audience required option.

I have selected "audience required" to "required" to get the:
"new users will be unable to complete a post until they join a group"

Currently the box with the audience checkboxes is missing for new users with permission to create content.

They can add content that isn't assigned to any group.
The box with checkboxes appears when you give at least one group subscription to the user and dissapears when you remove all subscriptions.

I have checked with two fresh instalations, and tried several og settings. Module is 4.7.0.

I gather most people have this working, and i didn't find much searching the forum and issues.
I'm sure i am missing something.

Perhaps if you point me to the database tables i can check if the values are being updated.

Thank you.

Comments

mj2308’s picture

I have the same problem, my users can uncheck the box that lists the groups the post can be seen in, and then the post disappears when it's submitted because it does not have a group listed. Only a manual retrieval through a direct URL or through an admin/content edit can it be seen again..

inforeto’s picture

my original post got outdated.

i found og has no forced groups built in by default.

however, i found and tried og_mandatory_group and it appears to work good.

i don't know if it appears on cvs zip files but i first got it directly from cvs via ssh.
and then one of the coders posted a zip here:
http://drupal.org/node/56323#comment-104097

i also checked out og_promote but it didn't work.

mj2308’s picture

I made an issue out of it, it might be a form API bug.. http://drupal.org/node/67320