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 ); |
#2
|
||||
|
||||
|
#3
|
|||
|
|||
Do you have permission from the original coder to distribute his work?
|
#4
|
||||
|
||||
i am not distributing just trying to get it updated and working to use on my site It is just the install file there is more files than that but i am not going to post them. if people want it they can google it like i did lol
|
#5
|
|||
|
|||
Removed the attached file from the first post as no permission was given to distribute the file.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|