Organic Group Forum: Private forum for a group

The organic group forum module creates a forum container for that group, with a single sub-forum. The forum can be restricted to be only seen by members of that group. Forums for group members are very useful to maintain privacy of a groups discussions as it begins to organize and accomplish the groups mission.

A category term for the group is created to tie the organic group with it's forum container.

You can:

Subform Magic

If you have numerous subforums that should not be displayed on the main index and need to hide them, Michelle provided me with a bit of helpful code.

In og_forum.module

find:

function theme_og_forum_list($forums, $parents, $tid) {
global $user;

right after that add:

$hide_subs = TRUE;

find:

else {
$new_topics = _forum_topics_unread($forum->tid, $user->uid);
$forum->old_topics = $forum->num_topics - $new_topics;
if (!$user->uid) {
$new_topics = 0;
}

right after that add:

if($forum->depth <= 1) {
$description = '' . "\n";
} else {
if ($hide_subs) {
continue;
} else {
$description = 'depth . '">' . "\n";
}
}

This is used in conjunction with Michelle's advanced forum for great results.

Using / Setup og_forum module

Used to create forums in groups. these forums are specific for groups.

Guide maintainers

highermath's picture