![]() |
Decoding Bitfield for Custom Use
Hey,
I'm currently making a custom usercp (outwith vB but including certain parts/files into it). I'm trying to reproduce the options page and notice vB stores all the option data into a bitfield. How can i 'decode' the bitfield to show what options a user currently has set? I know i can select the data using PHP Code:
And i assume for UPDATING the user table with the a new adminemail option (if changed) it would be: PHP Code:
|
Anyone?
|
You can find most bitfield values in Updating Options En Masse with Queries
|
excellent :) thanks that might come in use.
|
It has been there for a very long time. ;)
|
All times are GMT. The time now is 01:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|