Allow/disallow OG forums for different content types

mitkoru - September 30, 2009 - 12:49
Project:OG Forum
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:paulbooker
Status:active
Description

Hi,

I think a good feature would be to have the option in OG Forums config to let Forums be created for specific content types that act as OG Groups.

E.g. A site has two content types which act as Group nodes:
- "CT A" (only admin can create)
- "CT B" (all users can create)

All "CT A"-groups should have forums created by the OG forum module. But "CT B" groups should be all normal groups with no forum as if OG forum module wouldn't exist.

This makes sense as not every single group, created by the normal user should be equipped with a forum.

This would also open the possibility for special user roles (above normal authenticated users) to have the rights to create groups, which would have forums, by introducing a third content type ("CT C") - of course if e.g. admin wants to have full control over "CT A":
- CT A (only admin can create) - this Group node has forums
- CT B (authenticated users can create) - this Group node doesn't have forums
- CT C (moderators can create) - this Group node has forums

Checkboxes on the "Organic groups forums"-settings page could control that option.

Thanks for your ideas on how this could be achieved!

#1

tinils - October 12, 2009 - 00:57

We would also like to see this feature. For example, we have two group types, "Project" and "Team", we would like only the Project group types to have Forums, but not the "Team" group types.

Thanks.

#2

paulbooker - October 14, 2009 - 12:31
Assigned to:Anonymous» paulbooker

Perhaps experiment with creating multiple group nodes and assigning different content types to each group using
Content Type Administration by Organic Group

http://drupal.org/project/og_content_type_admin

Let us know if this helps.

Best, Paul

#3

mitkoru - December 5, 2009 - 22:30

Hi Paul,

sadly OG Content Type Admin cannot achieve that function. With OG Content Type Admin you're only able to restrict users to be/not be able to post in e.g. forums content types on a per group basis - but the forums are still created.

What I want would be that Forums would not be created at all for certain content types:

"All "CT A"-groups should have forums created by the OG forum module. But "CT B" groups should be all normal groups with no forum as if OG forum module wouldn't exist.

This makes sense as not every single group, created by the normal user should be equipped with a forum."

Like mentioned settings on the OG Forum configuration page could be used to achieve that (provide option to create forums for a list for those content types that are defined as "Organic groups usage: Group node" by checkboxes). Since you can create not only one content type in drupal, that can be OG content type (=group node), it certainly makes sense to differentiate them in that way (groups that have forums and groups that don't have forums).

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.