Hi,
I've posted this as an issue in OG as well http://drupal.org/node/88384, just wanted to see if the larger Drupal community had encountered similar problems..
I have two groups set up and members are part of groups. The page and blog node type are excluded from the Audience Targetting System. However, when a member (who is a member of a group) tries to create a blog entry, he is informed that 'you must join a group before you can post to this website', even though he is already part of a group. ALL users encounter this problem, even site admins. Only user 1 does not encounter this problem.
This is really counter-intuitive and my previous version of OG did not do this (I upgraded recently). I checked the code and this seems to be under function og_nodeapi
// Ensure that a group is selected if groups are required. needed when author has no groups. In other cases, fapi does the validation
if (variable_get('og_audience_required', FALSE) && !user_access('admnister organic groups')) {
if (!isset($node->og_groups)) {
form_set_error('title', t('You must %join before posting on this web site.', array('%join' => l(t('join a group'), 'og'))));
}
It seems that if a user does not have 'administer organic groups' permission he cannot post blog/page entries? That seems really weird to me.
Wonder if anyone has the same problem/any suggestions?
Thanks!