see http://drupal.org/node/121822

only a work-around. issue still exists. set audience to ignore forum topics. admins can still change audience.

my approach was the idea that admins can promote topics to front (and group front) pages, but users can't. use a block to show latest posts instead. keep front pages for stories, pages, or other content. ??? if not acceptable, perhaps this:

if (user_access('administer organic groups') || variable_get('og_audience_checkboxes', TRUE)) {
$form['og_nodeapi']['visible']['og_groups']['#default_value'][] = $gid;
}
else {
$form['og_nodeapi']['invisible']['og_groups']['#default_value'][] = $gid;
}
$form['og_nodeapi']['#collapsed'] = $gid ? TRUE : FALSE;

from the latest commit could be made to work with my version. anyone want to try?

Comments

darren oh’s picture

Status: Active » Closed (works as designed)

Audience selection is essential for group forums. People who don't want forum topics on their group page don't have to use the default group page.