The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
General permissions [genericpermissions]
Hi all!
Just a quick question here. In includes/init.php the general permissions looks like this PHP Code:
PHP Code:
|
#2
|
|||
|
|||
you have to look closer, and you'll see that the second block is filling the forgotten lines in the array...
'canseeownrep' => 256, would go between: 'canprofilepic' => 128, 'canuseavatar' => 512, but for debugs and updates, they were seperate to help us find what's new.. in an array like that, you can add more elements but doubling the last element value... if the last value is 512, your next one will be 1024 ... in this case, the last is 8388608, so the next will be 8388608+8388608 = 16777216 |
#3
|
||||
|
||||
you cannot use any values you want to add.
The whole permissions and options and whatever are bitarrays, so you always have to use values like 2^x (like nexialsys explained in other words ) |
#4
|
|||
|
|||
Thanks for quick reply
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|