Function Hook_import_smf2->set_forums_perms
Definitions
sources/hooks/modules/admin_import/smf2.php
- Set Forum Permissions.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$group_id | integer | required parameter | N/A | N/A | The group ID to set |
$forum_id | integer | required parameter | N/A | N/A | The forum ID to set |
$role | integer | 0 | N/A | N/A | The basic Role they have: 0=ReadOnly, 1=Post/Submit, 2=Unvetted, 3=Moderate |