Seite 1 von 2

Nachricht bei neuen Thema

Verfasst: 29.11.2002 15:14
von Eclipse16V
Gibt es eine Lösung das man per eMail benachrichtigt wird wenn ein neues Thema eingetragen wird. Oder geht das nur bei Antworten?

MfG
Björn

Verfasst: 29.11.2002 15:31
von Gast
da gibt es einen netten mod für. jeder user kann ein ganzes forum abonnieren und wird bei neuen themen benachrichtigt.

notification_mod_1.2.zip

Verfasst: 29.11.2002 18:57
von hmueller
Anonymous hat geschrieben:und wird bei neuen themen benachrichtigt.
man wird aber dann (leider) bei ALLEN neuen Beiträgen (nicht nur bei neuen Themen) im abonnierten Forum benachrichtigt, was sehr schnell zu einer E-Mail-Flut führen kann.

Verfasst: 30.11.2002 18:35
von Eclipse16V
Geht nicht.

Bekomme jedesmal wenn man eingelogt ist folgende Fehlermeldung wenn man ein Forum aufruft:
  • Couldn't obtain forum watch information
Als Gast kommt diese nicht.

Wo liegt der Fehler???

MfG Björn

Verfasst: 30.11.2002 18:38
von Mister_X
Hast du die zusätzlichen Tabellen erstellt ?

Verfasst: 30.11.2002 20:08
von Acid
link:DebugMode aktivieren ...

Verfasst: 30.11.2002 21:53
von Eclipse16V
Ich blick da nicht durch. Habe noch nicht so die Ahnung phpMyAdmin und dem einrichten solcher Tabellen. Wenn ich es so mache wie beschrieben:
  • ## Do not forget to run the following commands on your sql database (replace phpbb2_ with your db prefix):
    ##
    ## CREATE TABLE phpbb2_forums_watch (
    ## forum_id smallint(5) unsigned NOT NULL default '0',
    ## user_id mediumint(8) NOT NULL default '0',
    ## notify_status tinyint(1) NOT NULL default '0',
    ## KEY forum_id (forum_id),
    ## KEY user_id (user_id),
    ## KEY notify_status (notify_status)
    ## )
    ##
    ## ALTER TABLE phpbb2_forums
    ## ADD forum_notify TINYINT(1) UNSIGNED DEFAULT '1' NOT NULL
    ## AFTER forum_last_post_id
    ##
    ## the description is for subsilver theme users, it should work with every theme
    ## if you are using the files from the package you only have to run the sql command
bekomme ich immer eine Fehlermeldung. Hat nicht jemand eine db_install.php Datei die das für mich macht. Bin schon am verzweifeln und so langsam habe ich auch kein Bock mehr wenn das nicht funzt.

MfG
Björn

Verfasst: 30.11.2002 22:01
von Mister_X
CREATE TABLE phpbb2_forums_watch (
forum_id smallint(5) unsigned NOT NULL default '0',
user_id mediumint(8) NOT NULL default '0',
notify_status tinyint(1) NOT NULL default '0',
KEY forum_id (forum_id),
KEY user_id (user_id),
KEY notify_status (notify_status)
)

ALTER TABLE phpbb2_forums
ADD forum_notify TINYINT(1) UNSIGNED DEFAULT '1' NOT NULL
AFTER forum_last_post_id
bei dem Text passt du die beiden Prefixe (fett markiert) an dein Prefix an kopierst es um es in link:PHPMyAdmin einzufügen:
http://creiche.free.fr/phpmyadmin.png in das große weiße Feld oberhalb meines rot umringelten und drückst auf ok

Verfasst: 30.11.2002 22:11
von Eclipse16V
bekomme dann immer diese Fehlermeldung:
  • Fehler

    SQL-Befehl :

    CREATE TABLE phpbb_forums_watch (
    forum_id smallint(5) unsigned NOT NULL default '0',
    user_id mediumint(8) NOT NULL default '0',
    notify_status tinyint(1) NOT NULL default '0',
    KEY forum_id (forum_id),
    KEY user_id (user_id),
    KEY notify_status (notify_status)
    );

    ALTER TABLE phpbb_forums ADD forum_notify TINYINT(1) UNSIGNED DEFAULT '1' NOT NULL AFTER forum_last_post_id


    MySQL meldet:


    You have an error in your SQL syntax near 'ALTER TABLE phpbb_forums
    ADD forum_notify TINYINT(1) UNSIGNED DEFAULT '1' NOT ' at line 10

Verfasst: 30.11.2002 23:43
von Acid
Ich hab Deinen Beitrag ma editiert.... und ein Semikolon eingefügt.