Rule to force user to create content when creating a group

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jpwolf00's picture

I am trying to replicate the functionality of ideatorrent with common drupal modules and I have almost got it nailed but I am stuck with a problem. I'm using organic groups to represent each idea (problem) submitted and each solution as a post within that group. I would like to force (or at least redirect) the user to the create content form for the idea (problem) already specified for the group just created.

I have found a way to create a link to content in the current group using a block with this code

<?php $group_title = og_get_group_context()->title; ?>
<?php $group_nid = og_get_group_context()->nid; ?>
<div class="user-input-link"><a href="?q=node/add/solution/gids[]=<?php print $group_nid; ?>
</div>

I have not figured out how to have an additional group content be required to be created when creating a group.

Any help is appreciated.

Rules

Group organizers

Group categories

Categories

Group notifications

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

Hot content this week