og

miriku's picture

Debugging issue with OG data not being set correctly (disappearing content)

We're implementing OS and after successfully setting up and theming 1 profile, we started creating more and pre-populating them with publication data.

After more profiles were created, all new content is no longer associated with the correct scholar site or organic group. True for bios, publications, whatever. They all show up in the content list, but not in the site. On inspecting the data, the nodes aren't getting placed in the og_ancestry table. If this mysql entry is inserted by hand the content will show up fine.

Read more
PlayfulWolf's picture

How to automatically add user to "default" organic group during registration?

Hi,

Have a question about OG 7.2 and Rules

For example:

Have a community built on OG, and want that every new member of site to be automatically added to some specific group (like "Security and other important announcements") during registration.

Lets assume, that group "Security and other important announcements" is node/1

I cannot find in Rules interface how to do this. I should be simple, as there is event "User is validated" and action "Subscribe user to group" but still do not understand data selector.

Which one to choose?

Thank you in advance.

Read more
PlayfulWolf's picture

Display OG 7.2 content without Panels? Display Suite?

Hi,

Pretty new to OG "ecosystem", have one question for more experienced:

What is the best way to display group pages without Panels?
My reasons are that personally do not like Panels also it is too heavy for current project, also saw some screencasts - most are made for 6.x or 7.1 and there are some differences & small annoying bugs.

So, my first thought is to use some module to attach view to group content type and use Display Suite.

Is it the correct way?

What are the alternatives?

Lest assume, that I am building groups.drupal.org clone.

p.s. Newbie to OG...

jlmainguy's picture

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

stevepurkiss's picture

D7 Commerce, Rules, and OG | purkiss ltd. / open for organisations

Employment type: 
Contract
Telecommute: 
Allowed

We're a small virtual team of Drupal architects, developers, and themers - and all contributors to the Drupal project. We work with Drupal to provide innovative solutions to blue chips and startups. One of our current projects is for a funded startup providing a new payment method and we are looking for someone to join the team.

We are currently looking for someone with experience of Drupal 7 Commerce, Rules, and OG development who is a self-starter and can quickly get up to speed on our project.

Read more
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
TXANKETE's picture

Como configurar Organic Groups

Hola a todos,
Vereis, estoy tratando de configurar OG en Drupal 7 para hacer lo siguiente:
El superadministrador registra a un usuario y le dá un rol como "Administrador de grupo". Este administrador de grupo, puede a su vez, registrar a otros usuarios pero solo puede registrarlos dentro de su propio grupo, además esta operación debería ser automática.
Todos los grupos comparten el mismo tipo de contenidos, pero los usuarios y los contenidos publicados en un determinado grupo no deben ser visibles para los usuarios de otros grupos.
¿Como puede hacerse esto? ¿Alguna idea?

Read more
bdmc's picture

OG Consultant | Buadh Brath, Inc.

Employment type: 
Contract
Telecommute: 
Allowed

We need some assistance on a D6 site, specifically regarding customization of certain Organic Groups modules to the customer's specifications.

This is not a need for someone to build the whole project, but instead to assist with specific tasks.

We need this assistance immediately.

Thank you all, we have had several responses, so don't need any more at this time.

greta_drupal's picture

Help Troubleshooting Dynamic Page Issue (Views, OG) - Paid

Now hoping that my CFL peeps won't let me down (like those crickets over at Views group). I have tried this so many different ways, I am all turned around in my head, on it. Site is suppose to launch in a few days. Until this is sorted out, themers can't theme that page, either.

Anyone willing to spend a paid hour to help me sort it out? Will gladly throw in begging. (Probably very easy for someone with advanced Views experience, and who hasn't stared at this for way too long.)

USE CASE:

Read more
danbohea's picture

Rule to make all users of a role members of every group of a certain type (trigger up for grabs) in Rules 2

Hi Folks.

In Rules 2, I'm trying to work out how to assign all users of a role (Manager) to be members of every OG group of a certain content type (Company). Ideally I'd like this to happen when ever a new 'Company' node is created but would settle for a cron based trigger if I have to.

Does anyone have any pointers as to how I might achieve this?

Triggering a rule on node creation and adding a condition to check the content type is pretty easy. It's the rest that I'm a little fuzzy on.

Any help would be greatly appreciated.

Subscribe with RSS Syndicate content