Seite 1 von 1

Installation von Bookmark Mod

Verfasst: 12.02.2006 11:49
von Paulaner-sLs
Hy, bei diesem Mod steht etwas von Mysql, leider kenn ich mich da nicht so gut aus ( Eigentlich garnicht )

In der Installations anleitung steht:
CREATE TABLE phpbb_bookmarks (
topic_id mediumint(8) unsigned NOT NULL default '0',
user_id mediumint(8) NOT NULL default '0',
KEY topic_id (topic_id),
KEY user_id (user_id));


Also ich öffne mein phpadmin und mach eine neue Tabelle.
Ich denke ich muss 4 Felder machen.

Nun, stimmt das so?

http://paulanersls.pa.funpic.de/phpadmin.JPG

Nun geht es weiter mit dem hier:
ALTER TABLE phpbb_users
ADD user_setbm tinyint(1) NOT NULL default '0' AFTER user_attachsig;
INSERT INTO phpbb_config(config_name, config_value) VALUES ('max_link_bookmarks', '0');

Ich versteh da nur das ich die Tabelle phpbb_users öffnen soll, emhr aber nicht.

Beim 2ten versteh ich wieder nixx :(

Kann mir das einer erklären?

Verfasst: 12.02.2006 11:54
von gloriosa
Hallo,
in der Installtionsanleitung steht dieses (?) :

Code: Alles auswählen

#
#-----[ SQL ]-------------------------------------------------
#
CREATE TABLE phpbb_bookmarks (
topic_id mediumint(8) unsigned NOT NULL default '0',
user_id mediumint(8) NOT NULL default '0',
KEY topic_id (topic_id),
KEY user_id (user_id));
Wie das zu handhaben ist findest Du in >>> KB:18 <<< Pos. 12 beschrieben ! Siehe dazu auch >>> KB:31 <<< und >>> KB:122 <<< ! :oops:

Im >>> KB:phpmyadmin <<< den SQL-Button anklicken, das

Code: Alles auswählen

CREATE TABLE phpbb_bookmarks (
topic_id mediumint(8) unsigned NOT NULL default '0',
user_id mediumint(8) NOT NULL default '0',
KEY topic_id (topic_id),
KEY user_id (user_id)); 
in das dazugehörige Fenster hineinkopieren, OK anklicken .... fertig ! :oops:

Verfasst: 12.02.2006 12:04
von PhilippK
Manchmal soll es auch hilfreich sein, die paar Zeilen davor zu lesen:

Code: Alles auswählen

# If you use a MySQL-Database, you can use the included script-file 'update_db_for_bookmarks.php'
# (included in files-folder) to update your database. This script will use the right prefix for
# your tabel, so you don't have to care about these things. To exececute it, just copy it to the
# phpBB-directory of your forum (the directory where you can find the config.php) an execute it by
# calling it with your browser.
# It's recomended to remove the file afterwards from the server for security reasons.
#
# If you do not use a MySQL-Database, you have to execute these two SQL-Commands. Please keep in
# mind that you need to change the tabel-prefixes if you didn't use 'phpbb'. It may be necessary
# to change the SQL-commands depending on the database you use.
Gruß, Philipp

Verfasst: 12.02.2006 12:06
von Paulaner-sLs
Okey, werde mir das mal durchlesen.

Und das ist ja einfach. Einfach auf das SQL Symbol und das gewünschte reinkopieren und auf okey drücken.

Okey, das wars auch schon. THX

Verfasst: 12.02.2006 12:41
von gloriosa
Hallo,
hättest Du Dich daran gehalten
Paulaner-sLs hat geschrieben:Okey, werde mir das mal durchlesen.
wäre Dir aufgefallen, dass im obigen Text auf die Datei namens update_db_for_bookmarks.php verweisen wird, die sofern als http://www.wieauchimmer.de/update_db_for_bookmarks.php ausgeführt für das DB-Update sorgt ! :oops: