![]() |
XML Bitfield help please
I need to be able to interpret the bitfield code in the options field of the user table (vbulleting 3.6.0) I use this table to update another database for a sql/asp program we wrote to track tournamnet points. We also now do html mail outs from this program and i need to be able to extract each users choice on receive admin email (yes or no) from the bitfields. Can anyone help me please?
|
From the vb bitfields list you can see that the adminemail option value is 16 ;
Code:
<group name="useroptions"> |
so basically i will need to run a decimal to binary conversion on the options field for every user, then do a logic check in our .net program that checks that ***~**1***** is set.
|
Well in php it would be this, not sure about .net
PHP Code:
|
All times are GMT. The time now is 06:16 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:
|