[WordPress] 外掛分享: Ultimate Integration for Telegram

首頁外掛目錄 › Ultimate Integration for Telegram
WordPress 外掛 Ultimate Integration for Telegram 的封面圖片
20+
安裝啟用
尚無評分
197 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.5.4 上架:2025-03-07

內容簡介

<!DOCTYPE html>
<html>

<head>
<title>WordPress 外掛介紹</title>
</head>

<body>
<h2>總結:</h2>
<p>Ultimate Integration for Telegram 是連接 WordPress 和 WooCommerce 到 Telegram 的終極解決方案。這個外掛讓您可以將自定義通知發送至 Telegram 的頻道、群組、機器人或私人聊天中。擁有 Markdown 驗證器、大量巨集和通知管理器等功能,確保您的 Telegram 自動化運作是流暢且高效的。</p>

<h2>問題與答案:</h2>
<ul>
<li>
<h3>這個外掛提供了哪些強大功能?</h3>
<p>這個外掛提供了強大功能,包括動態翻譯管理、gettext 替換和字符串定制,可為您的觀眾打造定製訊息。同時完全支持 WooCommerce 核心和熱門附加元件,如 WooCommerce 訂閱、WooCommerce 會員、WooCommerce 預訂、WooCommerce 積分獎勵以及 WooCommerce 多貨幣。</p>
</li>

<li>
<h3>這個外掛的主要功能是什麼?</h3>
<p>主要功能包括全面的通知面板,用於輕鬆管理 WordPress、WooCommerce 和相容的附加元件的通知;以及能夠在 Telegram 頻道、群組、機器人或私人聊天中發送警報的功能。</p>
</li>

<li>
<h3>這個外掛的特色之一是什麼?</h3>
<p>這個外掛具有內建的 Jalali (Shamsi) 日期支持功能,能夠自動將公曆日期轉換為 Jalali 日期,以滿足波斯語聽眾的需求。</p>
</li>
</ul>
</body>

</html>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Ultimate Integration for Telegram」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Ultimate Integration for Telegram is the ultimate solution for connecting WordPress and WooCommerce to Telegram. With this plugin, you can send customized notifications to Telegram channels, groups, bots, or private chats. Packed with features like a Markdown Validator, extensive macros, and a notifications manager, this plugin ensures your Telegram automation is seamless and efficient.
The plugin offers powerful features like dynamic translation management, gettext replacement, and string customization to tailor messages for your audience. Designed for flexibility, it fully supports WooCommerce core and popular add-ons such as WooCommerce Subscription, WooCommerce Membership, WooCommerce Booking, WooCommerce Points and Reward, and WooCommerce Multi-Currency. With extensive developer hooks and filters, it’s open for seamless customization and new integrations. Whether for business, e-commerce, or automation, this plugin is the ultimate solution for managing Telegram notifications directly from your WordPress site.
Features

Comprehensive Notifications Panel: Manage notifications for WordPress, WooCommerce, and supported add-ons with ease.
Send Notifications Anywhere: Send alerts to Telegram channels, groups, bots, or private chats.
WooCommerce & Add-on Support: Fully supports WooCommerce and popular extensions, including:

WooCommerce Subscriptions
WooCommerce Memberships
WooCommerce Bookings
WooCommerce Points and Rewards
WooCommerce Multi-Currency

Built-in Jalali (Shamsi) Date Support: Automatically convert Gregorian dates to Jalali for Persian-speaking audiences.
Import/Export Notifications: Easily migrate or duplicate notification settings across websites with JSON import/export.
Macros for Dynamic Content: Customize notifications and buttons with an extensive list of predefined macros.
Built-in Translation Manager: Dynamically translate and replace strings using the built-in gettext manager.
String Replacement Tool: Replace placeholders or dynamic text in notifications effortlessly.
HTML and Markdown Support: Create visually appealing messages with flexible formatting options.
Markdown Validator: Validate messages for correct Markdown formatting to prevent rendering issues in Telegram.
Custom Buttons: Add interactive buttons to your Telegram messages for better user engagement.
Developer-Friendly: Extend functionality using extensive hooks and filters for full customization.

Available Macros
Macros are placeholders that get dynamically replaced with actual values in your Telegram messages and buttons. Below is a sample list of macros available in the plugin.
You can find the complete list of macros in the plugin under the Notifications > Available Macros section.
General Macros

{current_date}: Current date.
{current_time}: Current time.
{current_date_time}: Current date and time.
{current_user_id}: Current user ID.
{current_user_name}: Current user name.
{site_name}: Website name.
{site_url}: Website URL.

WooCommerce Order Details

{order_id}: Order ID.
{order_number}: Order number.
{order_status}: Order status.
{order_total}: Total order amount.
{order_subtotal}: Order subtotal amount.
{order_tax_total}: Total tax amount.
{order_discount_total}: Total discount amount.
{customer_name}: Customer name.
{customer_email}: Customer email.
{customer_phone}: Customer phone number.

