Log in

View Full Version : What is stored in vb_user options field?


kwame
05-10-2006, 01:28 PM
Hi, I have created a custom registration page for my forum but I don't know what to store in the user.options field so right now I have hard coded a value to be entered there. Can someone tell me what registration fields get captured in there and what values it pulls from these fields? Thanks

Alan @ CIT
05-14-2006, 09:15 AM
print_r($vbulletin->bf_misc_useroptions);

/* Outputs:
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
[postorder] => 32768
[showbirthdays] => 65536
[noactivationmails] => 262144
)
*/

:)

Alan.

kwame
05-15-2006, 04:33 PM
Thanks Alan.
Kwame

Harrison87
06-20-2008, 04:26 PM
I found this thread incredibly helpful and wanted to update it to the latest version. Here's the contents of that variable for the current version of vB:

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
[postorder] => 32768
[receivepmbuddies] => 131072
[noactivationmails] => 262144
[pmboxwarning] => 524288
[showusercss] => 1048576
[receivefriendemailrequest] => 2097152
[vm_enable] => 8388608
[vm_contactonly] => 16777216
)

Opserty
06-20-2008, 04:38 PM
includes/xml/bitfield_vbulletin.xml - will give you a full listing of just about every bitfield used in vBulletin (permissions/options e.t.c. )