RSS Feed/News phpBB: Thread watches email notification setting is not imported correctly

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
33,772
Points
823

Reputation:

XFI\Import\Importer\PhpBB::stepThreads
PHP:

Code:
$subs = $this->sourceDb->fetchPairs("
    SELECT user_id, notify_status
    FROM topics_watch
    WHERE topic_id = {$oldThreadId}
");

This code assumes that field notify_status is set to 1 if the user wants to receive notifications via email.

But this is not the case as phpBB doesn't allow to specify email notification preference per thread - the field indicates if a notification has been sent (but the user hasn't read the...

Read more

Continue reading...
 
Status
Not open for further replies.
Top