Ich habe jetzt mal die sql Einträge für den Mod gelöscht und aus der install.txt die sql einträge zu einer db_update.php gemacht.
Code: Alles auswählen
$sql[] = "INSERT INTO `" . $table_prefix . "linkdb_categories` (`cat_id`, `cat_name`, `cat_desc`, `cat_parent`, `parents_data`, `cat_order`, `cat_allow_file`, `cat_allow_comments`, `internal_comments`, `autogenerate_comments`, `comments_forum_id`, `cat_allow_ratings`, `show_pretext`, `notify`, `notify_group`, `cat_links`, `cat_last_link_id`, `cat_last_link_name`, `cat_last_link_time`, `auth_view`, `auth_post`, `auth_rate`, `auth_view_comment`, `auth_post_comment`, `auth_edit_comment`, `auth_delete_comment`, `auth_edit`, `auth_delete`, `auth_approval`, `auth_approval_edit`, `auth_view_groups`, `auth_post_groups`, `auth_rate_groups`, `auth_view_comment_groups`, `auth_post_comment_groups`, `auth_edit_comment_groups`, `auth_delete_comment_groups`, `auth_edit_groups`, `auth_delete_groups`, `auth_approval_groups`, `auth_approval_edit_groups`, `auth_moderator_groups`) VALUES (2, 'Bulletin Board', '', 1, 'a:1:{i:1;s:3:"PHP";}', 2, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')";