Seite 1 von 1

Forum notification MOD Problem

Verfasst: 01.09.2005 10:52
von tomshome
Hallo,

habe mit dem Forum notification MOD folgendes Problem.
Da steht:

Code: Alles auswählen

#-----[ OPEN ]------------------------------------------ 
# 

phpBB2/includes/functions_post.php

# 
#-----[ FIND ]------------------------------------------ 
# 

//
// Handle user notification on new post
//
function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id, &$notify_user)
{
        ... // function content ...
}
Aber in der Functions_post.php finde ich //function content nicht.
Benutze phpBB 2.0.17 .



Thomas

Lösung

Verfasst: 01.09.2005 11:01
von gloriosa
Hallo,
der Abschnit

Code: Alles auswählen

//
// Handle user notification on new post
//
function user_notification($mode, &$post_data, &$forum_id, &$topic_id, &$post_id, &$notify_user)
{
        ... // function content ...
}
erstreckt sich von Zeile 571 bis 749 ! :o

Verfasst: 01.09.2005 11:28
von tomshome
aha, recht vielen dank.

Aber folgende Fehlermeldung tritt beim aktualisieren der Datenbank auf:

Code: Alles auswählen

#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE phpbb_forums
ADD forum_notify TINYINT(1) UNSIGNED 

Syntax

Verfasst: 11.09.2005 22:25
von jedermann
Gleiches Problem hier, vermutlich veraltete mySQL-Syntax. Versuchs mal mit dem zweiten Teil wie folgt (Tabellen-Prefix natürlich anpassen):
ALTER TABLE `phpbb_forums` ADD `forum_notify` TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL AFTER `forum_last_post_id` ;