Organic groups

This group is about the development of OG module and related modules. It is not an issue queue!

Where can I go for OG help? Can't seem to see any content I post in my group

Hi everyone, hope I am not in the wrong place. I have been up late and getting quite frustrated trying to fix my problem with Organic groups.

I am using Drupal 7, and the latest recomended versions of OG, Chaos Tools, and Panels.

I've followed all the tutorials, watched all the videos at modulesunwraveled etc, and yet I can't fix this one problem.

Read more

How to get a custom group field with Views?

Hi,

I was looking for a way to retrieve a custom field from a group in a view?

For example, I have my Group content type in which I added a custom field (say the «Group Color» field).

Then, I wanted to build a view in which I could show the current node's group «Group Color» field. I was able to retrieve the current node's group ID, but not the custom field.

I built the view showing any type of node and used the OG Groups relationships to ge the current node's group ID.

Anybody has an Idea on how to do this?

Thank you,

Jean-Louis

How to list members in a group using views Drupal 7 [ Profile 2 + Organic Group ]?

I am using Profiles 2 and Organic groups.

I was successful in listing users via views > Users.

I am using "profiles 2" module to collect and store details of users rather than the core drupal user management.

I have created few groups using "organic groups" module.

My question is how to list all the "PROFILES" (created via profile2 module) of members belonging to a group using views ?

Thanks....

Creating Private Group "Viewer" Role

We are using Drupal to create a custom content type with it's own module along with a site to support that. My boss wants to create a "viewer" user role for groups, where such a member can view the content associated with the group but not create content for that group. This would only make sense with private groups. I have looked into the existing settings for Organic Group User Roles and Permissions and there is nothing to control whether someone can create content associated with the group. Do I have to go in through the API to create this?

Read more

D7 Rules, flags, organic groups, VBO

Firstly I have to say I think Organic Groups is brilliant. And with rules, vbo and flags, I would also say they have changed the way I approach buildingall my Drupal 7 websites.

What I want to do is implement something like the D6 RSVP module in D7 using rules, flags, Organic Groups and VBO but I've got stuck

A typical use case is ... a "Group Manager" visits a group content node (say a "Meeting") and I want a view that returns a list of users who belong to the organic group to which the content belongs.

Read more

Group manager

I am completely stuck after upgrading my website from Drupal 6 to Drupal 7 and I am desperately looking for answers to two questions:
1/ How can a group manager add new members to his group? All screens are working properly (I suppose), even the screen for the group administrator to add new members, but there are no new names in the list of members.
2/ I have created a group calendar, but now there on each screen is a tab for a calendar and that - offcourse - is not the intention.

Read more

Which Views?

I'm in the process of getting things ready to set up OG on my new Drupal installation; pretty much every module is active instead of something called 'Views'. My main issue is that there are several modules with that in the title so I do not know which one to use.

carsato's picture

Access a node into a group without being group member and having a special role.

Hello everybody

I'm using OpenAtrium, I think it's 1.0, but not sure.

I need a user with special profile to access a node into a group without being group member. Is that possible?

In short my code gives groups and "my_content_type" a grant called "my_realm" with gid 1.
hook_node_grants() gives each user with "my_special_role" a grant called "my_realm" with gid 1.

As far as I know that should give access user to node, isn't it?

I added this code, but it's not working:

<?php

