The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding useroption bitfield
I would like to add a new bitfield to all users. How do I do that in 3.5.x?
|
#2
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=82844" target="_blank">Tutorial</a>
|
#3
|
||||
|
||||
[sql]ALTER TABLE user ADD mybitfield INT(10) UNSIGNED NOT NULL DEFAULT '0'[/sql]
userdata_start PHP Code:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <bitfields product="myproduct"> <bitfielddefs> <group name="misc"> <group name="mybitfield"> <bitfield name="foooption">1</bitfield> <bitfield name="baroption">2</bitfield> <bitfield name="foobaroption">4</bitfield> <bitfield name="barfoooption">8</bitfield> </group> </group> </bitfielddefs> </bitfields> |
#4
|
|||
|
|||
Thanks Andreas! Exactly what I was looking for!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|