function spaces_og_init in Spaces 5.2
Same name and namespace in other branches
- 6 spaces_og/spaces_og.module \spaces_og_init()
- 6.2 spaces_og/spaces_og.module \spaces_og_init()
Implementation of hook_init();
File
- ./
spaces_og.module, line 382
Code
function spaces_og_init() {
global $conf;
$conf['og_visibility_directory'] = 2;
// Default to 'visible'.
$conf['og_visibility_registration'] = 3;
// Default to 'visible' on form.
$conf['og_private_groups'] = 3;
// Default group to 'public'.
$conf['og_notification'] = 0;
// Disable OG's Notifications.
$conf['og_audience_checkboxes'] = 0;
// Disable audience checkboxes.
$conf['og_visibility'] = 2;
// Default visibility to 'public'.
$conf['og_audience_required'] = 1;
// Require audience.
$conf['og_member_pics'] = 0;
// Disable pictures.
}