-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
banPermissions
Description
Removes any permissions that the user can't have if they're banned.
Syntax
void banPermissions ()
Notes
- Called from is_not_banned to actually handle permissions
- If they're fully banned, this simply empties out the $user_info['permissions'] array (which prevents them from viewing anything but the board index, unless guests aren't allowed to view the board index...)
- If they're only post-banned, it removes any permissions that allow them to post or modify things
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.122 seconds with 16 queries.
- Forum Search