/**
* hook_node_grants()
*

Read more

Organic Groups with Activity D7

Has anyone successfully integrated an Activity stream to be filtered only by the organic group that the user is currently viewing (meaning, the main OG content type)?

Or alternatively, Heartbeat?

Thanks!

Primary Group for User Use case

I am wondering if the following use case is apropriate, feasible off label, or should not be done with OG7.

Use Case Example
A national club runs a web site and uses OG groups to manage membership in local, affiliated clubs. National members may (or may not) be members of a local club by joining their group. Via Rules, this changes where they pay dues, etc. So far so go.

The issue is that users may be members of more than one local club but only the first one they joined is where we send their membership packet, collects dues, etc.

To summarize, is there a way to identify (and integrate with Rules and Views) a "primary group" for the user?

Read more
markwk's picture

OG for Multisite Domains

I'm thinking about technologies and options for a new multisite, edu multidomain project. Basic idea: people buy subscriptions to create custom domain sites.

Instead of pure sites for each domain, I'm thinking of using OG and some workflows for each domain. How capable is OG for custom full domain sites? Not just subdomains, 123.mysite.com but mysite123.com and mysite345.com all under the main code OG code base?

Getting started

I've set up this group to try to get some help fixing the Notifications module which is important for Organic groups. The issue I hope to fix in this new group doesn't seem too complicated, but I don't have a lot of experience with the innards of Drupal so I'd find it hard to do on my own. So I'm hoping for a bit of help from others.

I have several years experience setting up quite complexmulti-lingual sites & using views a lot. I know some basic php (unfortunately I know asp better - the way things were at the time), but I've never got into Drupal module code at all seriously. The languages I use are English & Spanish.

The task

Notifications does support language. When the process is run from /admin/messaging/subscriptions/queue by using "Run process" then both the language that Notifications uses for the email texts & the language negotiation of the URLs is translated. So far so good.

However, the problem is that each individual message ignores the users language and applies in the language that /admin/messaging/subscriptions/queue is using.

So the question is to insert some code into the module at the point in the process where it works on the messages for each user so that everything it does at that point is in the user's language.

I'm going to start poking about in the code to see if I can make sense of it, but if anyone can give me an early indication of what I'm looking for that would be a great help.

Read more

Changing og_ghp_ron for something else

Organic groups 6.x-2.1 Drupal 6.22

How can you change the amount of teaser text that is shown in og_ghp_ron ?

In views I'm stuck with the RSS feed style. Switching the node style to full text does nothing. There is no other control over the fields display.

Changing the overall Drupal teaser settings on /admin/content/node-settings does have an effect, but it would be nice to have more control of the view.

Why RSS? I tried changing the display but that looses the connection with the group node which defeats the object in using Og as far as I can see.

I would also like to incorporate the "new" marker into the view, but that is not possible either.

How can I replace ron for something else without loosing the the group node?

Read more
Grayside's picture

Future Directions for OG6

Hello folks, I've been trying to get a handle on my perspective as the latest maintainer of OG's 6.x branch. There is an entire, gigantic issue queue with ideas of what's wrong and where folks would like it to go. As I've tried to curate the queue, I've come to realize there should probably be some kind of discussion.

OG6's sun has already started to set, but it remains in use on thousands of websites. It's biggest challenges are not in exploring new features, but in supporting existing websites and new, stability-critical D6 websites by cleaning up the many warts: unexpected or incomplete behaviors, usability-challenged workflows, performance improvements, low-impact integrations with common modules (Features, etc), and if possible more thorough coverage by automated tests.

As mentioned in the Issue Queue, 6.x-2.2, with a slow year of enhancements and bugfixes, is almost ready. All that waits is fixing the broken tests and reverting Notifications 4.x support back to the more stable, known Notifications 2.x line.

What should be done after that?

Read more

Group members list visible for unautorized users

I have just discovered that members list can be accesed by unautorized users if they know proper url. That seems a bug and may be a security issue. It is possible that I missed something in configuration and if that is the case, please advise.

Views 3: How to filter by OG Manager

This is a question pertaining to OG 7.

I am trying to show a pane (using Views and Panels) which will include fields from the user profile of the Group Manager on a organic groups page. I am trying to determine the best way to filter only the OG manager and not any one else from the group (currently everyone appears in the block).

I've tried many different relationships in Views 3 and various filters based upon those relationships, but so far nothing :(

Any hints?

Thanks!

kevin

How to restrict content type for one group only?

I am developing site with 2 gropus - lets call them "A" and "B". I have created two new content types (say "cA" nad "cB") and set them to "standard group post".
If user who is a member of "A" group only hits "add new content -> cA" it gets by default posted to group "A", but when user is a member of both groups "A" and "B" there is a choice of which group should the content be posted to.

Is there a way to set content type such that when created, it would be posted to one specific group only no matter if a user is a member of more than one group?

Read more

og_save_subscription don't work

now i want to create a groupe with admins user:
<?php
global $user;
$node = new stdClass();
$node->type = 'group'; // Change this to group node type name.
$node->uid = $user->uid;
$node->title = t('Mon groupe'); // Change title generation
$node->body = t('Body'); // Change body generation
$node->og_description = t('Group description'); // Change group description generation
$node->og_selective = OG_CLOSED;
$node->og_register = OG_REGISTRATION_NEVER;
$node->og_directory = OG_DIRECTORY_CHOOSE_FALSE;
$node->og_private = 0;
node_save($node);

Read more
Ryan258's picture

Appropriate Use Cases for Organic Groups

I've been coming to terms with organic groups for the past few months and feel like I'm trying to apply the wrong tool to for the job. One of the great, yet complicated, things about Drupal is that there are many ways to achieve the same result.

Personally I think Organic Groups has a lot to offer, but you can also go a long way down the wrong use case before opting for a more suitable choice.

One use case that I think we can all agree that if you want to create groups and create content that is only accessible to that group, then Organic Groups is your module.

Read more

Dynamic menu for groups

I can hard code a menu for creating content (node/add/blog etc.) in groups for each group using og_menu, but is there a dynamic way to create such a menu link for all groups? Using latest modules with 6.x. I looked at menu_token but there are no tokens for a group. I've tried php to grab the group nid in the menu block, but that doesn't seem to work. I looked at views and I'm not seeing og add content links. I'm sure there must be a solution, but after hours of looking and trying, I'm stumped. Any ideas would be greatly appreciated. Thanks.

Subscribe with RSS Syndicate content

Organic groups

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week