Documentation

ModerationCenter.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_moderation_center()  : mixed
The main moderation center.
template_group_requests_block()  : mixed
Show all the group requests the user can see.
template_watched_users()  : mixed
A list of watched users
template_reported_posts_block()  : mixed
A list of reported posts
template_reported_users_block()  : mixed
A list of reported users
template_notes()  : mixed
Little section for making... notes.
template_unapproved_posts()  : mixed
Show a list of all the unapproved posts
template_user_watch_post_callback()  : string
Callback function for showing a watched users post in the table.
template_moderation_settings()  : mixed
The moderation settings page.
template_show_notice()  : mixed
Show a notice sent to a user.
template_warn_template()  : mixed
Add or edit a warning template.

Functions

template_group_requests_block()

Show all the group requests the user can see.

template_group_requests_block() : mixed

template_user_watch_post_callback()

Callback function for showing a watched users post in the table.

template_user_watch_post_callback(array<string|int, mixed> $post) : string
Parameters
$post : array<string|int, mixed>

An array of data about the post.

Return values
string

An array of HTML for showing the post info.


        
On this page

Search results