The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Bitfields Problem
I created a bit 'bitfield_product.xml' file with the following:
HTML Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <bitfields product="productname"> <bitfielddefs> <group name="ugp"> <group name="productpermissions"> <bitfield intperm="true" name="limit" group="product_permissions" phrase="product_limit"></bitfield> <bitfield name="canview" group="product_permissions" phrase="product_canview">1</bitfield> <bitfield name="canupload" group="product_permissions" phrase="product_canupload">2</bitfield> <bitfield name="canedit" group="product_permissions" phrase="product_canedit">4</bitfield> </group> </group> </bitfielddefs> </bitfields> Array ( [usergroupid] => 6 ...snip... [productpermissions] => 7 [limit] => 0 ) ... the integer 'limit' is not displayed. When I use 'print_r($vbulletin->usergroupcache[6])' in a PHP script, I get: Array ( [usergroupid] => 6 ...snip... [productpermissions] => 7 [limit] => 2048 ) Why do the permission bitfields work, but not the integer? Thanks for any help. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|