The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Changing a hard code into a bitfield xml file
Code:
print_table_header($vbphrase['vbma_permissions']); print_yes_no_row($vbphrase['stickets_can_admin_stickets'], 'usergroup[canadminstickets]', $ug_bitfield ['canadminstickets']); print_yes_no_row($vbphrase['stickets_can_add_stickets'], 'usergroup[canaddstickets]', $ug_bitfield ['canaddstickets']); print_yes_no_row($vbphrase['stickets_can_view_stickets'], 'usergroup[canviewstickets]', $ug_bitfield ['canviewstickets']); print_table_break(); Also i would like to know where i would put this code Code:
$_BITFIELD['usergroup']['sticketpermissions'] = array( 'canadminstickets' => 1, 'canaddstickets' => 2, 'canviewstickets' => 4 ); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|