-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
summary
Description
Loads up profile summary info for the specified member and sets up $context stuff for the template.
Syntax
void summary (int $memID)
Parameter $memID
Expected type: Integer
Description: The ID of the member whose profile we're viewing
Notes
- Called from ModifyProfile
- Usually accessed from ?action=profile or ?action=profile;u={user_id} since this is the first sub-action that most users can see
- Specifically accessed by appending ;sa=summary to one of the above querystrings
- Loads the member context and theme data
- Calculates the member's age based on their birthday if they've entered one
- Calculates the "posts per day" statistic based on how many posts the member has made and how long they've been registered
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.017 seconds with 13 queries.
- Forum Search