Könnt ihr bitte mal bei Album Addon helfen?
Verfasst: 24.09.2002 03:10
Hallo
da ich mir meine DB nicht zerschiessen will, frag ich lieber mal
Wie genau geht das mit "CREATE TABLE phpbb_album ..."?
In der Album Addon Install.txt steht:
Wie mache ich sowas? Bitte ausführlich antworten, da ich sowas noch nie gemacht habe.
Danke schon jetzt
da ich mir meine DB nicht zerschiessen will, frag ich lieber mal

In der Album Addon Install.txt steht:
Code: Alles auswählen
#################################################################
##
## Installation Notes:
##
## You should change all your templates and language packs
##
## If you are using a prefix to you DB tabels other than "phpbb_" then
## you have to change this in the SQL commands, e.g. "mybb_album" instead
## of "phpbb_album" - ONLY in the initial SQL commands, not in the php code !
##
## The most important thing to keep in mind is, take your time, make
## sure you are finding the correct lines to modify, then take care to paste the new code.
## Please also keep in mind, if you are using more than one language file or theme at your
## site, you will need to edit the corrosponding files for each occurrence.
##
## This Mod requires GD to generate thumbnails. If you donot have GD installed please ask
## the server admin to compile GD into PHP.
#################################################################
## Example Page/Tech-Support Forum: http://smartor.is-root.com
#################################################################
#
#-----[ SQL QUERY ]------------------------------
#
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', '1600');
INSERT INTO phpbb_album_config VALUES ('max_height', '1200');
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));
Danke schon jetzt
... und warum habens wirs mitlerweile 3:11? von wegen 30min *g* + easyInstallation Level: Easy
Installation Time: 30 Minutes