定制 ralkage/flarum-ext-profile-messages 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ralkage/flarum-ext-profile-messages

Composer 安装命令:

composer require ralkage/flarum-ext-profile-messages

包简介

Allow users to post public messages on other users' profile pages

README 文档

README

License: MIT

Public profile wall messages for Flarum, similar to XenForo's visitor messages. Users can post formatted messages on each other's profiles with threaded replies.

image

Features

Messaging

  • Profile wall messages — Post public messages on any user's profile page
  • Threaded replies — Reply to messages with expandable reply threads
  • Rich content — Full Flarum composer with markdown, BBCode, emoji, and media support
  • Composer preview — Preview rendered content before posting via the eye icon

Moderation

  • Report system — Report messages as inappropriate, spam, harassment, or other with detail text
  • Edit messages — Authors can edit their own; admins/mods can edit any (permission-based)
  • Delete messages — Authors, profile owners, and admins can delete messages
  • Report count badge — Admins see report count on flagged messages

Profile Settings

  • Disable profile messages — Users can block messages on their profile (Privacy settings)
  • Default profile view — Users can set Profile Messages as their default profile tab (Privacy settings)

Other

  • Permalinks — Click the timestamp to see full date and a copyable permalink
  • In-app notifications — Profile owners are notified when someone posts on their profile
  • Pagination — Messages load 20 at a time with "Load More"
  • Guest-visible — Profile messages are visible to guests (posting requires login)

Installation

composer require ralkage/flarum-ext-profile-messages
php flarum migrate
php flarum cache:clear

Enable the extension in the admin panel under Extensions > Profile Messages.

Permissions

Configure in the admin panel under the extension's permissions tab:

Permission Category Description
Post profile messages Reply Allow users to post messages on profiles
Delete own profile messages Reply Allow users to delete their own messages
Edit any profile message Moderate Allow moderators to edit any message

Profile owners can always delete any message on their own profile.

User Settings

Users can configure these in Settings > Privacy:

Setting Description
Disable profile messages from other users Blocks all messages on your profile
Show Profile Messages as default profile view Visitors see messages tab first on your profile

API Endpoints

Method Endpoint Description
GET /api/profile-messages List messages (filter by user, parent)
GET /api/profile-messages/{id} Show single message
POST /api/profile-messages Create message or reply
PATCH /api/profile-messages/{id} Edit message
DELETE /api/profile-messages/{id} Delete message
POST /api/profile-messages/preview Preview formatted content
POST /api/profile-message-reports Report a message

Requirements

  • Flarum ^1.8
  • PHP 8.0+

Links

License

MIT License. See LICENSE for details.

统计信息

  • 总下载量: 775
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固