-----[ COPY ]------------------------------------------
#
root/* to *
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
Creez un dossier files a la racine de votre forum, et appliquez lui un CHMOD 777 dessus
#
#-----[ SQL ]---------------------------------------------
#
CREATE TABLE phpbb_attachments_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
CREATE TABLE phpbb_attachments_desc (
attach_id mediumint(8) unsigned NOT NULL auto_increment,
physical_filename varchar(255) NOT NULL,
real_filename varchar(255) NOT NULL,
filesize int(20) NOT NULL,
post_id mediumint(8) unsigned NOT NULL default '0',
PRIMARY KEY (attach_id),
KEY physical_filename (physical_filename(10)),
KEY filesize (filesize)
);
CREATE TABLE phpbb_extensions (
ext_id mediumint(8) unsigned NOT NULL auto_increment,
extension varchar(100) NOT NULL,
PRIMARY KEY (ext_id)
);
ALTER TABLE phpbb_forums ADD auth_download TINYINT(2) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_auth_access ADD auth_download TINYINT(1) DEFAULT '0' NOT NULL;
INSERT INTO phpbb_attachments_config VALUES ('allow_ftp_upload', '0');
INSERT INTO phpbb_attachments_config VALUES ('attachment_quota', '52428800');
INSERT INTO phpbb_attachments_config VALUES ('disable_mod', '0');
INSERT INTO phpbb_attachments_config VALUES ('download_path', '');
INSERT INTO phpbb_attachments_config VALUES ('ftp_pass', '');
INSERT INTO phpbb_attachments_config VALUES ('ftp_pasv_mode', '1');
INSERT INTO phpbb_attachments_config VALUES ('ftp_path', '');
INSERT INTO phpbb_attachments_config VALUES ('ftp_server', '');
INSERT INTO phpbb_attachments_config VALUES ('ftp_user', '');
INSERT INTO phpbb_attachments_config VALUES ('max_filesize', '262144');
INSERT INTO phpbb_attachments_config VALUES ('upload_dir', 'files');
INSERT INTO phpbb_extensions VALUES (1, 'gif');
INSERT INTO phpbb_extensions VALUES (2, 'png');
INSERT INTO phpbb_extensions VALUES (3, 'jpeg');
INSERT INTO phpbb_extensions VALUES (4, 'jpg');
INSERT INTO phpbb_extensions VALUES (5, 'tif');
INSERT INTO phpbb_extensions VALUES (6, 'tga');
INSERT INTO phpbb_extensions VALUES (7, 'gtar');
INSERT INTO phpbb_extensions VALUES (8, 'gz');
INSERT INTO phpbb_extensions VALUES (9, 'tar');
INSERT INTO phpbb_extensions VALUES (10, 'zip');
INSERT INTO phpbb_extensions VALUES (11, 'rar');
INSERT INTO phpbb_extensions VALUES (12, 'ace');
INSERT INTO phpbb_extensions VALUES (13, 'txt');
INSERT INTO phpbb_extensions VALUES (14, 'c');
INSERT INTO phpbb_extensions VALUES (15, 'h');
INSERT INTO phpbb_extensions VALUES (16, 'cpp');
INSERT INTO phpbb_extensions VALUES (17, 'hpp');
INSERT INTO phpbb_extensions VALUES (18, 'diz');
INSERT INTO phpbb_extensions VALUES (20, 'doc');
INSERT INTO phpbb_extensions VALUES (21, 'dot');
INSERT INTO phpbb_extensions VALUES (22, 'pdf');