Organic Groups: Enable users to create collaborative groups

Organic groups enables users with permissions to create and manage their own groups. Community members often want to self organize or spontaneously organize around a topic of interest. Allowing communities to organize naturally is important part of a healthy community.

An organic group is created by a single group owner, who has special permissions including the ability to delete the group the owner created. Group admistrators also have special permissions but can not delete the group unless they are assigned to be the group owner. Group subscribers communicate amongst themselves using the group home page as a focal point. They do so by posting the usual content types: blog, story, page, etc. A block is shown on the group home page that links to these group specific posts and actions. The block also provides summary information about the group.

Groups may be selective or not. Selective groups require approval by the group administrator in order to become a member. Organic groups also support private groups which will not be displayed in a list of organic groups. You cannot use this module with other node access modules.

You can:

Setup under 5.0

Skor - January 27, 2007 - 21:06
  1. Make sure you've downloaded and extracted the Views module into your /sites/all/modules directory, and enabled Views and Veiws_RSS under Admin>>Site Building>>Modules.
  2. Download and extract the Organic Groups Module into your sites/all/modules directory
  3. Go to Admin>>Site Building>>Modules and enable the OG module
  4. Go to Admin>>Content Management>>Content Types and create a new content type. I entered the following:
    • Name = Group
    • Type=Groups
    • Description=A collection of people with a common goal
    • Title field label=Group Name
    • Body field label=blank
    • Minimum number of words = 0
    • Explanation or submission guidelines = blank for now
    • Default Options= Published, Not Promoted, Not Sticky, Don't create new revisions
    • Default comment settings = Disabled
    • Save Content Type
  5. Go to Admin>>Organic Groups>>Organic Groups Config and:
    • Access Control: Enable/Disabled your choice (I need to read up on this some more. I've used Taxonomy_Access in the past)
    • Group Details: Pretty self explanitory
    • Node authoring form: Whatever seems right to you. Under Omitted Content Types, you'll probably want to select the "Group" content type you created above, but that might happen automatically after the next step
    • Group home page: Under Group home page node types, pick your Group Content type you created above.
    • Email settings: as desired
    • Member pictures: as desired

Now you can go to Create Content>>Group and create your first group.

Updated 1/27/07: to reflect 5.0 installation of contrib modules into /sites/all/modules instead of /modules

Correction to step 4

ralphjohnson - February 22, 2007 - 23:00

Type = groups (must be lowercase).

Thanks for the step-by-step. Seems to work well.

If upgrading from 4.7

m1k83l - May 13, 2008 - 17:09

To upgrade from 4.7, I had to name the type 'og' instead of 'groups.'

Access Control

aggaire - April 27, 2007 - 03:56

Right after step 5 and before creating content, you also need to go to Admin>>User Management>>Access Control and set certain roles to create and edit and edit own Groups.

______________________
Grand Junction Design, LLC
Web and Print Design For
Nonprofits and Foundations

Maybe This step by step will help you.

drupalcat - May 16, 2007 - 17:11

Maybe This step by step will help you.

Setting up Organic groups configuration

* go to module configuration
* go to Organic groups configuration
* go to "Group home page" and expand
* there will be a list of "Group home page node types:" you will need to add a "group" node type
* click the link that states "create a simple node type" at the bottom of the page
* click the link that states "Add content type"
* fill in fields make "type" called "group"
* return to "Organic groups configuration" page in module configuration expand "Group home page"
* you should now see a "group" field for selection highlight it and save configuration

Setting up URL alias configuration for groups

* go to module configuration
* go to URL aliases
* click "add alias" link
* Existing system path: = node/add/group and og/add
* click "update alias" button

Organic groups access control

* go to administration
* go to "Organic groups configuration"
* pull down "Access control"
* click "Enable" button to enable access control for post to controlled groups

a bit confused...

kpm - October 4, 2007 - 16:50

* go to module configuration
* go to URL aliases
* click "add alias" link
* Existing system path: = node/add/group and og/add
* click "update alias" button

I am a bit confused with this, right now if I navigate to node/add/group I am taken to the correct location, the correct add group page of the content type group that I created. If I navigate to og/add I am taken to the add view page. These are two different locations, am I misunderstanding something? Won't you loose access to the node/add/group if you alias it to the og/add which would then bring you to the views page when navigating to /node/add/group??

I think...

NikLP - January 9, 2008 - 14:10

...that this is referring to "these are the existing aliases for OG, alias them to what you want", not alias one onto the other :)

Kineta Systems - Web Development in Nottingham

 
 

Drupal is a registered trademark of Dries Buytaert.