Documentation

Profile.template.php

Simple Machines Forum (SMF)

Tags
author

Simple Machines https://www.simplemachines.org

copyright

2025 Simple Machines and individual contributors

license

https://www.simplemachines.org/about/smf/license.php BSD

version
3.0

Alpha 2

Table of Contents

Functions

template_profile_above()  : mixed
Minor stuff shown above the main profile - mostly used for error messages and showing that the profile update was successful.
template_profile_below()  : mixed
Template for any HTML needed below the profile (closing off divs/tables, etc.)
template_profile_popup()  : mixed
Template for showing off the spiffy popup of the menu
template_alerts_popup()  : mixed
The "popup" showing the user's alerts
template_alerts_all_read()  : mixed
A simple template to say "You don't have any unread alerts".
template_summary()  : mixed
This template displays a user's details without any option to edit them.
template_showPosts()  : mixed
Template for showing all the posts of the user, in chronological order.
template_showAlerts()  : mixed
Template for showing all alerts
template_showDrafts()  : mixed
Template for showing all of a user's drafts
template_editBuddies()  : mixed
Template for showing and managing the buddy list.
template_editIgnoreList()  : mixed
Template for showing the ignore list of the current user.
template_trackActivity()  : mixed
This template shows an admin information on a users IP addresses used and errors attributed to them.
template_trackIP()  : mixed
The template for trackIP, allowing the admin to see where/who a certain IP has been used.
template_showPermissions()  : mixed
This template shows an admin which permissions a user have and which group(s) give them each permission.
template_statPanel()  : mixed
Template for user statistics, showing graphs and the like.
template_edit_options()  : mixed
Template for editing profile options.
template_profile_pm_settings()  : mixed
Personal Message settings.
template_profile_theme_settings()  : mixed
Template for showing theme settings. Note: template_options() actually adds the theme specific options.
template_alert_configuration()  : mixed
The template for configuring alerts
template_alert_notifications_topics()  : mixed
Template for showing which topics you're subscribed to
template_alert_notifications_boards()  : mixed
Template for showing which boards you're subscribed to
template_groupMembership()  : mixed
Template for choosing group membership.
template_ignoreboards()  : mixed
Template for managing ignored boards
template_load_warning_variables()  : mixed
Simply loads some theme variables common to several warning templates.
template_viewWarning()  : mixed
Template for viewing a user's warnings
template_issueWarning()  : mixed
Template for issuing warnings
template_deleteAccount()  : mixed
Template to show for deleting a user's account - now with added delete post capability!
template_profile_save()  : mixed
Template for the password box/save button stuck at the bottom of every profile page.
template_error_message()  : mixed
Small template for showing an error message upon a save problem in the profile.
template_profile_group_manage()  : mixed
Display a load of drop down selectors for allowing the user to change group.
template_profile_birthdate()  : mixed
Callback function for entering a birthdate!
template_profile_signature_modify()  : mixed
Show the signature editing box?
template_profile_avatar_select()  : mixed
Template for selecting an avatar
template_max_size()  : mixed
This is just a really little helper to avoid duplicating code unnecessarily
template_profile_timeformat_modify()  : mixed
Select the time format!
template_profile_theme_pick()  : mixed
Template for picking a theme
template_profile_smiley_pick()  : mixed
Smiley set picker.
template_tfasetup()  : mixed
Template for setting up and managing Two-Factor Authentication.
template_tfadisable()  : mixed
Template for disabling two-factor authentication.
template_tfasetup_backup()  : mixed
Template for setting up 2FA backup code
template_profile_tfa()  : mixed
Simple template for showing the 2FA area when editing a profile.
template_export_profile_data()  : mixed
Template for initiating and retrieving profile data exports

Functions

template_profile_above()

Minor stuff shown above the main profile - mostly used for error messages and showing that the profile update was successful.

template_profile_above() : mixed

template_profile_below()

Template for any HTML needed below the profile (closing off divs/tables, etc.)

template_profile_below() : mixed

template_profile_popup()

Template for showing off the spiffy popup of the menu

template_profile_popup() : mixed

