Ich habe vor, den Welcome Private Message Hack (WPM108) von Duvelske (von phpbbhacks.com) bei mir zu installieren.
Es steht zwar da, dass es nur bis v. 2.0.8 funktioniert, aber ich denke bei 2.0.10 sollte es ja eigentlich auch keine Probleme geben.
Dateiänderungen und Upload der Dateien hat funktioniert und im ACP ist auch schon der Menüunterpunkt "PM Settings" zu sehen, nur beim Anklicken kommt leider noch ein Fehler, da ich die wpm_db_install.php nocht nicht ausgeführt habe bzw. nicht ausführen konnte.
Ich habe die wpm_db_install.php ins root-Verzeichnis hochgeladen und sie dann aufgerufen, es kommt dann folgende Meldung:
Code: Alles auswählen
Parse error: parse error, unexpected T_STRING in /home/www/web78/html/Board/wpm_db_install.php on line 62
Code: Alles auswählen
$sql = array();
$sql[] = "CREATE TABLE " . WPM_INST . " (name varchar(255) NOT NULL default '', value text NOT NULL) TYPE=MyISAM";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('wpm_version', '1.0.8')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('active_wpm', '1')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('wpm_username', 'Anonymous')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('wpm_userid', '-1')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('wpm_subject', 'Welcome to [sitename]!')";
INSERT INTO phpbb_wpm VALUES ('wpm_message', 'Hi, there [username]!
I hope you enjoy your stay here at [sitename]!
If you have any questions about the site, please ask. If it goes about this mod please
visit: http://www.vitrax.vze.com thnx you!');
Code: Alles auswählen
INSERT INTO phpbb_wpm VALUES ('wpm_message', 'Hi, there [username]!
Gruß SkYfiGhTeR
