Ich verwende den MOD schon länger und habe mir mal selber eine Install-Datei dazu geschrieben.
Probier es mal damit.
Code: Alles auswählen
<?php
/**
*
* @package phpBB3 Impressum 0.1.6 MOD von TOBI
* @author waldkatze 2013 [Install-Datei]
* @package download mod installation package based on umil (c) 2008 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('UMIL_AUTO', true);
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin();
$auth->acl($user->data);
$user->setup();
$user->add_lang('mods/info_acp_impressum'); // Sprachdatei
if (!file_exists($phpbb_root_path . 'umil/umil_auto.' . $phpEx))
{
    trigger_error('Please download the latest UMIL (Unified MOD Install Library) from: <a href="http://www.phpbb.com/mods/umil/">phpBB.com/mods/umil</a>', E_USER_ERROR);
}
// The name of the mod to be displayed during installation.
$mod_name = 'Impressum MOD'; // MOD Name
/*
* The name of the config variable which will hold the currently installed version
* You do not need to set this yourself, UMIL will handle setting and updating the version itself.
*/
$version_config_name = 'impressum'; 
/*
* The language file which will be included when installing
* Language entries that should exist in the language file for UMIL (replace $mod_name with the mod's name you set to $mod_name above)
* $mod_name
* 'INSTALL_' . $mod_name
* 'INSTALL_' . $mod_name . '_CONFIRM'
* 'UPDATE_' . $mod_name
* 'UPDATE_' . $mod_name . '_CONFIRM'
* 'UNINSTALL_' . $mod_name
* 'UNINSTALL_' . $mod_name . '_CONFIRM'
*/
/*
* The array of versions and actions within each.
* You do not need to order it a specific way (it will be sorted automatically), however, you must enter every version, even if no actions are done for it.
*
* You must use correct version numbering.  Unless you know exactly what you can use, only use X.X.X (replacing X with an integer).
* The version numbering must otherwise be compatible with the version_compare function - http://php.net/manual/en/function.version-compare.php
*/
$versions = array(
    '0.1.6' => array(
        // Tabelle IMPRESSUM
        'table_add' => array(
            array('phpbb_impressum', array(
                'COLUMNS'    => array(
                    'name'    => array('UINT:2', 0),   
                    'value'    => array('VCHAR', ),                 
                    'aktiv'    => array('UINT:1', 0),      
                ),
            ),
          ),
    ),    
        
        //  Einfügen in Tabelle IMPRESSUM
                'table_row_insert' => array(
                array('phpbb_impressum', array(
                array('name' => '1', 'value' => '', 'aktiv' => '1'), 
                array('name' => '2', 'value' => '', 'aktiv' => '1'), 
                array('name' => '3', 'value' => '', 'aktiv' => '1'), 
                array('name' => '4', 'value' => '', 'aktiv' => '1'), 
                array('name' => '5', 'value' => '', 'aktiv' => '1'), 
                array('name' => '6', 'value' => '', 'aktiv' => '0'), 
                array('name' => '7', 'value' => '', 'aktiv' => '0'),
                array('name' => '8', 'value' => '', 'aktiv' => '0'),
                array('name' => '9', 'value' => '', 'aktiv' => '0'), 
                array('name' => '10', 'value' => '', 'aktiv' => '0'), 
                array('name' => '11', 'value' => '', 'aktiv' => '0'), 
                array('name' => '12', 'value' => '', 'aktiv' => '0'), 
                array('name' => '13', 'value' => '', 'aktiv' => '0'), 
                array('name' => '14', 'value' => '', 'aktiv' => '0'),
                array('name' => '15', 'value' => '', 'aktiv' => '0'),
                array('name' => '16', 'value' => '', 'aktiv' => '0'), 
                array('name' => '17', 'value' => '', 'aktiv' => '0'), 
                array('name' => '18', 'value' => '', 'aktiv' => '0'), 
                array('name' => '19', 'value' => '', 'aktiv' => '0'), 
                ),
            ),    
        ),
    
        //  ACP-Modul einfügen    
        'module_add' => array(
                array('acp', 'ACP_CAT_DOT_MODS', 'IMPRESSUM'),
                array('acp', 'IMPRESSUM', array(
                'module_basename'  => 'impressum',
                'modes'   => array('settings'),
                )),
            ),    
       
        //  Cache leeren 
        'cache_purge' => array(
            'template',
            'theme',
            'cache',
            ),
        ),    
    
);
// Include the UMIF Auto file and everything else will be handled automatically.
include($phpbb_root_path . 'umil/umil_auto.' . $phpEx);
?>