11 votes
Accepted

What are the features of the Group module versus Organic Group module?

About The Group module allows for creating arbitrary collections of your content and users on your site, and grant access control permissions on those collections. It is available as of D7, and has a ...
Pierre.Vriens's user avatar
5 votes

What are the features of the Group module versus Organic Group module?

There is an article that comes from being published named: GROUP FOR DRUPAL The author says about group: Simple Groups should be like content types. I want different kinds of groups with ...
Adrian Cid Almaguer's user avatar
4 votes
Accepted

In using the rule "OG new content notification," (rules_og_new_content) how can I insert the group name in the outgoing email

Add Action >> Get group members from group audience >> node Add Loop >> node:og-group-ref Add Loop inside loop >> group-members >> rename list_item to list_item2 Add Action >> Fetch entity by ...
Pierre.Vriens's user avatar
3 votes
Accepted

Organic Groups -- Load group from gid

You don't need to use group_load anymore! Use node_load instead. You gid is equivalent to nid.
Shabir A.'s user avatar
  • 2,913
3 votes

How to create a view of nodes of which a user is a member?

Organic Groups provises a default view for this called "OG User Groups". You can use that as a base and adapt it accordingly.
Niall Murphy's user avatar
  • 2,771
3 votes

hook_menu_alter with Organic Groups

