SQL
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

SQL
Ik wil ff een nieuwe shoubox proberen..
Ik moet dit allemaal in de SQL dumpen?
en daarna moet ik nog db_update.php openen?
Wat moet ik hiermee precies doen:
#
#-----[ ADD SQL ]------------------------------------------
#
# remember to add the prefix, you may run with, if in doubt, run the included db_update.php file
CREATE TABLE shout (
shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment,
shout_username VARCHAR(25) NOT NULL,
shout_user_id MEDIUMINT(8) NOT NULL,
shout_group_id MEDIUMINT(8) NOT NULL,
shout_session_time INT(11) NOT NULL,
shout_ip CHAR(8) NOT NULL,
shout_text VARCHAR(255) NOT NULL,
shout_active MEDIUMINT(8) NOT NULL,
enable_bbcode TINYINT (1) NOT NULL,
enable_html TINYINT (1) NOT NULL,
enable_smilies TINYINT (1) NOT NULL,
enable_sig TINYINT (1) NOT NULL,
shout_bbcode_uid VARCHAR(10) NOT NULL,
INDEX (shout_id))
#
#-----[ ADD SQL ]------------------------------------------
#
# remember to add the prefix, you may run with, if in doubt, run the included db_update.php file
INSERT IGNORE INTO forums (forum_id ,cat_id, forum_name, forum_desc, forum_status )
VALUES ("-101", "0", "SHOUTBOX_PAGE", "Shoutbox Page Control", 1 )
#
#-----[ ADD SQL ]------------------------------------------
#
INSERT INTO config (config_name, config_value) VALUES ("prune_shouts", "0")
Ik moet dit allemaal in de SQL dumpen?
en daarna moet ik nog db_update.php openen?
Wat moet ik hiermee precies doen:
#
#-----[ ADD SQL ]------------------------------------------
#
# remember to add the prefix, you may run with, if in doubt, run the included db_update.php file
CREATE TABLE shout (
shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment,
shout_username VARCHAR(25) NOT NULL,
shout_user_id MEDIUMINT(8) NOT NULL,
shout_group_id MEDIUMINT(8) NOT NULL,
shout_session_time INT(11) NOT NULL,
shout_ip CHAR(8) NOT NULL,
shout_text VARCHAR(255) NOT NULL,
shout_active MEDIUMINT(8) NOT NULL,
enable_bbcode TINYINT (1) NOT NULL,
enable_html TINYINT (1) NOT NULL,
enable_smilies TINYINT (1) NOT NULL,
enable_sig TINYINT (1) NOT NULL,
shout_bbcode_uid VARCHAR(10) NOT NULL,
INDEX (shout_id))
#
#-----[ ADD SQL ]------------------------------------------
#
# remember to add the prefix, you may run with, if in doubt, run the included db_update.php file
INSERT IGNORE INTO forums (forum_id ,cat_id, forum_name, forum_desc, forum_status )
VALUES ("-101", "0", "SHOUTBOX_PAGE", "Shoutbox Page Control", 1 )
#
#-----[ ADD SQL ]------------------------------------------
#
INSERT INTO config (config_name, config_value) VALUES ("prune_shouts", "0")
Re: SQL
Het volgende staat in de tekst die je gaf:
Je kan dus ook de bijgevoegde db_update.php gebruiken hiervoor. Dat gaat een stuk makkelijker.# remember to add the prefix, you may run with, if in doubt, run the included db_update.php file
MessageBoard.nl, gratis phpBB forum hosting
Ik heb nu alles klaar...
maar ik zie hem nergens..
db_updating.php zei dit:
maar ik zie hem nergens..
db_updating.php zei dit:
fully integrated shoutbox
[Already added] line: 1 , CREATE TABLE phpbb_shoutbox ( shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment, shout_username VARCHAR(25) NOT NULL, shout_user_id MEDIUMINT(8) NOT NULL, shout_group_id MEDIUMINT(8) NOT NULL, shout_session_time INT(11) NOT NULL, shout_ip CHAR(8) NOT NULL, shout_text TEXT NOT NULL, shout_active MEDIUMINT(8) NOT NULL, enable_bbcode TINYINT (1) NOT NULL, enable_html TINYINT (1) NOT NULL, enable_smilies TINYINT (1) NOT NULL, enable_sig TINYINT (1) NOT NULL, shout_bbcode_uid VARCHAR(10) NOT NULL, INDEX (shout_id) )
[Added/Updated] line: 2 , INSERT IGNORE INTO phpbb_forums (forum_id ,cat_id, forum_name, forum_desc, forum_status ) VALUES ('-101', '0', 'SHOUTBOX PAGE', 'Shoutbox Page Control', 1 )
[Already Added] line: 3 , INSERT INTO phpbb_config (config_name, config_value) VALUES ('prune_shouts', '0')