E-mail reminder bij elke post in een forum.

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
TFTFT
Berichten: 4
Lid geworden op: 24 dec 2004, 14:09

E-mail reminder bij elke post in een forum.

Bericht door TFTFT » 24 dec 2004, 14:19

Is het mogelijk dat gebruikers een email kunnen ontvangen, niet alleen wanneer er een reply word geplaatst op een topic waar zij op hebben geabonneerd, maar ook wanneer er een nieuw topic geopend word in een forum waarop zij geabonneerd zijn (iets wat nu dus nog niet kan)


TFTFT
Berichten: 4
Lid geworden op: 24 dec 2004, 14:09

Bericht door TFTFT » 24 dec 2004, 18:30

hij werkt niet :(

krijg deze error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/home/magnet/domains/thedutchalliance.nl/public_html/db/mysql4.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/magnet/domains/thedutchalliance.nl/public_html/db/mysql4.php:214) in /usr/home/magnet/domains/thedutchalliance.nl/public_html/posting.php on line 719

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/magnet/domains/thedutchalliance.nl/public_html/db/mysql4.php:214) in /usr/home/magnet/domains/thedutchalliance.nl/public_html/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/magnet/domains/thedutchalliance.nl/public_html/db/mysql4.php:214) in /usr/home/magnet/domains/thedutchalliance.nl/public_html/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/magnet/domains/thedutchalliance.nl/public_html/db/mysql4.php:214) in /usr/home/magnet/domains/thedutchalliance.nl/public_html/includes/page_header.php on line 486

TFTFT
Berichten: 4
Lid geworden op: 24 dec 2004, 14:09

Bericht door TFTFT » 24 dec 2004, 18:55

dit is volgens mij het stukje waar iets niet aan klopt:
// For each of the users watching the forum, set them as watchers on the topics_watch table
if ( $row = $db->sql_fetchrow($result) )
{
do {
$sql_priority = (SQL_LAYER == "mysql") ? "LOW_PRIORITY" : '';
$sql = "INSERT $sql_priority INTO " . TOPICS_WATCH_TABLE . " (user_id, topic_id, notify_status)
VALUES (" . $row['user_id'] . ", $topic_id, 0)";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not insert topic watch information", '', __LINE__, __FILE__, $sql);
}
}
while ( $row = $db->sql_fetchrow($result) );
}

Gesloten