承接 clarkwinkelmann/flarum-ext-anonymous-posting 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

clarkwinkelmann/flarum-ext-anonymous-posting

Composer 安装命令:

composer require clarkwinkelmann/flarum-ext-anonymous-posting

包简介

Anonymous discussions and replies for logged in users

README 文档

README

MIT license Latest Stable Version Total Downloads Donate

This extension allows users to create discussions and replies without revealing their usernames except to moderators.

Moderators can also switch existing discussions and posts between anonymous and regular. The discussion and first post must be updated separately!

Optionally, you can set all new content to be anonymous by default and the permissions will then control who is allowed to post publicly.

Anonymous post authors can still edit their posts like if they were regular posts from them. Anonymous posts are made visible to moderators and authors on their user profile, but regular users can't see the association.

Unfortunately the author of the anonymous content will still be rendered as [deleted] by Flarum in some places. You can use the Prominent Post Numbers extension to switch some of these texts to the post number instead.

Some Flarum notification templates are not able to handle posts without authors and will throw PHP warnings while trying to access properties of null objects. If you hide PHP warnings output in php.ini most notifications should continue to send fine without errors and will just show the raw translation placeholder where a display name is supposed to be.

Most notifications should continue working, but the anonymous authors will not get notifications about their anonymous content. Only reply notifications have been re-implemented to be forwarded to the anonymous author.

You should not use the Author Change extension on an anonymous post, it can lead to unexpected errors. Instead, you should first de-anonymize the post before changing the author.

Installation

This extension requires PHP 7.4 or higher.

composer require clarkwinkelmann/flarum-ext-anonymous-posting

Anonymous Avatars

The anonymous avatars feature allows customizing the avatar of anonymous posts based on attributes of the real author's profile.

This feature requires the premium Formulaire extension which can be purchased via Extiverse.

The feature maps Formulaire field values to custom avatar URLs. If multiple of the conditions match, the first one will be used.

Each condition consists of:

  • Form ID: the Formulaire profile form ID. You can enter the database ID, the public UID or the public slug. The value will be converted to ID during save.
  • Field Key: the unique ID of the field inside the form. This value can be found/modified via "Expert Mode" in Formulaire.
  • Field Value: the value of the field to check against. Exact matches only. For "Date", the format is YYYY-MM-DD. For "Checkboxes", "Radio" and "Dropdown" fields, this is the hidden option ID that can be found/modified via "Expert Mode".
  • Avatar URL: a value to be applied to the image's src attribute. Example: https://cdn.example.com/image.png or /assets/anonymous-avatars/image.png.

"Upload" and "Multi-select" fields cannot be used in conditions.

In fields that accept multiple answers, each answer will be evaluated separately. There is no way to check for a combination of answers being selected together.

I recommend setting manual fields and options keys via "Expert Mode" to every field used by this feature, as it makes the settings a lot more readable. But do not change keys on a form that already has answers! See Warnings in Formulaire documentation.

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Sponsors: andyli0123

Links

clarkwinkelmann/flarum-ext-anonymous-posting 适用场景与选型建议

clarkwinkelmann/flarum-ext-anonymous-posting 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.82k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2022 年 05 月 16 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「anonymous」 「flarum」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 clarkwinkelmann/flarum-ext-anonymous-posting 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 clarkwinkelmann/flarum-ext-anonymous-posting 我们能提供哪些服务?
定制开发 / 二次开发

基于 clarkwinkelmann/flarum-ext-anonymous-posting 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-16