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
16 views

Cannot clone webforms between two groups

I have a Drupal 7 installation. The system description is Events management, handling registrations, payments, accommodation etc. There is a content type "Event" which is a group and members of this ...
0
votes
0answers
10 views

how bulk change each content type groups membership

i have a content type named students. Each student must only be in a single group. I noticed many students belong to two groups. How can i delete the second group, for each node of content type ...
0
votes
0answers
15 views

how cache a view that has a field that is calculated with php code

i have a view, that returns results based on a data field, that calculated the number of nodes that fulfill certain criteria, an important one is that the numbers are calculated based on the group the ...
0
votes
0answers
7 views

How to make global permissions available in OG Role permissions?

In OG Role permissions only some are listed, not all that are available under drupal site wide roles. I want to make a global permission available under OG Role permissions, as I need to make the "...
-1
votes
0answers
16 views

i have a view, which uses caching with arguments. How concatenate the groupid of the logged in user into a key

How the below code should be altered, in order to add in the key generated by the following function, to concatenate also the group id the user signed in belongs to? /** * Custom function ...
0
votes
0answers
37 views

prevent any user that doesnot belong to an organic group, to access any node outside his group with code

i have made the following custom module, in order to prevent any user that belongs to group 1, be able to view or edit a node that belongs to group 2. Still if one knows the url of the node, manages ...
0
votes
0answers
21 views

Organic group member can access content from another group that she doesnot belong to

i have set up a drupal site with the help of Organic groups module. Every user that belongs to a certain group sees only related content. But, i noticed that if someone from group A has or guesses the ...
0
votes
0answers
24 views

How do I clear a list of groups?

I have a membership website I'm working on. When a user renews their registration I want to unsubscribe every group they are currently subscribed to. I would prefer to avoid using VBO but would open ...
0
votes
1answer
20 views

Entering views result to field through rules

When I create a new OG, I would like the user with the least number of OG subscriptions automatically to be added to this group. So I created a views block where I count and least the user with the ...
2
votes
2answers
64 views

Automatically creating an organic group for each new user

I would like to automatically create an organic group for each newly registered user. I checked all its settings, no such option with organic groups module, then I checked the rules module but no luck ...
0
votes
0answers
16 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
50 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
300 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
1answer
40 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
31 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
104 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
50 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
69 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
73 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
47 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
55 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
91 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
133 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
91 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
38 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
24 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
108 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
38 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
46 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
109 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
37 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
73 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
138 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
279 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
682 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
99 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
89 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
243 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, ...

1 2 3 4 5 15