The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Bitfield help
I created two custom bitfields
Code:
<group name = "serverstuff"> <bitfield name="isserverstaff" group="server_stuff" phrase="is_server_staff">1</bitfield> <bitfield name="isbetatester" group="server_stuff" phrase="is_beta_tester">2</bitfield> </group> |
#2
|
|||
|
|||
I think you want different values for those, like instead of making them both '1' make the second one '2'.
|
#3
|
|||
|
|||
Quote:
Edit: Correction, it does work. The bitfields had just not been rebuilt. Now I just don't know how to call on each bitfield independently, any help there? |
#4
|
|||
|
|||
Does anyone have any idea on how to make each bitfield save separately so that I can call on them individually?
|
#5
|
|||
|
|||
I'm not sure what you're doing exaclty - how are you trying to save them?
|
#6
|
|||
|
|||
I'm not doing anything but the bitfields... :erm:
|
#7
|
|||
|
|||
It has been nearly a week. Any ideas?
|
#8
|
|||
|
|||
Sorry to be a hassle, but I need this solved. If anyone knows, it would be greatly appreciated.
|
#9
|
|||
|
|||
I'll try to help you figure it out, but I don't understand what you're doing. What exactly are you doing with the xml in the first post, and what do you mean by "making them save"?
|
#10
|
|||
|
|||
Basically if you click yes to 'isserverstaff' then 'serverstuff' adds one to itself for that usergroup. But if you click 'isbetatester' then 'serverstuff' adds two to itself. Meaning that if I try and call on 'serverstuff' the current way I cannot have the 'isbetatester' field because I call on it with something like $permissions['serverstuff']. I want to be able to check if the person isserverstaff, not just serverstuff. Make more sense?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|