Seite 1 von 1

Header-Mod frage

Verfasst: 23.03.2007 01:02
von tatli_cocuk_38
hi all,
ich verstehe dies hier nicht ganz kann mir jemand helfen..

Code: Alles auswählen

 This MOD need a database update.
# Do this before editing files !!

 CREATE TABLE `phpbb_headerlinks` (
  `id` int(15) unsigned NOT NULL auto_increment,
  `url` varchar(150) collate latin1_general_ci NOT NULL,
  `active` int(2) NOT NULL default '1',
  `name` varchar(150) collate latin1_general_ci NOT NULL,
  `icon` varchar(150) collate latin1_general_ci NOT NULL,
  `row` int(5) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM;

INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (1, 'faq.php', 1, 'FAQ', 'icon_mini_faq.gif', 1);
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (2, 'search.php', 1, 'Suche', 'icon_mini_search.gif', 1);
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (3, 'memberlist.php', 1, 'Mitgliederliste', 'icon_mini_members.gif', 1);
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (4, 'groupcp.php', 1, 'Benutzergruppen', 'icon_mini_groups.gif', 1);
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (5, 'privmsg.php', 1, 'Persönliche Nachrichten', 'icon_mini_message.gif', 1);

#
# Please, do it NOW! Before editing phpBB files !!!
# Otherwise, you may have an error message during your next
# connection.

Verfasst: 23.03.2007 06:42
von arteck
und was verstehste da nicht
es wird eine Tabelle kreiert mit 6 Spalten

die direkt initialisiert wird...

welcher MOD ist das...

Verfasst: 23.03.2007 07:34
von -Tanja-
Tolle Antwort. :roll:

Hallo tatli_cocuk_38,

gehe per phpMyAdmin in deine SQL DB und klicke oben links auf den kleinen Button "SQL" , danach öffnet sich ein neues Fenster (ein kleines).

Dort kopierst du per Copy & Paste folgendes ein:

Code: Alles auswählen

 CREATE TABLE `phpbb_headerlinks` ( 
  `id` int(15) unsigned NOT NULL auto_increment, 
  `url` varchar(150) collate latin1_general_ci NOT NULL, 
  `active` int(2) NOT NULL default '1', 
  `name` varchar(150) collate latin1_general_ci NOT NULL, 
  `icon` varchar(150) collate latin1_general_ci NOT NULL, 
  `row` int(5) NOT NULL default '1', 
  PRIMARY KEY  (`id`) 
) ENGINE=MyISAM; 

INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (1, 'faq.php', 1, 'FAQ', 'icon_mini_faq.gif', 1); 
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (2, 'search.php', 1, 'Suche', 'icon_mini_search.gif', 1); 
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (3, 'memberlist.php', 1, 'Mitgliederliste', 'icon_mini_members.gif', 1); 
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (4, 'groupcp.php', 1, 'Benutzergruppen', 'icon_mini_groups.gif', 1); 
INSERT INTO `phpbb_headerlinks` (`id`, `url`, `active`, `name`, `icon`, `row`) VALUES (5, 'privmsg.php', 1, 'Persönliche Nachrichten', 'icon_mini_message.gif', 1); 
Jetzt noch bestätigen und fertig.
So, und jetzt werden die entsprechenden Tabellen in deiner Database kreirt.

Das war`s. :wink:

Verfasst: 23.03.2007 11:18
von redbull254
Hallo,tatli_cocuk_38


WICHTIG !!!


Code: Alles auswählen

#
# Please, do it NOW! Before editing phpBB files !!!
# Otherwise, you may have an error message during your next
# connection.