expand_info(array(EVT_DATA_USER => array('users.username'))); // Instantiate a new auth admin object in readiness require_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx); $auth_admin = new auth_admin(); // set the forum permissions and log the action $auth_admin->acl_set('user', $forum_ids, $info[EVT_DATA_USER]['user_id'], $options); $events->add_log('LOG_ACL_USER_ADD', $info[EVT_DATA_USER]['username']); } ?>