-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
adminNotify
Description
Sends all admins an email to let them know a new member has joined.
Syntax
void adminNotify (string $type, int $memberID[, string $memberName])
Parameter $type
Expected type: Enumerated String
Description: The type of registration (currently only approval is used)
Possible string values Allowed values Description 'activate' The member's account needs activating (not used at the moment) 'approval' The admin needs to approve this registration 'standard' Just your ordinary run-of-the-mill registration (not used at the moment)
Parameter $memberID
Expected type: Integer
Description: The ID of the new member
Parameter $memberName
Expected type: String
Description: The username of the new member. If not specified, it will be pulled from the database based on $memberID
Notes
- Types supported are 'approval', 'activation', and 'standard'.
- Called by registerMember() function in Subs-Members.php.
- Email is sent to all groups that have the moderate_forum permission.
- Uses the Login language file.
- Uses the language set by each member (or the forum default if this isn't available)
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.118 seconds with 13 queries.
- Forum Search