ZeroByteCode Auto Share thumbnail
Home ยป WordPress ยป ZeroByteCode Auto Share

ZeroByteCode Auto Share

A powerful WordPress plugin that automatically shares published posts to Telegram channels and Discord webhooks. Designed specifically for the ZeroByteCode ecosystem with advanced license inheritance and seamless integration.

ZeroByteCode Auto Share Plugin Overview

ZeroByteCode Auto Share Telegram and Discord

ZeroByteCode Auto Share is a premium WordPress plugin designed to automatically distribute published content to Telegram channels and Discord webhooks.

This plugin is specifically built for the ZeroByteCode ecosystem and features an innovative license inheritance system that eliminates the need for separate licensing.

ZeroByteCode Auto Share WordPress Plugin

ZeroByteCode Auto Share

View Details

The ZeroByteCode Auto Share plugin is a WordPress solution designed to automatically share published posts to Telegram channels and Discord webhooks. One of its key advantages is that it inherits its license from parent ZeroByteCode plugins, eliminating the need for a separate license. The plugin supports sharing to multiple Telegram bots and channels, as well as unlimited Discord webhooks. It also offers advanced configuration options, including the ability to create custom messages, support for multiple channels, and individual controls for precise management.

Download

Key Innovation: Smart License Inheritance

The plugin’s standout feature is its automatic license inheritance from any active ZeroByteCode parent plugin, including WPJav Core, SceneFlix Core, WPDoods, or WPStape.

This means users don’t need a separate license key – the plugin automatically inherits licensing from existing ZeroByteCode products, providing seamless integration and zero-configuration setup.

Multi-Platform Auto Sharing Capabilities

ZeroByteCode Auto Share Discord and Telegram

The plugin supports unlimited Telegram bot tokens and Discord webhook URLs, automatically sharing content when posts are initially published (not on updates).

It intelligently detects supported post types including standard WordPress posts, movies, and TV shows when SceneFlix Core is active. Users can configure multiple channels and webhooks with individual enable/disable controls.

Advanced Configuration and Manual Controls

Beyond automatic sharing, the plugin offers extensive manual sharing options through admin list actions and post edit meta boxes.

It includes built-in connection testing with real-time feedback, custom message formatting using dynamic placeholders like {title}, {url}, and {site_name}, and comprehensive error diagnostics for troubleshooting.

Developer-Friendly and Conflict Prevention

The plugin provides extensive developer hooks including actions and filters for customization, supports extending post types, and features smart conflict prevention with other ZeroByteCode plugins.

It includes console error suppression and targeted script management to ensure a clean admin experience without interfering with other plugin functionality.

Professional Support and Updates

As proprietary software exclusively for ZeroByteCode commercial plugins, it receives automatic updates through the ZeroByteCode server without requiring separate licensing.

The plugin comes with comprehensive documentation, support portal access, and detailed troubleshooting guides for common issues related to Telegram/Discord connectivity and license inheritance.

๐Ÿš€ Key Features

WordPress PHP License

โœจ Smart License Inheritance

  • Automatic Updates: Inherits licenses from any active ZeroByteCode parent plugin
  • Required plugins: WPJav Core, SceneFlix Core, WPDoods, or WPStape
  • Zero Configuration: No separate license key required
  • Status Display: Shows license source in plugin list

๐Ÿ”„ Multi-Platform Auto Sharing

  • Telegram Integration: Unlimited bot tokens and channels
  • Discord Integration: Multiple webhook URLs support
  • Smart Triggers: Only shares on initial publication, not updates
  • Post Type Aware: Automatically detects supported content types

๐ŸŽ›๏ธ Advanced Configuration

  • Multiple Channels: Configure unlimited Telegram channels per platform
  • Multiple Webhooks: Set up different Discord webhooks for various purposes
  • Custom Messages: Rich message formatting with dynamic placeholders
  • Individual Controls: Enable/disable channels and webhooks independently

๐Ÿ› ๏ธ Manual Sharing Controls

  • Admin List Actions: Quick share buttons in post lists
  • Post Edit Meta Box: Share controls on individual post screens
  • Re-sharing: Share existing posts anytime
  • Bulk Operations: Efficient management of multiple posts

๐Ÿงช Built-in Testing

  • Connection Testing: Verify Telegram and Discord configurations
  • Custom Test Messages: Send personalized test content
  • Real-time Feedback: AJAX-powered testing interface
  • Error Diagnostics: Detailed error reporting and troubleshooting

