Linux 软件免费装
Banner图

Add-On for Discord and Gravity Forms

开发者 apos37
更新时间 2024年10月10日 00:39
PHP版本: 7.4 及以上
WordPress版本: 6.6.2
版权: GPLv2 or later
版权网址: 版权信息

标签

forms gravity server webhook discord

下载

1.0.8 1.0.7 1.0.5 1.0.4 1.0.1 1.0.2 1.0.3 1.0.6 1.0.9 1.1.0 1.1.1

详情介绍:

The "Add-On for Discord and Gravity Forms" WordPress plugin is a fantastic tool that bridges the gap between your website's forms and your Discord community! It seamlessly integrates Gravity Forms, a popular form builder plugin, with Discord, a leading communication platform. With this add-on, you can: This plugin is perfect for: By connecting Gravity Forms and Discord, this add-on simplifies communication, enhances user experience, and boosts community engagement! It's a win-win for anyone looking to supercharge their online interactions!

安装:

  1. Install the plugin from your website's plugin directory, or upload the plugin to your plugins folder.
  2. Activate it.
  3. Go to Gravity Forms > Settings > Discord.

屏幕截图:

  • Form feed settings page
  • Entry page
  • Discord channel post

常见问题:

Where can I request features and get further support?

Join my Discord support server

How can I mention a user or tag a channel in my messages?

From the form's Discord feed, you can mention a user with {{@user_id}} or a role with {{@&role_id}}, and tag a channel with {{#channel_id}}. If you're unfamiliar with where to find these IDs, check out this article on Discord.

How can I further customize the message sent to Discord?

With version 1.0.6, you can now use the following hook: `<?php add_filter( 'gf_discord_embeds', 'my_gf_discord_embeds', 10, 3 ); function my_gf_discord_embeds( $embeds, $form, $entry ) { // Filter the message $embeds[0][ 'description' ] = str_replace( '{{my_own_merge_tag}}', 'New Value', $embeds[0][ 'description' ] ); // Add a new field $user_id = $entry[ 'created_by' ]; $user = get_user_by( 'ID', $user_id ); $display_name = $user->display_name; $embeds[0][ 'fields' ][] = [ 'name' => 'Completed By:', 'value' => $display_name ]; // Always return embeds return $embeds; } // End my_gf_discord_embeds() ?>`

更新日志:

1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1