We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [organic-groups]

For questions about the Organic Groups module, not the Group module. It enables users to create and manage groups.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Node visibility not working?

I'm working on a site where I want to control node visibility for a content type called 'Dataset' by membership in organic groups. However, this does not seem to be working... OG Field Settings for ...
2
votes
1answer
34 views

How do I check Organic Groups group permissions from a custom module?

I'm trying to show or hide a button based on if a user has permission to post content to a group or not, but I don't seem to be able to call the og_user_access function from my custom module. I've ...
0
votes
0answers
20 views

How to pick up node context in a block to prepopulate entity references in node add link

Let's say I'm building a genealogy site, where I'm displaying an Individual (node 15), that belongs to an Organic Group instantiated as "My Family Album" (node 8). I want to have a side panel block, ...
0
votes
1answer
205 views

Organic Groups vs Group - on D7 vs D8?

I've done some research on this question, posted it here without any feedback, and have left messages for OG owner (amitaibu) without any response, so hopefully I can solicit useful feedback here. I'...
0
votes
0answers
30 views

views: make entityform aware of contextual filter audience field

I have a og_group_ref audience field in each of my entityforms. The way it is configured at the moment displays eforms from all types into every group. Is it possible to make the entityform Types ...
0
votes
0answers
23 views

Dont show results a user has no permissions to

I have created a view that list media entities that are related to the module: Groups. These documents have certain restrictions to them. Each document can get 1 of 4 permissions: Permission A ...
0
votes
1answer
35 views

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

Drupal 7.x Organic Groups / Rules 7.x-2.9 What is the best method to send an email to the 'Administrator Member' role of a group every time a comment is posted in their group? I am looking to ...
1
vote
1answer
28 views

Forum should just show up in groups

I would like to have, on my Drupal 8 site, a forum that can be visited only by the members of the group XY; all the other users should not see the forum. In the permissions I can't find one for ...
0
votes
1answer
81 views

How do I find the role id from an og group role name?

