install.php und MySQL

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

install.php und MySQL

Beitrag von DaSasha »

Halloooo und zwar hab ich eine frage in sachen install.php von Mods

Wenn ich zu beispiel nicht domain.de/install.php eingeben möchte, sondern das ganze manuell.... ist sowas möglich, alle daten rauszulesen die ich brauche???

Hier mal ein beispiel:
(Das ist von phpbb3hacks.com das button menu)
Hier ist die install datei...
https://www.phpbb.de/support/pastebin.p ... view&s=830

Kann mir jemand ansätze geben, wie und wo ich was rauslesen kann?
weil das ding hat auch module :P

danke euch schonmal
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Verschoben von Coding & Technik nach phpBB 3.0: Mod Support am 30.09.2011 10:09 durch Pyramide

hackepeter13
Valued Contributor
Beiträge: 3557
Registriert: 21.04.2004 12:22
Wohnort: Berlin
Kontaktdaten:

Re: install.php und MySQL

Beitrag von hackepeter13 »

Könnte man. Man brauch blos die entsprechenden Daten sql gerecht gestallten, aber warum so einen elend großen Aufwand betreiben, wenn das Aufrufen der install.php keine Minute dauert. :-?
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: install.php und MySQL

Beitrag von DaSasha »

Lernen... :grin:

ohne fleiss kein preis ^^
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: install.php und MySQL

Beitrag von DaSasha »

ich habe jetzt mal den teil rausgesucht

Code: Alles auswählen

                'table_add' => array(
                        array(MENU_BUTTONS_TABLE, array(
                                'COLUMNS'                       => array(
                                        'button_id'              => array('UINT', NULL, 'auto_increment'),
                                        'button_url'             => array('TEXT', ''),
                                        'button_name'            => array('VCHAR', ''),
                                        'button_external'        => array('BOOL', 0),
                                        'button_display'         => array('BOOL', 1),
                                        'button_only_registered' => array('BOOL', 0),
                                ),
                                'PRIMARY_KEY' => array('button_id'),
                        )),
                        array(MENU_COLORS_TABLE, array(
                                'COLUMNS'                       => array(
                                        'color_id'               => array('UINT', NULL, 'auto_increment'),
                                        'color_name'             => array('VCHAR', ''),
                                        'color_text'             => array('VCHAR', 'FFFFFF'),
                                        'color_text_hover'       => array('VCHAR', 'FFFFFF'),
                                        'color_text_hover_decor' => array('VCHAR', 'none'),
                                        'color_text_weight'      => array('VCHAR', 'bold'),
                                        'color_display_search'   => array('BOOL', 1),
                                        'color_text_transform'   => array('VCHAR', 'none'),
                                        'color_align'            => array('VCHAR', 'left'),
                                ),
                                'PRIMARY_KEY' => array('color_id'),
dieser is ja für tabellen

und dieser für insert

Code: Alles auswählen

                        array(MENU_BUTTONS_TABLE, array(
        'button_id'  => '1', 'button_url'  => 'http://www.google.com', 'button_name'  => 'Example', 'button_external'  => '1', 'button_display'  => '1', 'button_only_registered'  => '0',
      )),
      array(MENU_COLORS_TABLE, array(
        'color_id'  => '1', 'color_name'  => 'blue', 'color_text'  => 'FFFFFF', 'color_text_hover'  => 'FFFFFF', 'color_text_hover_decor'  => 'none', 'color_text_weight'  => 'bold', 'color_display_search'  => '1', 'color_text_transform'  => 'none', 'color_align'  => 'left',
      )),
      array(MENU_COLORS_TABLE, array(
        'color_id'  => '2', 'color_name'  => 'black', 'color_text'  => 'FFFFFF', 'color_text_hover'  => 'FFFFFF', 'color_text_hover_decor'  => 'none', 'color_text_weight'  => 'bold', 'color_display_search'  => '1', 'color_text_transform'  => 'none', 'color_align'  => 'left',
      )),
      array(MENU_COLORS_TABLE, array(
        'color_id'  => '3', 'color_name'  => 'brown', 'color_text'  => 'FFFFFF', 'color_text_hover'  => 'FFFFFF', 'color_text_hover_decor'  => 'none', 'color_text_weight'  => 'bold', 'color_display_search'  => '1', 'color_text_transform'  => 'none', 'color_align'  => 'left',
      )),
      array(MENU_COLORS_TABLE, array(
        'color_id'  => '4', 'color_name'  => 'gray', 'color_text'  => 'FFFFFF', 'color_text_hover'  => 'FFFFFF', 'color_text_hover_decor'  => 'none', 'color_text_weight'  => 'bold', 'color_display_search'  => '1', 'color_text_transform'  => 'none', 'color_align'  => 'left',
      )),
      array(MENU_COLORS_TABLE, array(
        'color_id'  => '5', 'color_name'  => 'orange', 'color_text'  => 'FFFFFF', 'color_text_hover'  => 'FFFFFF', 'color_text_hover_decor'  => 'none', 'color_text_weight'  => 'bold', 'color_display_search'  => '1', 'color_text_transform'  => 'none', 'color_align'  => 'left',
is dies korrekt?
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
hackepeter13
Valued Contributor
Beiträge: 3557
Registriert: 21.04.2004 12:22
Wohnort: Berlin
Kontaktdaten:

Re: install.php und MySQL

Beitrag von hackepeter13 »

Code: Alles auswählen

'table_add' => array(
                        array(MENU_BUTTONS_TABLE, array(
                                'COLUMNS'                       => array(
                                        'button_id'              => array('UINT', NULL, 'auto_increment'),
                                        'button_url'             => array('TEXT', ''),
                                        'button_name'            => array('VCHAR', ''),
                                        'button_external'        => array('BOOL', 0),
                                        'button_display'         => array('BOOL', 1),
                                        'button_only_registered' => array('BOOL', 0),
                                ),
                                'PRIMARY_KEY' => array('button_id'),
                        )),
table_add = Befehl für neue Tabelle hinzufügen
MENU_BUTTONS_TABLE = die neue Tabelle
button_* = die Spalten in der Tabelle
alles was in den array steht = die Werte für die Spalte

Und die Insert für die entsprechenden Spalten haste ja erkannt.
Benutzeravatar
Pyramide
Ehrenadmin
Beiträge: 12734
Registriert: 19.04.2001 02:00
Wohnort: Meschede

Re: install.php und MySQL

Beitrag von Pyramide »

DaSasha hat geschrieben:Lernen... :grin:

ohne fleiss kein preis ^^
Dann solltest du hier anfangen: http://www.phpbb.com/mods/umil/
KB:knigge
Benutzeravatar
DaSasha
Mitglied
Beiträge: 334
Registriert: 27.02.2011 12:21

Re: install.php und MySQL

Beitrag von DaSasha »

Ich danke euch beiden... :D
Meine Style erweiterungen: Rang Set 1 + PSD & Rang Prozent System oder phpBB Rang Puzzle
Antworten

Zurück zu „[3.0.x] Mod Support“