You will need to go to Host -> SQL and select "Run as script" and make sure there are several extra spaces at the end.
DECLARE @ModuleDefID int
SELECT @ModuleDefID = ModuleDefID FROM {databaseOwner}{objectQualifier}ModuleDefinitions WHERE FriendlyName = 'Forum'
IF @ModuleDefID > 0
BEGIN
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = @ModuleDefId
END
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ThreadStatus'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'EmailFormat'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'GroupView'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ForumMemberName'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ForumThreadRate'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'TrackingDuration'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'DisplayPosterLocation'
DELETE FROM {databaseOwner}{objectQualifier}Lists WHERE DefinitionID = 0 AND ListName = 'ForumType'
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '0', 'NoneSpecified', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '1', 'Unanswered', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '2', 'Answered', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ThreadStatus', '3', 'Informative', 0, 0, 4, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('EmailFormat', '0', 'Text', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('EmailFormat', '1', 'HTML', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('GroupView', '0', 'AllExpanded', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('GroupView', '-1', 'AllCollapsed', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('GroupView', '1', 'AsLastViewed', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumMemberName', '0', 'Username', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumMemberName', '1', 'DisplayName', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '0', 'Rate0', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '1', 'Rate1', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '2', 'Rate2', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '3', 'Rate3', 0, 0, 4, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '4', 'Rate4', 0, 0, 5, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '5', 'Rate5', 0, 0, 6, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '6', 'Rate6', 0, 0, 7, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '7', 'Rate7', 0, 0, 8, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '8', 'Rate8', 0, 0, 9, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '9', 'Rate9', 0, 0, 10, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumThreadRate', '10', 'Rate10', 0, 0, 11, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '0', 'Today', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '3', 'PastThreeDays', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '7', 'PastWeek', 0, 0, 3, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '14', 'PastTwoWeek', 0, 0, 4, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '30', 'PastMonth', 0, 0, 5, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '92', 'PastThreeMonth', 0, 0, 6, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '365', 'PastYear', 0, 0, 7, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '-1', 'LastVisit', 0, 0, 8, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('TrackingDuration', '3650', 'AllDays', 0, 0, 9, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('DisplayPosterLocation', '0', 'None', 0, 0, 0, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('DisplayPosterLocation', '1', 'ToAdmin', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('DisplayPosterLocation', '2', 'ToAll', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '2', 'Normal', 0, 0, 1, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '2', 'Notification', 0, 0, 2, @ModuleDefId)
INSERT INTO {databaseOwner}{objectQualifier}Lists
(ListName, Value, Text, ParentID, Level, SortOrder, DefinitionID)
VALUES
('ForumType', '2', 'Link', 0, 0, 3, @ModuleDefId)
GO
DECLARE @ModuleDefID int
SELECT @ModuleDefID = ModuleDefID FROM {databaseOwner}{objectQualifier}ModuleDefinitions WHERE FriendlyName = 'Forum'
INSERT INTO {databaseOwner}{objectQualifier}Permission(PermissionCode, ModuleDefID, PermissionKey, PermissionName)
VALUES('FORUM_MODULE',@ModuleDefID,'FORUMADMIN','Forum Administrator')
INSERT INTO {databaseOwner}{objectQualifier}Permission(PermissionCode, ModuleDefID, PermissionKey, PermissionName)
VALUES('FORUM_MODULE',@ModuleDefID,'FORUMGLBMOD','Global Moderator')
GO