Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2788

phpBB Custom Coding • Re: Some useful SQL

$
0
0
You can test it yoursel, click notification link and then settings. Note how many check you have for email. Run the query, board admin is usually user id 2.

Code:

SET @user_id = 2;UPDATE phpbb_user_notifications SET notify = 0 WHERE user_id = @user_id  AND method = 'notification.method.email'; 
The affected rows should be the same as amount of checks, recheck your notification settings and they should now be all unchecked for email.

The only reason I can think of you might still be getting emails is if they are stored in cache, purging the cache will fix that.

Statistics: Posted by thecoalman — Sat Jan 11, 2025 6:31 pm



Viewing all articles
Browse latest Browse all 2788

Trending Articles