BPM-mod (Birthday Private Message)
Geplaatst: 06 okt 2005, 19:00
Support template:
hier line 55 tot 70
en dit is dus line 63
mis ik hier een haakje? zo ja, waar moet dit staan?
- Wat is het probleem? bpm_db_install.php geeft een fout
Wanneer ontstond het probleem? tijdens het uitvoeren van deze DB-install
Code: Selecteer alles
Parse error: parse error, unexpected T_STRING in /home/divinglo/domains/divinglommel.be/public_html/forum/bpm_db_install.php on line 63
Adres van je forum: http://www.divinglommel.be
Geïnstalleerde mods:heel wat, maar deze werken foutloos, en hebben hier geen invloed op (denk ik toch)
Huidige template:subsilver
phpBB versie: 2.0.17
Host:???
Heb je onlangs een mod of stijl geïnstalleerd?ben ik nu mee bezig
Heb je gezocht naar een antwoord?ja
hier line 55 tot 70
Code: Selecteer alles
$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 ('bpm_version', '1.0.2')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('active_bpm', '1')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('active_bpmmail', '0')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('bpm_username', 'Anonymous')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('bpm_userid', '-1')";
$sql[] = "INSERT INTO " . WPM_INST . " VALUES ('bpm_subject', 'Happy birthday')";
INSERT INTO phpbb_wpm VALUES ('bpm_message', 'Happy birthday [username]!
You are now [age] years old :lol:
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!');
for( $i = 0; $i < count($sql); $i++ )
{
if( !$result = $db->sql_query ($sql[$i]) )
Code: Selecteer alles
INSERT INTO phpbb_wpm VALUES ('bpm_message', 'Happy birthday [username]!