Hi,
ref closed issue: http://drupal.org/node/131847

I was having trouble setting up a lot of parallel organic groups where I wanted to have the same set of 5 forums with the same descriptions. The only difference would be the forum's name appearing before the forum, and within the description.
eg
OG Group Energy
Energy - General Discussion
Open discussion group regarding Energy issues.
Energy - Research
etc etc research in Energy issues
and on

I wanted the distinct names for the forums so that if a person belonged to multiple groups, it might be easier in the long run to identify where notifications of new material came from etc. and not to have, for example, 6 forums called 'Research' show up in their list of recent posts.

So I changed the Default Forum Name field in og_forum_form_alter from a textfield to a textarea to take advantage of the description syntax added by Joshua Cohen (above). I tested for prefix '-' and a str_replace for a mini tag [OGFC], and used the $node->title as the forum name so that if the group creator follows this syntax:

-General Discussion,Open Discussion of [OGFC] Issues;-Research,Research in [OGFC] Issues etc

The forums are created using the organic group's name. This worked great for me, but my solution was pretty specific to my needs, and wouldn't work for multi-level containers (well, it would work, but all the sub-containers would still be named with the root container's name as opposed to the parent container's name). And even if I worked it right, I'd end up with a forum structure that would be re-using the root name throughout the hierarchy.

There's probably a much better solution to this, but here's my patch, anyway.

Btw thanks Joshua for the first patch it really helped.

Comments

j_prentiss’s picture

Status: Active » Needs work

edit: changing status to code needs work to indicate the patch attached. sorry.

Anonymous’s picture

Assigned: Unassigned »
Status: Needs work » Postponed

Thanks , ill take a look at this feature request as soon as we have an official release of this module on drupal.org

Anonymous’s picture

Title: Expanded use of default forum name » [WORK PRIORITY 4] Expanded use of default forum name
Status: Postponed » Active
Anonymous’s picture

Version: 6.x-1.0-rc1 » 6.x-2.x-dev
Anonymous’s picture

Title: [WORK PRIORITY 4] Expanded use of default forum name » Expanded use of default forum name
Assigned: » Unassigned
vegantriathlete’s picture

Status: Active » Closed (won't fix)