๐Ÿ”ง Conflict Prevention

  • Smart Isolation: Prevents conflicts with other ZeroByteCode plugins
  • Minimal Interference: Non-aggressive approach preserving other plugin functionality
  • Console Error Suppression: Clean admin experience
  • Targeted Script Management: Selective dequeuing of problematic scripts

๐Ÿ“‹ Requirements

Parent Plugin Dependency

This plugin requires at least one of the following ZeroByteCode plugins to be active:

Plugin Slug Link
WPJav Core wpjav-core Product Link
SceneFlix Core sceneflix-core Product Link
WPDoods wpdoods Product Link
WPStape wpstape Product Link

System Requirements

  • WordPress: 6.0 or higher
  • PHP: 7.4 or higher
  • cURL: Enabled for API communications
  • JSON: Extension enabled

๐ŸŽฏ Supported Post Types

The plugin automatically detects and supports:

  • ๐Ÿ“ Posts (WordPress default)
  • ๐ŸŽฌ Movies (movie) – when SceneFlix Core is active
  • ๐Ÿ“บ TV Shows (tv) – when SceneFlix Core is active
  • ๐ŸŽญ Custom Typesextensible via filters

๐Ÿ“ Message Placeholders

Create dynamic messages using these placeholders:

Placeholder Description Example
{title} Post title “Avengers: Endgame”
{url} Post permalink “https://site.com/movie/avengers”
{site_name} Site name “My Movie Site”
{site_url} Homepage URL “https://site.com”
{author} Author display name “John Doe”
{excerpt} Post excerpt “Epic superhero finale…”
{date} Publication date “2024-01-15”

๐Ÿš€ Installation

Method 1: Direct Upload

  1. Download the plugin package
  2. Upload to /wp-content/plugins/zerobytecode-auto-share/
  3. Activate through Plugins screen in WordPress
  4. Ensure a parent ZeroByteCode plugin is active
  5. Navigate to Auto Share in admin menu

Method 2: WordPress Admin

  1. Go to Plugins > Add New
  2. Upload the plugin ZIP file
  3. Click Install Now and Activate
  4. Follow configuration steps below

โš™๏ธ Configuration

๐Ÿ“ฑ Telegram Setup

For full complete tutorial, read our article on how to create a Telegram bot token.

Step 1: Create Bot

  1. Message @BotFather on Telegram
  2. Send /newbot command
  3. Follow prompts to create your bot
  4. Save the Bot Token provided

Step 2: Setup Channel

  1. Create or use existing Telegram channel
  2. Add your bot as administrator
  3. Get Channel ID using @userinfobot
  4. Format: @channelname or -1001234567890

Step 3: Plugin Configuration

  1. Go to Auto Share > Telegram tab
  2. Click Add Telegram Channel
  3. Enter:
    • Channel Name: Descriptive name
    • Bot Token: From BotFather
    • Channel ID: From step 2
  4. Enable the channel
  5. Click Test Connection to verify

๐Ÿ’ฌ Discord Setup

For full complete tutorial, read our article on how to set up Discord webhooks.

Step 1: Create Webhook

  1. Open Discord server settings
  2. Go to Integrations > Webhooks
  3. Click Create Webhook
  4. Select target channel
  5. Copy Webhook URL

Step 2: Plugin Configuration

  1. Go to Auto Share > Discord tab
  2. Click Add Discord Webhook
  3. Enter:
    • Webhook Name: Descriptive name
    • Webhook URL: From Discord
  4. Enable the webhook
  5. Click Test Connection to verify

๐ŸŽจ Message Customization

Default Telegram Format:

๐Ÿ“บ {title}
๐ŸŽฌ Watch here ๐Ÿ‘‡
{url}
#movie #entertainment

Default Discord Format:

@everyone
๐Ÿ“ฃ New content from {site_name}
๐Ÿ“บ **{title}**
๐ŸŽฌ Watch here ๐Ÿ‘‰ {url}
Posted by {author} on {date}

๐ŸŽฎ Usage

Automatic Sharing

  • Posts automatically share when published (not on updates)
  • Only enabled channels/webhooks receive notifications
  • Supports all configured post types
  • Respects individual channel settings

Manual Sharing

From Post List:

  1. Go to Posts or custom post type list
  2. Hover over post title
  3. Click Send to Telegram or Send to Discord
  4. Confirm in popup dialog

