Linux 软件免费装
Banner图

Axiom Contact Form for NTFY

开发者 axiomeventsystems
更新时间 2026年11月11日 07:18
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

contact form notifications push notifications self-hosted ntfy

下载

1.2.15

详情介绍:

Axiom Contact Form for NTFY is an independent plugin by Axiom Event Systems that sends contact form submissions to ntfy as a notification. It is a client for the ntfy service and is not affiliated with, sponsored by, or endorsed by the ntfy project. It adds a lightweight contact form that is dropped onto any page with the [ntfy_contact_form] shortcode. Each submission is published to an ntfy topic, so staff get a push notification on their phone, desktop or in the ntfy web app instead of relying on email. Try it without installing: run the plugin in WordPress Playground — a throwaway WordPress boots in your browser with the plugin installed, the settings screen open and a demo page using the shortcode. Highlights Security notes

安装:

  1. Upload the axiom-contact-form-for-ntfy folder to /wp-content/plugins/, or install the ZIP through Plugins → Add New → Upload Plugin.
  2. Activate the plugin.
  3. Open Axiom Contact Form → Settings and set the server, topic and authentication method.
  4. Use Send test notification to confirm delivery.
  5. Add [ntfy_contact_form] to a page, post, widget or block.

屏幕截图:

  • The form rendered on a page with site colours.

升级注意事项:

1.2.15 Styling for the Messages screen moved out of an inline style block into a stylesheet that is enqueued on that screen only. Nothing visible changed and no settings are affected. 1.2.14 Renamed to Axiom Contact Form for NTFY, with the slug axiom-contact-form-for-ntfy, to make clear this is an Axiom Event Systems plugin that integrates with ntfy. No settings, messages or shortcode changed. 1.2.13 The test notification button now appears only on the Connection tab. No settings change. 1.2.12 The title used when a visitor supplies a subject is now editable, and the notification preview shows tags before the title, the way the ntfy app does. 1.2.11 The reply that the “Text back” button pre-fills is now editable on the Notification tab. No other settings change. 1.2.10 Branding release: the plugin is now credited to Axiom Event Systems. No functional changes, no settings changes. 1.2.9 Fixes the button-only launcher ignoring your custom colours. No settings changes. 1.2.8 Adds an eleventh form style with labels on the field border, and an optional button-only display that opens the form in a blurred overlay. 1.2.7 The Appearance tab now offers ten form styles and an optional floating form that can be pinned to any of nine positions on the screen. 1.2.6 Phone numbers are now normalised: US and Canadian numbers no longer get a plus sign, and the phone field formats as (415) 555-0132 while typing. 1.2.5 The Notification tab gains Site on/off, an emoji short-code generator and a “Text back” action button for visitors who ask for a text reply. Settings are unchanged; the new options default to on. 1.2.4 The live form preview now appears only on the Form and Appearance tabs, and the Notification tab gains a preview of the title, tags and message as the ntfy app shows them. No settings changes. 1.2.3 Shows only the authentication fields the selected mode needs, so the token and username/password rows no longer clutter the Connection tab. Saved values are kept. No settings changes. 1.2.2 Fixes the Connection, Notification, Form and Appearance tabs showing the same empty content: the tab needed the real settings-section key, so no fields were matched. No settings changes. 1.2.1 Fixes the settings tabs, which could start hidden and never appear if the admin script did not load, and cleans up two status-message sanitisation warnings. No settings changes. 1.2.0 Moves the settings and message log into their own Axiom Contact Form menu, splits the settings into Connection, Notification, Form and Appearance tabs, and adds a live preview of the form. No settings or stored messages are affected. 1.1.0 Adds a database log of every submission under Axiom Contact Form → Messages, with Sent/Failed status and the failure reason, so messages are never lost when the ntfy server is unreachable. The log table is created automatically on update. No settings changes needed.

常见问题:

Can I use a self-hosted ntfy server?

Yes. Enter the base URL, for example https://notify.example.com. Do not include a topic or a trailing slash.

Which topic name should I use?

Topics may contain letters, numbers, underscores and hyphens, 1–64 characters. Subscribe to the same topic in the ntfy app or web UI to receive the messages.

Why did the test fail with HTTP 403?

The topic is protected by your ntfy server's access control. Switch authentication to an access token or username/password, and make sure that account may publish to the topic.

Can I change the colours?

Yes. Either leave Use the site colours enabled (text, borders and font inherit from the theme, and the accent is taken from the theme palette when available), or turn it off and set explicit colours. Shortcodes accept accent and use_site_colors overrides.

Does it store submissions in WordPress?

Yes. Each accepted submission is written to a dedicated database table (wp_ntcf_messages) before the ntfy request is made, then marked Sent or Failed with the error detail. Read them under Axiom Contact Form → Messages. Deleting the plugin removes the table and its contents.

Where do I see why a notification failed?

Open Axiom Contact Form → Messages; the Status column shows Failed with the reason (for example ntfy returned HTTP 403). The message itself is still stored, so you can act on it even though no push arrived.

Can I try it before installing it on my site?

Yes. WordPress Playground runs WordPress in the browser; the plugin is installed and activated, and the settings screen opens first. If the environment has outbound network access disabled, notifications cannot be delivered and every submission is stored with status Failed — the same view you get when a real server is unreachable. Nothing is sent anywhere until you enter a topic and submit or press Send test notification.

更新日志:

1.2.15 1.2.14 1.2.13 1.2.12 1.2.11 1.2.10 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.0 1.0.0