Cita:
(Si no me equivoco dice que tengo que crear un archivo, pero como lo llamo?, se deberá poner en esta ruta, album_mod/upload no?, y que es eso del CHMOD?? es que no entiendo nada de eso que os cité anteriormente... Expliquenmelo todo por favor ). #-----[ ACTION ]------------------------------------------
#
Create folder album_mod/upload
CHMOD album_mod/upload to 0777
#
#-----[ SQL ]------------------------------
# Run these following queries manually or run album_db_install.php once
# Afterthat delete file album_db_install.php immediately
#
CREATE TABLE phpbb_album (
id int(11) NOT NULL auto_increment,
filename varchar(99) NOT NULL,
title varchar(255) NOT NULL,
user_id mediumint(8) NOT NULL,
username varchar(25) NOT NULL,
timestamp int(10) unsigned NOT NULL,
cat_id mediumint(8) DEFAULT '1' NOT NULL,
PRIMARY KEY (id));
CREATE TABLE phpbb_album_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name));
INSERT INTO phpbb_album_config VALUES ('max_pics', '255');
INSERT INTO phpbb_album_config VALUES ('max_file_size', '256000');
INSERT INTO phpbb_album_config VALUES ('max_width', '800');
INSERT INTO phpbb_album_config VALUES ('max_height', '600');
INSERT INTO phpbb_album_config VALUES ('view_level', '-1');
INSERT INTO phpbb_album_config VALUES ('upload_level', '0');
INSERT INTO phpbb_album_config VALUES ('rows_per_page', '4');
INSERT INTO phpbb_album_config VALUES ('thumbnail_quality', '50');
INSERT INTO phpbb_album_config VALUES ('thumbnail_scaling', '1');
INSERT INTO phpbb_album_config VALUES ('thumbnail_force_GIF', '0');
CREATE TABLE phpbb_album_cat (
cat_id mediumint(8) NOT NULL auto_increment,
cat_title varchar(50) NOT NULL,
cat_lock tinyint(1) DEFAULT '0' NOT NULL,
PRIMARY KEY (cat_id));
#
#-----[ COPY ]--------------------------------------------
#
copy *.php to *.php
copy admin/*.php to admin/
copy album_mod/*.* to album_mod/
copy templates/subSilver/*.tpl to templates/subSilver/
copy templates/subSilver/admin/*.tpl to templates/subSilver/admin/
copy templates/subSilver/images/*.gif to templates/subSilver/images/
#
# If you are using GD v2.0 or higher - you can see it by doing a phpinfo() or asking the server
# admin, you should follow these instructions. If you are using GD v1.x you may ignore this step
#
#
Create folder album_mod/upload
CHMOD album_mod/upload to 0777
#
#-----[ SQL ]------------------------------
# Run these following queries manually or run album_db_install.php once
# Afterthat delete file album_db_install.php immediately
#
CREATE TABLE phpbb_album (
id int(11) NOT NULL auto_increment,
filename varchar(99) NOT NULL,
title varchar(255) NOT NULL,
user_id mediumint(8) NOT NULL,
username varchar(25) NOT NULL,
timestamp int(10) unsigned NOT NULL,
cat_id mediumint(8) DEFAULT '1' NOT NULL,
PRIMARY KEY (id));
CREATE TABLE phpbb_album_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name));
INSERT INTO phpbb_album_config VALUES ('max_pics', '255');
INSERT INTO phpbb_album_config VALUES ('max_file_size', '256000');
INSERT INTO phpbb_album_config VALUES ('max_width', '800');
INSERT INTO phpbb_album_config VALUES ('max_height', '600');
INSERT INTO phpbb_album_config VALUES ('view_level', '-1');
INSERT INTO phpbb_album_config VALUES ('upload_level', '0');
INSERT INTO phpbb_album_config VALUES ('rows_per_page', '4');
INSERT INTO phpbb_album_config VALUES ('thumbnail_quality', '50');
INSERT INTO phpbb_album_config VALUES ('thumbnail_scaling', '1');
INSERT INTO phpbb_album_config VALUES ('thumbnail_force_GIF', '0');
CREATE TABLE phpbb_album_cat (
cat_id mediumint(8) NOT NULL auto_increment,
cat_title varchar(50) NOT NULL,
cat_lock tinyint(1) DEFAULT '0' NOT NULL,
PRIMARY KEY (cat_id));
#
#-----[ COPY ]--------------------------------------------
#
copy *.php to *.php
copy admin/*.php to admin/
copy album_mod/*.* to album_mod/
copy templates/subSilver/*.tpl to templates/subSilver/
copy templates/subSilver/admin/*.tpl to templates/subSilver/admin/
copy templates/subSilver/images/*.gif to templates/subSilver/images/
#
# If you are using GD v2.0 or higher - you can see it by doing a phpinfo() or asking the server
# admin, you should follow these instructions. If you are using GD v1.x you may ignore this step
#