Seite 77 von 77

Re: [RC] Impressum 0.1.6

Verfasst: 03.02.2013 09:40
von AYYILDIZLAR
Die besagte Fehlermeldung sagt, das dir die Tabelle IMMPRESSUM_TABLE fehlt. Kontrolliere mal ob du die constants.php richtig bearbeitet hast. Ich kenne die MOD nicht, aber in den meisten Fällen muss man noch ein SQL-Befehl ausführen oder halt die install.php aufrufen um die fehlenden Einträge in der Datenbank auszuführen.
blogsash hat geschrieben:Ich denke mal, dass die Impressum-Dateien noch in die richtigen Ordner auf dem Webspace müssen.
Da liegst du richtig, nach dem Bearbeiten der Dateien musst du natürlich deine bearbeiteten Dateien auf dein Server hochladen. Logisch, da dir sonst der Aufruf der Install nichts bringt.
blogsash hat geschrieben:In der MOD-Anleitung stand aber nur etwas vom Installer und nichts von anderen Dateien. Wie kann ich weiter verfahren??
Die Dateien wo du bearbeitet hast auf dein Server hochladen, siehe ein Absatz oben.

Re: [RC] Impressum 0.1.6

Verfasst: 10.09.2014 19:16
von Papa101
Hallo.
Ist zwar schon über ein jahr her, aber habe ungefähr das selbe Problem wie mein Vorredner.
Die selbe Fehlermeldung, aber jedoch lässt sich der SQL Befehl nicht ausführen, wie bekomme ich die Tabelle sonnst noch rein?

Fehlermeldung beim SQL Versuch:
[ externes Bild ]

Achso...Nachtrag:
Ich nutze "phpbb 3.0.12" und "mod_impressum_0_1_6"

Re: [RC] Impressum 0.1.6

Verfasst: 17.09.2014 07:09
von waldkatze
@Papa101
Ich verwende den MOD schon länger und habe mir mal selber eine Install-Datei dazu geschrieben.
Probier es mal damit.
Speichern als install.php

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);

?>

Re: [RC] Impressum 0.1.6

Verfasst: 23.08.2015 21:48
von biggfoot
Hallo,

ich möchte gerne die Mod deinstallieren. Leider habe ich die install.xml nicht mehr und auch sämtliche gefundenen Downloadlinks funktionieren nicht mehr.

Daher die Frage, hat noch jemand die Mod bzw. die install.xml und kann diese zur Verfügung stellen?

Re: [RC] Impressum 0.1.6

Verfasst: 24.08.2015 07:11
von waldkatze
Dann musst du das löschen:
Vor Änderungen sicherheitshalber immer Backup erstellen !

includes/constants.php

Code: Alles auswählen

define('IMPRESSUM_TABLE',            $table_prefix . 'impressum');
includes/functions.php

Code: Alles auswählen

'U_IMPRESSUM'   => append_sid("{$phpbb_root_path}impressum.$phpEx"),
und

Code: Alles auswählen

$user->add_lang('mods/impressum');
styles/prosilver/template/overall_footer.html

Code: Alles auswählen

<a href="{U_IMPRESSUM}" title="{L_IMPRESSUM}">{L_IMPRESSUM}</a><br /><br />
Datenbank-Tabelle phpbb_impressum löschen

Dateien löschen:
root/adm/style/acp_impressum.php
root/includes/acp/info/acp_impressum.php
root/includes/acp/acp_impressum.php
root/language/de/mods/impressum.php
root/language/de/mods/info_acp_impressum.php
root/language/en/mods/impressum.php
root/language/en/mods/info_acp_impressum.php
root/styles/prosilver/template/impressum.html
root/impressum.php

Re: [RC] Impressum 0.1.6

Verfasst: 24.08.2015 13:42
von biggfoot
Vielen Dank waldkatze.

Hat alles bestens geklappt. :)

Re: [RC] Impressum 0.1.6

Verfasst: 18.07.2016 11:19
von danceline
Hallo,
Ich arbeite schon eine Weile daran, ein Forum zu eröffnen. Aber ich bleibe immer wieder irgendwo stecken. Diesmal stecke ich fest beim Integrieren von einem Impressum. Da ich die neueste phpBB Version intalliert habe, gibt es auch kein Plugin dafür. Jedenfalls habe ich keins gefunden.
Aber ich lese mich jetzt hier mal durch alle Beiträge und dann hoffe ich, dass ich nach dem 5. Anlauf das auch mal hinbekomme.
So, dann mache ich mich mal ans Werk...
lg
Julia

Re: [RC] Impressum 0.1.6

Verfasst: 18.07.2016 11:24
von canonknipser
Warum nimmst du für 3.1 nicht die offizielle Pages-Extension? -> https://www.phpbb.com/customise/db/extension/pages/

Re: [RC] Impressum 0.1.6

Verfasst: 18.07.2016 11:26
von waldkatze
Wenn du ein neues Forum eröffnen möchtest, dann verwende am besten gleich die Version phpBB 3.1.9
Vorschlag Impressum dafür:
viewtopic.php?f=149&t=231169
oder das geht auch: viewtopic.php?f=149&t=236557