Users on our site report that they always receive a notification email for every reply and they cant disable this, it becomes more of spam right now. I cannot disable this anywhere.

Comments

arkepp’s picture

Was fixed in the last commit to CVS, I believe. (What have you been running?)

Users may have to update their profiles so that the changes trickle over to, or you can run an SQL query that synchronizes the two databases again.

tcviper’s picture

Yeah and what is the command exactly to do that synchronisation?

arkepp’s picture

Depends on how your userprofiles are configured. Personally I use two separate databases for phpBB and Drupal, so for me it is easier to do this in PHP rather than SQL.

In my profile_fields table I have an entry named "user_notify" with fid 12.

<?PHP
echo "Start....";
$dbc_drupal = connection to drupal
$dbc_phpbb = connection to phpbb
$drupal_query = "SELECT * FROM prefix_profile_values WHERE fid = 12";

$drupal_res = mysql_query($drupal_query, $drupal_dbc) or die('Query failed: '. mysql_error() . " \n" . $drupal_query . "\n");
while ($drupal_row = mysql_fetch_assoc($drupal_res) )
$phpbb_query = "UPDATE prefix_users SET user_notify = ". $drupal_row['value'] . " where user_id = " . $drupal_row['uid'];
$phpbb_res = mysql_query($phpbb_query, $phpbb_dbc) or die('Query failed: '. mysql_error() . " \n" . $phpbb_query . "\n");
}

echo " done...";
?>

arkepp’s picture

This is super annoying. I typed in all the PHP code you needed in the post above, but then Drupal leaves it out because it thinks I am trying to trick it into executing code (I prefixed it with ?PHP, capitalized, which should work. Maybe it got confused).

Sorry, out of time, will try again some other time. If any admins see this / have access to my raw post I'd appreciate it if they recovered the text.

arkepp’s picture

Status: Active » Closed (won't fix)