From Post Editor:

  1. Edit any post
  2. Find Auto Share meta box
  3. Click platform-specific share buttons
  4. View sharing status and history

Testing Connections

  1. Go to Auto Share settings
  2. Configure channel/webhook
  3. Click Test Connection
  4. Enter custom test message (optional)
  5. Verify message appears in target platform

๐Ÿ”Œ Developer Hooks

Actions

// Before sending to platforms
do_action('zbcas_before_telegram_send', $post_id, $channel_config);
do_action('zbcas_before_discord_send', $post_id, $webhook_config);
// After sending to platforms
do_action('zbcas_after_telegram_send', $post_id, $result, $channel_config);
do_action('zbcas_after_discord_send', $post_id, $result, $webhook_config);
// Post status transitions
do_action('zbcas_post_shared', $post_id, $platforms);

Filters

// Customize messages before sending
add_filter('zbcas_telegram_message', function($message, $post_id, $channel) {
    return $message . "\n\n#custom #hashtag";
}, 10, 3);
add_filter('zbcas_discord_message', function($message, $post_id, $webhook) {
    return "๐Ÿ”ฅ " . $message;
}, 10, 3);
// Extend supported post types
add_filter('zbcas_supported_post_types', function($post_types) {
    $post_types[] = 'custom_type';
    return $post_types;
});
// Customize placeholder values
add_filter('zbcas_message_placeholders', function($placeholders, $post_id) {
    $placeholders['{custom}'] = 'Custom Value';
    return $placeholders;
}, 10, 2);

๐Ÿ› Troubleshooting

Common Issues

โŒ Posts Not Sharing Automatically

  • โœ… Verify auto-sharing is enabled for post type
  • โœ… Check Telegram/Discord credentials
  • โœ… Ensure post is being published, not updated
  • โœ… Confirm channels/webhooks are enabled

โŒ Telegram Connection Fails

  • โœ… Verify bot token format: 1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
  • โœ… Ensure bot is added to channel as administrator
  • โœ… Check channel ID format: @channelname or -1001234567890
  • โœ… Test with @userinfobot

โŒ Discord Connection Fails

  • โœ… Verify complete webhook URL
  • โœ… Check webhook hasn’t been deleted
  • โœ… Ensure proper channel permissions
  • โœ… Test webhook in Discord settings

โŒ License Issues

  • โœ… Ensure parent ZeroByteCode plugin is active
  • โœ… Verify parent plugin has valid license
  • โœ… Check plugin action links for license status
  • โœ… Deactivate and reactivate to refresh license cache

Debug Mode

Enable WordPress debugging for detailed error logs:

// wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

Check logs at: /wp-content/debug.log

Console Debugging

Open browser console on admin pages to see:

  • Script loading confirmations
  • AJAX request/response details
  • Conflict prevention status
  • Tab functionality logs

๐Ÿ”„ Updates & Licensing

Automatic Updates

  • Updates delivered via ZeroByteCode server
  • License inherited from parent plugins
  • No separate license key required
  • Update notifications in WordPress admin

License Status

Check plugin list for license status:

  • ๐ŸŸข Licensed via [Parent Plugin]: Updates available
  • ๐Ÿ”ด No Parent License: Updates unavailable

๐Ÿ“ž Support

For technical support and feature requests:

๐Ÿ“‹ Changelog

Version 1.0.0 (Latest)

  • ๐ŸŽ‰ Initial release
  • ๐Ÿ“ฑ Telegram integration
  • ๐Ÿ’ฌ Discord integration
  • ๐Ÿ”„ Multiple channel/webhook support
  • ๐ŸŽจ Custom message formatting
  • ๐Ÿ› ๏ธ Manual sharing capabilities
  • ๐Ÿงช Connection testing
  • ๐ŸŒ Multi-language support

Version 1.0.0

  • ๐ŸŽ‰ Initial release
  • ๐Ÿ“ฑ Telegram integration
  • ๐Ÿ’ฌ Discord integration
  • ๐Ÿ”„ Multiple channel/webhook support
  • ๐ŸŽจ Custom message formatting
  • ๐Ÿ› ๏ธ Manual sharing capabilities
  • ๐Ÿงช Connection testing
  • ๐ŸŒ Multi-language support

๐Ÿ“„ License

This plugin is proprietary software designed exclusively for use with ZeroByteCode commercial WordPress plugins. Unauthorized distribution or modification is prohibited.


Made with โค๏ธ by ZeroByteCode – Empowering WordPress with premium solutions.

Similar Posts