-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
isBannedEmail
Description
Checks if a given email is banned. Throws an error and logs the ban if the address is fully banned or has the specified ban restriction applied to it.
Syntax
void isBannedEmail (string $email, string $restriction, string $error)
Parameter $email
Expected type: String
Description: An email address to check
Parameter $restriction
Expected type: Enumerated String
Description: A string indicating what type of ban restriction to check (see BanEdit in ManageBans.php for more details)
Parameter $error
Expected type: String
Description: A specific error message that should be given to the user (ie "You've been post banned!" or a specific $txt string)
Notes
- Performs an immediate ban if the check turns out positive.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.126 seconds with 13 queries.
- Forum Search