return $invitations;
}
+
+ /**
+ * Function to use on groups for access. It will house private, loggedin, public,
+ * and the group itself. This is when you don't want other groups or channels in the access options available
+ * Returns an array
+ **/
+
+ function group_access_options($group){
+ $access_array = array(0 => 'private',1 => 'logged in users',2 => 'public',$group->group_acl => 'Group: ' . $group->name );
+ return $access_array;
+ }
register_extender_url_handler('group_topicpost_url','annotation', 'group_topic_post');