WooCommerce Order URLs

{edit_url}: Order edit URL (Admin).
{view_url}: Order view URL (Customer).
{pay_url}: Order payment URL.
{cancel_url}: Order cancel URL.
{thank_you_url}: Order thank-you page URL.
{tracking_url}: Order tracking URL.

WooCommerce Add-ons

WooCommerce Subscription:

{subscription_id}: Subscription ID.
{subscription_status}: Subscription status.
{subscription_total}: Subscription total amount.
{subscription_start_date}: Subscription start date.
{subscription_end_date}: Subscription end date.

WooCommerce Membership:

{membership_plan}: Membership plan name.
{membership_status}: Membership status.
{membership_start_date}: Membership start date.
{membership_end_date}: Membership expiration date.

WooCommerce Booking:

{booking_id}: Booking ID.
{booking_status}: Booking status.
{booking_date}: Booking date.
{booking_start_time}: Booking start time.
{booking_end_time}: Booking end time.

Sample Messages
Here are some examples of how you can use macros in your notifications:
Example 1: New Order Notification
Message:
🎉 New Order Received! 🎉

Order ID: {order_id}
Customer: {customer_name}
Total: {order_total}

View Order: {edit_url}

Example 2: Subscription Renewal Reminder
Message:
🔔 Subscription Renewal Alert 🔔

Subscription ID: {subscription_id}
Plan: {membership_plan}
Next Payment Date: {subscription_end_date}

Example 3: Booking Confirmation
Message:
✅ Booking Confirmed ✅

Booking ID: {booking_id}
Date: {booking_date}
Start Time: {booking_start_time}
End Time: {booking_end_time}

Supported Add-ons and Plugins
In addition to WordPress Core and WooCommerce, the plugin also supports:
– Gravity Forms
– Contact Form 7
– WooCommerce Subscription
– WooCommerce Membership
– WooCommerce Booking
– WooCommerce Points and Reward
– WooCommerce Multi-Currency
The plugin is also open to integration with other plugins via hooks and filters.
How to Setup the Plugin

Install the Plugin: Upload and activate it via the WordPress admin dashboard.
Configure General Settings:

Go to Settings > Telegram.
Enter your Telegram Bot Token and username.
Enable or disable options like Jalali date conversion and admin bar link.

Connect the Telegram Bot:

Click “Connect Webhook” to enable Telegram integration.
Use “Send Test Message” to verify the setup.

Create Notifications:

Navigate to the Notifications tab to manage or add new notifications.
Customize the message, macros, and formatting for each notification type.

How to Setup a Telegram Bot

Open Telegram and search for @BotFather.
Start a chat and use the /newbot command to create a bot.
Follow the instructions to name your bot and get the Bot Token.
Paste the token into the plugin’s settings under Your Bot Token.
Use /setprivacy in BotFather to allow the bot to receive messages.

How to Add Custom Notifications

Go to the Notifications tab in the plugin settings.
Select an existing notification or create a new one.
Customize the message and macros for each event (e.g., WooCommerce order created, status changed, email sent).
Save the notification to enable it.

Import/Export Notifications

Use the Import/Export button in the Notifications tab to transfer settings.
Export configurations as JSON to duplicate them on another website.
Import JSON files to quickly set up predefined notifications.

Disclaimer and Warranty
This plugin is provided “as is” without any warranties, express or implied. While every effort has been made to ensure reliability and security, the developers are not responsible for any issues arising from its use. Always test in a staging environment before deploying to production.
Contribution and Support
We welcome contributions to improve the plugin! If you have feature requests, bug reports, or suggestions, please create a GitHub issue or pull request.
Github Repository: https://github.com/pigment-dev/ultimate-integration-for-telegram
For support, contact us at support (at) pigment (dot) dev.
Third-Party & External Resources Used
This plugin utilizes the following third-party libraries to enhance functionality:

Tippy.js v6.3.7

Description: Tippy.js is a lightweight, customizable tooltip library. It is used in this plugin to provide user-friendly tooltips for better UI/UX.
License: MIT License
Source: https://atomiks.github.io/tippyjs/

jQuery Repeater v1.2.2

Description: jQuery Repeater is a library that allows dynamic addition and removal of form fields. It is used in this plugin to manage repeatable input fields.
License: MIT License
Source: https://github.com/DubFriend/jquery.repeater

Font Awesome (Free Version)

Description: Font Awesome is used to provide icons ONLY on the plugin’s settings page for a better user experience.
Source: https://github.com/FortAwesome/Font-Awesome
License: Font Awesome Free License.
No Account Required: No additional setup or account is needed.

Chosen.js v1.8.7

Description: Chosen is a library for making long, unwieldy select boxes more user-friendly. It is used in this plugin to enhance the user experience when selecting options.
Source: https://harvesthq.github.io/chosen/
License: MIT License.
No Account Required: No additional setup or account is needed.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon