承接 wszdb/flarum-shareurl 相关项目开发

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

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

wszdb/flarum-shareurl

最新稳定版本:v0.1

Composer 安装命令:

composer require wszdb/flarum-shareurl

包简介

A Flarum plugin that adds external link warning and one-click copy link functionality

README 文档

README

English | 简体中文

Flarum ShareURL Plugin

A Flarum plugin that adds external link warning and one-click copy link functionality to enhance forum security and user experience.

Features

  • 🔗 External Link Warning: When users click on external links, a modal warning will appear to alert them about potential risks. Users can choose to proceed or cancel.
  • ⚙️ Admin Configurable Warning Text: Administrators can customize the warning message displayed to users.
  • 📝 Whitelist Keywords: Set up comma-separated keywords for external links that should bypass the warning (e.g., trusted domains).
  • 📋 One-Click Copy Link: Adds a "Copy and Share" button to discussion pages, allowing users to quickly copy the post title and URL.
  • 🔧 Admin Toggle: Enable or disable copy link functionality through the admin panel.
  • 🌐 Multilingual Support: Full support for both English and Chinese languages.

Installation

  1. Install the plugin via Composer:
composer require wszdb/flarum-shareurl
  1. Enable the plugin in the Flarum admin panel.

  2. Configure the settings in the admin panel:

    • Set your custom warning text
    • Add whitelist keywords (comma-separated)
    • Enable/disable copy link button

Usage

For Users

  • External Links: When clicking on external links, you'll see a security reminder. Click "Confirm" to proceed or "Cancel" to stay on the current page.
  • Copy Link: In discussion pages, click the "Copy and Share" button in the sidebar to copy the post title and URL to your clipboard.

For Administrators

  1. Go to Admin Panel → Extensions → ShareURL → Settings
  2. Configure the following options:
    • Warning Text: Customize the message shown to users when they click external links
    • Whitelist Keywords: Add trusted domains or keywords (comma-separated) that won't trigger the warning
    • Enable Copy Link Button: Toggle the visibility of the copy link button

Screenshots

Coming soon...

Requirements

  • Flarum 1.0 or higher
  • PHP 7.4 or higher
  • Composer

License

MIT License

Support

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Author

Developed by wszdb

This plugin was automatically developed using AiPy.

Code: XOFS

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固