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);
Best Free Themes For Authors
Hello,
I'm looking for advice on the best way to set up my author site using drupal. My domains are from godaddy.com and my hosting is through ipage.com. Anyone know of the themes or modules for this type of site to support blogging, articles, ect.? Please respond here (if I can even find where someone responded to me lol) or email newtreebooks@gmail.com.
Thanks a million!
Todd B.
Read moreLet Us begin with an Introduction.........
Well, as you may already know I'm Slimgoody. I'm sure no one has noticed me around Drupal, due to the fact that I have been doing nothing but lurking and reading. I've been working on my drupal site since last year and I've gotten pretty acquainted with Drupal as a whole.
Read more