This is how I solved a similar problem with the hook_menu() and the use of 'title callback' and 'page callback' function YOUR_MODULE_menu() { $items = array(); $items['link'] = array( ...
Adrian Cid Almaguer's user avatar
3 votes

How to limit search results based only on OG group membership?

Group module as possible OG alternative As per your (3rd) comment like "I personally think OG is ..." below the previous answer: be aware that the Group module is a possible alternative for Organic ...
Pierre.Vriens's user avatar
3 votes

How to limit search results based only on OG group membership?

Editing my answer here as there seems to be a glitch in Views. Even with no contextual filters or relationships, just filtering by groups audience and exposed search doesn't work. The SQL query has ...
Niall Murphy's user avatar
  • 2,771
3 votes
Accepted

Set (add) group role using Rules when organic group membership is updated?

You should note that group role is not a field or property in the og_membership entity. The og_membership entity contains the properties etid, entity_type, group_type, and gid. There are other ...
Evil E's user avatar
  • 1,512
2 votes

How do I mass flag a node on behalf of users (possibly with VBO)?

What you could do to get this to work, is to use the integration of VBO with the Rules module, as further detailed below. Step 1: Create a Rules Component Create a (rather basic) Rules component to ...
Pierre.Vriens's user avatar
2 votes
Accepted

How do you save an entity reference value programmatically?

You need to get the results of your query after $query->execute() by for example calling $query->fetchAssoc() or $query->fetchAllAssoc(..). Using $node->og_group_ref[LANGUAGE_NONE][0]['...
schlicki's user avatar
  • 709
2 votes
Accepted

Can Forena Reports be used with Organic Groups to create a report with a "page" for each member?

IMO the approach to use the Views Show Query module as you wrote is definitely a valid approach to get you started. Even though I've not (yet) used this module to produce such queries, this part from ...
Pierre.Vriens's user avatar
2 votes
Accepted

How to create a view of nodes of which a user is a member?

Organic Groups are providing a set a views already configured and ready to use. What you are looking for is one of these views, specifically this view: OG User groups of Type: OG membership. You may ...
mchar's user avatar
  • 1,654
2 votes

Is it possible to embed a content creation form in views header?

It doesn't have to be in the view header. Just place it block above the view and adjust the css so they sit together. If you use entity forms and entity form blocks, you can just place a block above ...
Niall Murphy's user avatar
  • 2,771
2 votes

How to show a link if the user is member of a specific OG group?

Create a block that includes that "Link to node/add/team_1_content with 'Text' = create node" as in your question. Then use the Rules block visibility module. Here is a quote from its project page: ...
Pierre.Vriens's user avatar
2 votes
Accepted

How to use rules to take a user from a group content page to the group page the content belongs to?

Many approaches available here. You can use the rules link module to do this. It can fetch the parent node and redirect to it when the link is clicked. https://www.drupal.org/project/rules_link ...
Niall Murphy's user avatar
  • 2,771
2 votes
Accepted

Organic Group OG membership relationships

You just need to add OG membership: Group ID as a contextual filter, click Provide Default: The OG groups of the logged in user and under More at the bottom of the filter's settings, click Allow ...
Niall Murphy's user avatar
  • 2,771
2 votes
Accepted

How to create a content-type with "sub-pages" that are default and/or custom per node

Everything you've described is done by OG (Organic Groups). OG is originally designed for GROUPS to have 'private' sections of a website, or to manage how groups manage different parts of a website, ...
alphex's user avatar
  • 68
2 votes
Accepted

What causes EntityMetadataWrapperException: Unknown data property?

Please login to admin and go to following page. You need to add field for your bundle. It will resolve above error. Home » Administration » Configuration » Group Organic groups field settings For ...
Prasana Alawekar's user avatar
2 votes
Accepted

Display content by specific groups of users

The simple solution would be to add Term Reference field to the user's profile fields. Then for each user assigned them a taxonomy (in this case the taxonomy term name would be the group name). Use ...
No Sssweat's user avatar
  • 31.1k
2 votes
Accepted

How to send an email using Rules to everyone in an Organic Group based upon a date field?

To do what you're asking for, I would only use the Rules module, and the Rules Scheduler (a submodule of it), as further explained below. Step 1 - Create a Rules Component Create a Rules Component ...
Pierre.Vriens's user avatar
2 votes
Accepted

How to create a group page when creating a new group?

Have a look at the exported rule below, which is a variation of the (exported) rule in your question: { "rules_create_1st_group_page" : { "LABEL" : "Create 1st Group Page", "PLUGIN" : "...
Pierre.Vriens's user avatar
2 votes
Accepted

How to send an email to an Organic Group admin for every comment of their group?

You can create a rule with: Add Event "After saving new comment" or "after udating an existing comment" Add action to the rule, under the "Organic Groups" section, there is a "Get group managers from ...
Z Z's user avatar
  • 321
1 vote
Accepted

use "php code" in page manager access rules to evaluate if current og_group has content of a specific type

Direct answer: To do this with the code you provided, you should use something like the following: $node = $contexts['argument_entity_id:node_1']->data; $args = array($node->nid‌​); return ...
Stefanos Petrakis's user avatar
1 vote
Accepted

Views count grandchildren with specific value

EDITED The end result of this will be a view using the organisation NID showing property with the number of claims. ie. on an organisation's node, this would be the block. Property 1 - 18 (open ...
Niall Murphy's user avatar
  • 2,771
1 vote

Redirect loop, add-{type}-node redirects to add-{type}-node for non-admin users when parent type not availab.e

The Rules module that can be used to perform redirects also. So check if your sites uses this module. If so, verify if you have any "Active" Rules (and/or Rules Components) with a Rules Action that ...
Pierre.Vriens's user avatar
1 vote

Is there a way to let users edit something only if they are a members of an OG?

You could, for sure, use the Group module to let users edit something if they are a member of some group. Group allows for creating arbitrary collections of your content and users on your site, and ...
Pierre.Vriens's user avatar
1 vote
Accepted

Assigning OG group title to OG group image title field

Your event should be after saving new content of type: your group content type. Then add a condition, entity has field: node > your image field. You should then be able add a condition to check if ...
Niall Murphy's user avatar
  • 2,771
1 vote
Accepted

Theme Organic Group Entity Reference on user profile

You need to create an entity reference view and use it for your og_groups_ref field. In Views where you click Add, you will see entity reference view next to block, page etc. Create the view to show ...
Niall Murphy's user avatar
  • 2,771

Only top scored, non community-wiki answers of a minimum length are eligible