Quote:
Originally Posted by hardwareirc.com
PHP Code:
$_USEROPTIONS = array(
'showsignatures' => 1,
'showavatars' => 2,
'showimages' => 4,
'coppauser' => 8,
'adminemail' => 16,
'showvcard' => 32,
'dstauto' => 64,
'dstonoff' => 128,
'showemail' => 256,
'invisible' => 512,
'showreputation' => 1024,
'receivepm' => 2048,
'emailonpm' => 4096,
'hasaccessmask' => 8192,
//'emailnotification' => 16384,
'postorder' => 32768,
);
From this code I thought that if I want to see if the signature is enabled i have to check the bit #1, #2 for avatar, #4 for images, #8 for coppa, and #16 for email.
|
Check Bit #4096 to see if the user want's to receive notifications about new PMs via eMail?
Maybe dozenzs of years in the future ... 65535 Bit-Systems ^.^
No. These are decimal values.
WHERE options & 16 checks if Bit #5 (2^4=16) is set.