Log in

View Full Version : forumpermissions mysql table


msimonds
04-22-2004, 07:57 PM
Welll i have 4 rows there....
forumpermissionid forumid usergroupid forumpermissions

the first 3 are pretty obvious... but the last one, show me some numbers that actually, doesnt make a sense ( for me )

Iv already teh vbuserinfo.... but dunno if the user How that number work?

Thanks.

Xenon
04-22-2004, 08:04 PM
well the last field are the actual permissions in a bit-encoded way.

it's stored as an integer which has 32 bit on php and every bit stands for another permission (canview, canserch...)

those bitfields are defined in init.php