The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
|||
|
|||
Anyone?
|
#3
|
|||
|
|||
You can find most bitfield values in Updating Options En Masse with Queries
|
#4
|
|||
|
|||
excellent thanks that might come in use.
|
#5
|
|||
|
|||
It has been there for a very long time.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|