I need to retrieve the rid to assign the 'student' role part of an og group. I found this post in regards to user roles How do I find the role id from role name? $rid = array_search('student', ...
0
votes
1answer
38 views

Og Membership entity not created when assigning new node to Group; works when editing node

Using Organic Groups 7.x-2.9, I have two content types: - Series (Group) - Event (Group Content) When creating an Event, a users has a select list of the Series they can assign this Event to (...
-2
votes
2answers
66 views

Creating content with content type: only Title is displaying on first click not the other fields

I have a content type to submit events/workshops etc for a conference. The fields I have are like this: Label; Machine name; Field type; Widget; Event Title; title; Node module element; Fields: ...
0
votes
0answers
72 views

How to send email to a specific organic groups role using rules?

I'm trying to set up a Rule to send an email to organic group members with a specific og role, in this case 'captain', when new group content 'Ticket' is created. I've been able to set it up for all ...
0
votes
1answer
43 views

Display data basing on the group permission

I have implemented hook_og_permission() in a custom module. /** * Implements hook_og_permission(). */ function logic_board_og_permission(){ return array( 'rulesprm' => array( 'title' ...
1
vote
1answer
51 views

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

When I create a new group (using the Organic groups module), I want to use the Rules module to create a new group referenced page. I can create a new page using the Create new entity action, but I ...
2
votes
2answers
88 views

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

I have an OG content type with a date field. When the date in the field comes up, I want to use Rules to send an email to everyone in the group using the other fields (title/body/og name) in the node. ...
1
vote
1answer
114 views

How to create access permissions system similar to Organic Groups access, using Eck entities

There currently still is not a working version for Organic Groups access control, compatible with ECK entities. My current site contains entity type project and entity type project content. The ...
1
vote
2answers
90 views

Display content by specific groups of users

Is it possible to display content by a group of authors without using a group module? I like the group module, but it's much more complex and robust than what I need it for. Synopsis: We need to ...
1
vote
1answer
36 views

How to add selected users to OG Group from field selection when creating group

I have an OG and a field that lists users with checkboxes. Is there a way using Rules, to add the selected users as group members when group is saved/updated?
0
votes
1answer
16 views

Is it possible to create a list of pages in a view even if a user doesn't have access to those pages?

I'm creating a set up in Drupal 7 using Organic Groups and the Subgroups module where there is a Company group, and each company can have multiple Project groups. I'd like to allow users that have ...
1
vote
1answer
22 views

Why subscribe/unsubscribe button in the custom entity named group cannot appear?

I have created a custom render in group_module.js exactly as the example Rendering Entities with the exception of the line items['group/%'] = { instead of items['team/%'] = {. All other content nodes ...
0
votes
1answer
106 views

How do I check if a node is an organic group in an access callback of a custom module?

In Drupal 7 with Drupalgap, I have created a custom module in order to make a block. I have defined hook_block_info() and hook_block_view() as it is necessary. What I want is making this block visible ...
1
vote
1answer
37 views

How to alter existing page of a node that is Organic Group and add Two links above

i am using Drupal 7 with og support and also the og corresponding modules (og, entityreference, services_menu) inside DrupalGap. As can be seen from the picture i want to add some links(drawed in ...
0
votes
1answer
28 views

How to limit a user to specific OG groups based on user role?

In a quite complex project page, I have several user roles (from Drupal core). Further, the page has an internal area which is built upon Organic Groups (OG). There are a lot of groups available, each ...
1
vote
0answers
25 views

Display block only for og subscribe

How i Display Custom_Block ONLY if User Subscribe to OG..? So the block can be seen only for (Users Who subscribe).. UPDATE: How i alter the subscribe og link? To valadite it..
0
votes
1answer
45 views

How to get firstname in autocomplete when adding new members in og group?

I have created the group in og. When adding the user for the group, In autocomplete its been displaying the user's email ID. function custom_form_alter($form,&$form_state){ if($form['#id']== 'og-...
0
votes
0answers
34 views

Organic Groups Views

I would like to create a View which shows the Organic Group hierarchy in a side bar, see below for hierarchy. Also upon selecting content title from this sidebar, then shows the node content in the ...
0
votes
1answer
104 views

How to configure access for creating a custom LMS?

I am looking to create a LMS either in an existing Drupal install. Anonymous users can browse course information and also preview certain Modules & Slides (see below). They will be able to buy ...
0
votes
1answer
36 views

List organic group members from the current user group on his profile page

I am new to organic groups, I ran into a problem, I am a member of some organic group, I need to list other members of same group on my profile page, Trying to display it using views but no luck :(, ...
2
votes
2answers
1k views

How to implement Facebook style Notifications for Organic Group posts? [closed]

I am using Organic Groups, Drupal Commons. If someone posts in group, then all the members should be notified like in Facebook with the number of notifications. Similar to this screenprint: How can I ...
0
votes
0answers
19 views

List other og members from the current user group on his profile page

I am new to organic groups, I ran into a problem, I am a member of some organic group, I need to list other members of same group on my profile page, I am working on drupal 7 with Organic group 7.x-...
1
vote
0answers
71 views

One content type doesn't show up for one role on content page

Weird bug with a relatively complex D7 setup using admin_views: on the admin/content page, nodes of one content type ("event") don't show up at all, but only for a specific role ("editor"), even ...
1
vote
0answers
36 views

Can the following be done with Organic Groups?

I have a menu tab called "College" and what I'm trying to do is, when one user logs in he will be able to see information about the college regarding him. So I have 2 colleges called CIT and UCC and ...
4
votes
2answers
1k views

What causes EntityMetadataWrapperException: Unknown data property?

I have added new field to my bundle in one of entity type. I used the Group audience as field type and Group Audience as widget type. This is to make the field to select multiple records. While ...
0
votes
1answer
26 views

Drupal Commons make group content visible for anonomous users?

I have a Drupal (7.52) Commons (commons-7.x-3.40) website which currently requires users to log-in to see published content. Now I need to publish content so it is visible to non-authenticated users....
1
vote
1answer
62 views

How to use Views and Rules to activate a new node flag for existing OG members?

We have a flag for nodes called subscribe_og. From this point in time users will click that flag to join, or leave, a group. If you are not a member of the group, the flag says 'Join'. If you are ...
2
votes
2answers
131 views

How to apply flags retrospectively for group subscriptions using Organic Groups?

We've a large site running Drupal 7 with OG, Flag, Rules, etc. OG uses a subscription model where you have to confirm you want to join a group (or leave a group) so we've decided to move to a Flag ...
1
vote
2answers
254 views

How to create multi level subgroups in organic groups?

I Need to create multi level of subgroups in organic groups like like a tree. I don't know how to create using organic groups. Can anyone suggest.
1
vote
3answers
638 views

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

I'm in the process of planning a Drupal 7 site-build that will make use of what we're calling 'sub-pages' or 'minisites.' Essentially, as you can see in the wireframe below, we'll have a page for each ...
0
votes
1answer
93 views

Will groups with more number of users cause the page to load slower drupal?

Anonymous page takes 1 to 2 secs to load After the successful login, we are showing the same page but with some menu. I have disabled that menus too. But the page load takes 10 secs to load with same ...
1
vote
1answer
88 views

Help required to set up multisite using organic groups (OG module)

I would like to create different multisite using organic groups in drupal. Each organic group would be a subdomain or domain. How can I achieve this functionality? I do not want to use domain access ...
0
votes
1answer
17 views

How to allow users programatically to post and view posts regardless of they are trusted contact or not in drupal commons

All is in the title, actually users can only posts privately to theirs trusted contacts and sees posts of trusted contacts. I don't need such restriction in my project and want to bypassing this ...
1
vote
1answer
232 views

Organic Group OG membership relationships

I'm trying to display on a views, only the nodes which the user is part of the Organic group. I have a field og_group_ref in my content type which relate to a group. What I want is for each user, ...
0
votes
1answer
18 views

How to set the Organic Group while saving a node based on the node's current language

We want to use a hook_node_presave to set the Organic Group (OG) field on the basic page content type based on the node's language. We have created several OGs using nodes and each one is assigned a ...
0
votes
2answers
31 views

Non-admin user gets empty results when viewing other user data with views

I've been searching around now quite a while and couldn't find a solution that worked for me. So, here's my question: I created a View that basically just a list of all users on my page. The view ...
1
vote
1answer
23 views

How to Create Membership Groups for Products?

I'm exploring if the latest release of Drupal Commerce (using Commerce Kickstart 7x-2.38) will work for my Apparel eCommerce requirements. We need membership to groups (which will be corporate ...
1
vote
0answers
24 views

Organic Groups not allowing group members to view content

I have the following configuration set up for Organic Groups (2.x) : (1) A content type defined called 'Organic Group'. It's defined as both a Group and a Group Content, because I need the ability ...
1
vote
0answers
69 views

Unable to create new users with Organic Groups module installed

I have Organic Groups version 7.x-2.9 installed on a Drupal 7.50 install. When I try to add users from /admin/people/create I get a white screen and the error PHP Fatal error: Call to undefined ...
3
votes
1answer
36 views

How to populate field X with value of field Y in Organic Groups?

I want to use rules in order to populate Organic Groups field X value with the value of field Y. Keeping in mind these fields are Organic Group fields. Field X is a 'long text & summary' field, ...
0
votes
1answer
144 views

Assigning entity (node) to group (og) programmatically

How to assign an entity to a group programmatically? I have referred to this question however it doesn't seems to work: $values = array( 'type' => 'my_type', 'uid' => $user->uid, ...
1
vote
0answers
20 views

OG Menu not appearing in the Parent Menu options [closed]

OG Menu not appearing in the Parent Menu options after I selected an OG