template_alerts_popup()

The "popup" showing the user's alerts

template_alerts_popup() : mixed

template_alerts_all_read()

A simple template to say "You don't have any unread alerts".

template_alerts_all_read() : mixed

template_summary()

This template displays a user's details without any option to edit them.

template_summary() : mixed

template_showPosts()

Template for showing all the posts of the user, in chronological order.

template_showPosts() : mixed

template_showAlerts()

Template for showing all alerts

template_showAlerts() : mixed

template_showDrafts()

Template for showing all of a user's drafts

template_showDrafts() : mixed

template_editBuddies()

Template for showing and managing the buddy list.

template_editBuddies() : mixed

template_editIgnoreList()

Template for showing the ignore list of the current user.

template_editIgnoreList() : mixed

template_trackActivity()

This template shows an admin information on a users IP addresses used and errors attributed to them.

template_trackActivity() : mixed

template_trackIP()

The template for trackIP, allowing the admin to see where/who a certain IP has been used.

template_trackIP() : mixed

template_showPermissions()

This template shows an admin which permissions a user have and which group(s) give them each permission.

template_showPermissions() : mixed

template_statPanel()

Template for user statistics, showing graphs and the like.

template_statPanel() : mixed

template_edit_options()

Template for editing profile options.

template_edit_options() : mixed

template_profile_pm_settings()

Personal Message settings.

template_profile_pm_settings() : mixed

template_profile_theme_settings()

Template for showing theme settings. Note: template_options() actually adds the theme specific options.

template_profile_theme_settings() : mixed

template_alert_configuration()

The template for configuring alerts

template_alert_configuration() : mixed

template_alert_notifications_topics()

Template for showing which topics you're subscribed to

template_alert_notifications_topics() : mixed

template_alert_notifications_boards()

Template for showing which boards you're subscribed to

template_alert_notifications_boards() : mixed

template_groupMembership()

Template for choosing group membership.

template_groupMembership() : mixed

template_ignoreboards()

Template for managing ignored boards

template_ignoreboards() : mixed

template_load_warning_variables()

Simply loads some theme variables common to several warning templates.

template_load_warning_variables() : mixed

template_viewWarning()

Template for viewing a user's warnings

template_viewWarning() : mixed

template_issueWarning()

Template for issuing warnings

template_issueWarning() : mixed

template_deleteAccount()

Template to show for deleting a user's account - now with added delete post capability!

template_deleteAccount() : mixed

template_profile_save()

Template for the password box/save button stuck at the bottom of every profile page.

template_profile_save() : mixed

template_error_message()

Small template for showing an error message upon a save problem in the profile.

template_error_message() : mixed

template_profile_group_manage()

Display a load of drop down selectors for allowing the user to change group.

template_profile_group_manage() : mixed

template_profile_birthdate()

Callback function for entering a birthdate!

template_profile_birthdate() : mixed

template_profile_signature_modify()

Show the signature editing box?

template_profile_signature_modify() : mixed

template_profile_avatar_select()

Template for selecting an avatar

template_profile_avatar_select() : mixed

template_max_size()

This is just a really little helper to avoid duplicating code unnecessarily

template_max_size(string $type) : mixed
Parameters
$type : string

The type of avatar

template_profile_timeformat_modify()

Select the time format!

template_profile_timeformat_modify() : mixed

template_profile_theme_pick()

Template for picking a theme

template_profile_theme_pick() : mixed

template_profile_smiley_pick()

Smiley set picker.

template_profile_smiley_pick() : mixed

template_tfasetup()

Template for setting up and managing Two-Factor Authentication.

template_tfasetup() : mixed

template_tfadisable()

Template for disabling two-factor authentication.

template_tfadisable() : mixed

template_tfasetup_backup()

Template for setting up 2FA backup code

template_tfasetup_backup() : mixed

template_profile_tfa()

Simple template for showing the 2FA area when editing a profile.

template_profile_tfa() : mixed

template_export_profile_data()

Template for initiating and retrieving profile data exports

template_export_profile_data() : mixed

        
On this page

Search results