承接 humanmade/hm-user-activation 相关项目开发

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

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

humanmade/hm-user-activation

Composer 安装命令:

composer require humanmade/hm-user-activation

包简介

User activation flow handler for the frontend, keeping user activation within a site even on a network.

README 文档

README

Replaces WordPress Multisite's default wp-activate.php flow with a site-level activation page, customisable emails, and block-based templating.

Requirements

  • WordPress Multisite
  • WordPress 6.5+
  • PHP 8.1+

Features

Site-level activation page — on plugin activation a draft page is created, pre-populated with the activation form block and conditional success/error blocks. Publish it and assign it in settings.

Customisable activation email — replaces the default network activation email with one that links to your site's own activation page. Subject, from name, from address, and body are all editable.

Post-activation welcome email — optionally send a follow-up email containing the user's credentials once their account is activated. Independently configurable from the activation email.

Auto-login — optionally log users in immediately after a successful activation (admin-controlled).

Block editor support — three block editor additions for building the activation page:

Block / Variation Purpose
Activation Form Renders the activation key input and submit button
Activation Errors (group variant) Shown only on failure; inner paragraph bound to the error message
Activation Success (group variant) Shown only on success; inner paragraphs bound to username and password

Block bindings — individual binding sources for use anywhere in the editor:

  • Activation: Error message
  • Activation: Username / Activation: Username (formatted)
  • Activation: Password / Activation: Password (formatted)

Setup

  1. Activate the plugin on the target site.
  2. Go to Settings → User Activation and configure:
    • Activation page — select the generated draft page (publish it when ready).
    • Log in page URL — used as {login_url} in the welcome email.
    • Email templates for both the activation and welcome emails.
  3. Users who register will receive your custom activation email linking to the configured page.

Email placeholders

Activation email

{site_name} {site_url} {network_name} {username} {activation_link}

Welcome email

{site_name} {site_url} {network_name} {username} {password} {login_url}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-02-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固