Title: Message Bridge for Contact Form 7 and VK
Author: iTRON
Published: <strong>2026-04-29</strong>
Last modified: 2026-08-31

---

Szukaj wtyczek

![](https://ps.w.org/message-bridge-for-contact-form-7-and-vk/assets/banner-772x250.
png?rev=3674971)

![](https://ps.w.org/message-bridge-for-contact-form-7-and-vk/assets/icon-256x256.
png?rev=3674971)

# Message Bridge for Contact Form 7 and VK

 Autor: [iTRON](https://profiles.wordpress.org/hokku/)

[Pobierz](https://downloads.wordpress.org/plugin/message-bridge-for-contact-form-7-and-vk.1.0.0.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/message-bridge-for-contact-form-7-and-vk/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/message-bridge-for-contact-form-7-and-vk/#reviews)
 * [Rozwój](https://pl.wordpress.org/plugins/message-bridge-for-contact-form-7-and-vk/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/message-bridge-for-contact-form-7-and-vk/)

## Opis

Message Bridge for Contact Form 7 and VK sends Contact Form 7 submissions to VKontakte
users through a connected VK community. The number of VK recipients is not limited
by the plugin: users subscribe to messages from the connected community, and the
community acts as the notification bridge.

To set up delivery:

 1.  Create a VK community that will send the notifications.
 2.  In the VK community settings, open Community management > Messages and enable 
     community messages.
 3.  Open Advanced > API usage, go to the LongPoll API tab, enable LongPoll API, and
     select API version 5.199 from the dropdown.
 4.  Switch to Event types and enable Incoming messages.
 5.  Open the Access keys tab and create a community access token with permission to
     use community messages.
 6.  Open the Callback API tab and copy the `group_id` value.
 7.  In the plugin interface, click Create Bot.
 8.  Enter the Group ID, save the access token, or use the Copy PHP const controls 
     to keep these values in PHP constants. Then wait for the bot status to become 
     online. Configured and working bots are shown in blue.
 9.  Ask each VK recipient to open the community messages and send `start` to the community.
 10. Approve or reject each subscription request in the plugin interface.
 11. Create a channel in the plugin interface to connect specific Contact Form 7 forms
     with the VK bot/community that should send their notifications.

#### Hooks

Filter `cf7vk_skip_delivery`
 Return a truthy value to stop delivery for the current
Contact Form 7 submission before channels and messages are resolved. Arguments: `
$skip` (bool), `$contact_form` (WPCF7_ContactForm), `$submission` (WPCF7_Submission).

Filter `cf7vk_unfiltered_message`
 Filters the Contact Form 7 mail body after mail-
tag replacement and before VK-specific formatting. Arguments: `$message` (string),`
$submission` (WPCF7_Submission).

Filter `cf7vk_prepared_message`
 Filters the formatted VK notification text before
it is passed to the linked delivery channels. Arguments: `$prepared_message` (string),`
$submission` (WPCF7_Submission), `$contact_form` (WPCF7_ContactForm), `$mail` (array).

Action `cf7vk_channel_sendout`
 Fires when a channel starts processing a prepared
outgoing message, before bot and chat availability checks. Arguments: `$channel`(
iTRON\cf7Vk\Channel), `$message` (string), `$context` (array).

Action `cf7vk_delivery_exception`
 Fires when delivery relation lookup, chat status
lookup, or VK transport delivery fails. The `$chat` argument can be null for relation
lookup errors. Arguments: `$exception` (Throwable), `$channel` (iTRON\cf7Vk\Channel),`
$chat` (?iTRON\cf7Vk\Chat), `$context` (array).

### Source Code and Build Tools

The development repository for this plugin is publicly available at:
 https://github.
com/hokoo/cf7-vk

The admin assets bundled in this plugin are generated from the React source in that
repository.

Current build flow:

 1. Install dependencies in `plugin-dir/react` with `npm ci` or `npm install`.
 2. Run `npm run build` in `plugin-dir/react` to regenerate the production assets.

### External Services

#### VK API

This plugin connects to the VK API to verify the configured community, request Bots
Long Poll bootstrap data, load user and conversation details for connected dialogs,
and send Contact Form 7 notifications to VK dialogs.

When an administrator verifies or syncs a connection, the plugin sends the configured
community ID, community access token, API version, and the identifiers required 
for the requested VK API call, such as peer IDs, conversation message IDs, and user
IDs.

When a Contact Form 7 submission is delivered, the plugin sends the destination 
dialog peer ID and the formatted notification text. That notification text can include
the form title, mail subject, and submitted field values.

This service is provided by VK:
 Terms of Service: https://vk.com/terms Privacy 
Policy: https://vk.com/privacy API documentation: https://dev.vk.com/

#### VK Bots Long Poll API

This plugin connects to the VK Bots Long Poll API to discover dialogs that send 
the configured authorization command to the connected community and to fetch new
message events for linked dialogs.

When an administrator runs dialog sync, the plugin sends the current Long Poll server
key and timestamp issued by VK. VK returns new community message events and related
dialog metadata, which can include peer IDs, sender IDs, conversation message IDs,
message text, and chat titles.

This service is provided by VK:
 Terms of Service: https://vk.com/terms Privacy 
Policy: https://vk.com/privacy Long Poll documentation: https://dev.vk.com/ru/api/
bots-long-poll/getting-started

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Message Bridge for Contact Form 7 and VK” jest oprogramowaniem open source. Poniższe
osoby miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ iTRON ](https://profiles.wordpress.org/hokku/)
 *   [ igortron ](https://profiles.wordpress.org/igortron/)

Wtyczka „Message Bridge for Contact Form 7 and VK” została przetłumaczona na 1 język.
Podziękuj [tłumaczom](https://translate.wordpress.org/projects/wp-plugins/message-bridge-for-contact-form-7-and-vk/contributors)
za ich wkład.

[Przetłumacz wtyczkę “Message Bridge for Contact Form 7 and VK” na swój język.](https://translate.wordpress.org/projects/wp-plugins/message-bridge-for-contact-form-7-and-vk)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/message-bridge-for-contact-form-7-and-vk/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/message-bridge-for-contact-form-7-and-vk/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/message-bridge-for-contact-form-7-and-vk/)
przez [RSS](https://plugins.trac.wordpress.org/log/message-bridge-for-contact-form-7-and-vk/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.0

 * Added stability hardening for plugin lifecycle, activation, deactivation, uninstall
   cleanup, relation repair, log retention, and migration recovery.
 * Added a VK gateway contract with fake transport coverage, sanitized diagnostics,
   transactional credential validation, safer Long Poll cursor handling, and per-
   recipient delivery results.
 * Improved Contact Form 7 delivery continuity so one failed VK recipient does not
   stop later eligible recipients.
 * Hardened the React admin interface with typed REST errors, paginated resource
   loading, retry-only failed resources, safer mutation sequencing, error boundaries,
   and page-scoped styles.
 * Migrated the admin asset build to WordPress Scripts with generated asset metadata
   for dependency and cache-busting accuracy.
 * Added release verification gates for deterministic ZIP builds, dependency audits,
   Plugin Check, WordPress lifecycle/support matrix, real REST/admin smoke, authenticated
   browser smoke, and fake VK form delivery E2E.
 * Updated the release workflow so GitHub release publication verifies the ZIP first;
   prereleases update `plugin-dist`, while stable releases deploy the verified build
   to WordPress.org and then update `stable`.

#### 0.1.4

 * Added PHP constant support and admin copy helpers for VK access tokens and group
   IDs.
 * Expanded VK community setup documentation and corrected the documented delivery
   hooks.
 * Added a WordPress Playground blueprint for installing Contact Form 7 and the 
   latest stable plugin build.

#### 0.1.3

 * Clarified the WP Data Logger integration hook and aligned the localized admin
   script object with the plugin prefix.

#### 0.1.2

 * Updated bundled dependencies and REST endpoint permissions for WordPress.org 
   review.

#### 0.1.1

 * Updated plugin metadata, naming, external service disclosures, and release packaging
   for WordPress.org review.

#### 0.1.0

 * Bootstrap plugin shell created from the reference architecture.
 * React admin shell, CPTs, relations, settings page, and migration scaffolding 
   added.
 * VK API wrapper, bot ping endpoint, Long Poll bootstrap sync, and outbound send
   primitive added.
 * Manual Long Poll dialog discovery, VK chat model sync, and CF7 plain-text formatter
   added.
 * Delivery is restricted to active dialogs, and the admin UI now exposes copyable
   auth commands and channel title editing.

## Meta

 *  Wersja **1.0.0**
 *  Ostatnia aktualizacja **1 miesiąc temu**
 *  Włączone instalacje **Mniej niż 10**
 *  Wersja WordPressa ** 6.0 lub nowszej **
 *  Testowano do **7.1.2**
 *  Wersja PHP ** 8.1 lub nowszej **
 *  Języki
 * [English (US)](https://wordpress.org/plugins/message-bridge-for-contact-form-7-and-vk/)
   i [Russian](https://ru.wordpress.org/plugins/message-bridge-for-contact-form-7-and-vk/).
 *  [Przetłumacz na swój język](https://translate.wordpress.org/projects/wp-plugins/message-bridge-for-contact-form-7-and-vk)
 * Tagi
 * [contact form 7](https://pl.wordpress.org/plugins/tags/contact-form-7/)[vk](https://pl.wordpress.org/plugins/tags/vk/)
   [vkontakte](https://pl.wordpress.org/plugins/tags/vkontakte/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/message-bridge-for-contact-form-7-and-vk/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/message-bridge-for-contact-form-7-and-vk/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/message-bridge-for-contact-form-7-and-vk/reviews/)

## Zaangażowani

 *   [ iTRON ](https://profiles.wordpress.org/hokku/)
 *   [ igortron ](https://profiles.wordpress.org/igortron/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/message-bridge-for-contact-form-7-and-vk/)