Thanks all for your help.
Quote:
Originally Posted by kh99
It would be:
Code:
SELECT username FROM user WHERE options & 16 = 0
|
Quote:
Originally Posted by John Lester
For the "Do not receive email notification upon new pms" change the 16 in the above code to 4096
|
This all worked perfectly. Cheers!
Now I have another question that's related to this. Basically I have set up some custom profile buttons for members' communication preferences. They are simple Yes/No radio buttons:
(1) Newsletter subscription (monthly): Yes/No
(2) Digest subscription (weekly): Yes/No
(3) Promotional email subscription (monthly): Yes/No
I have set every member to "Yes" for both, but I want to change everyone who doesn't receive admin emails to "No" for (1), (2) and (3) and everyone who doesn't want PM notification to "No" for (2). This is to ensure I don't annoy anyone with unwanted emails.
Can anyone please advise what queries I would need to run to do this?