PDA

View Full Version : How to Add New adminpermission options


jeofmoyster
10 Jan 2007, 03:46
I'm building a new product that requires some administrators have access to it and some not - determined by adminpermissions bit fields.

This is my bitfield_PRODUCT.xml:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And while it does add the option to the list of adminpermissions, it seems to take no effect. When it's selected, it activates the last default adminpermission (products and plugins) but I can't seem to make an all-new adminpermission bitfield. How can I do this?

Thanks :)

noppid
10 Jan 2007, 18:39
It sounds like 1048576 is in use and you may have to go up to the next square. Just a guess, I didn't look it up.

jeofmoyster
10 Jan 2007, 20:32
the problem is that 1048576 is several 'squares' higher than the last one. I figured that may be the case and so i just kept doubling it....