-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
registerMember
Description
Registers a member to the forum.
Syntax
int registerMember (array &$regOptions)
Parameter &$regOptions
Expected type: Array
Description: An array of registration options (set by the RegisterMember function). In addition to the standard fields, this can include any profile fields/options (birthdate, msn, etc.). See Register.php for more info.
Return value
Expected type: Integer
Description: The ID of the newly created member
Notes
- Returns the ID of the newly created member.
- Allows two types of interfaces: 'guest' and 'admin'. The first includes hammering protection, the latter can perform the registration silently.
- The strings used in the options array are assumed to be escaped.
- Preforms various checks
- Adjusts member statistics.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.051 seconds with 13 queries.
- Forum Search