Skip to main content

Better Messages for MyCred: Charge Points to Message or Call

The MyCred integration allows charging users for messaging and private calls using MyCred points — per-message, per-new-thread, per-call, per-role, and per-conversation-type. The user's balance can be displayed inline in the messenger with a configurable URL where they can top up points. Supported through a unified Points System with provider abstraction, shared with GamiPress.

REQUIREMENTS

To install the plugin ensure that your website running:

  • WordPress 5.9 or newer
  • PHP 7.4 or newer

Installation#

How to install MyCred#

Download MyCred from official website and install following standard WordPress installation process.

How to install Better Messages with MyCred#

  1. Install the plugin through the WordPress plugins screen directly or upload the plugin files to the /wp-content/plugins/bp-better-messages directory.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Use the Better MessagesSettingsIntegrationsPoints Systems menu to configure the integration.

Configuration#

Point Type#

Select which MyCred point type to use for charging.

Charge Types#

  • New message — charge when a user sends a message
  • New thread — charge when a user creates a new conversation

Charge Categories#

Different rates can be configured for each conversation type:

  • Private threads — one-on-one conversations
  • Groups — group conversations
  • Chat rooms — chat room messages

Per-Role Pricing#

Different charge amounts can be set per WordPress user role for messages, new threads, and calls.

AI Usage Charging#

Points can be charged for AI bot responses. This is configured per-bot in the AI Bots settings.

Balance Display#

The user's point balance can be shown in multiple locations:

  • Chat header
  • Threads list (top)
  • Threads list (bottom)
  • User menu
  • User menu popup
  • Reply form area

Balance URL#

A configurable external URL can be set where users can manage or purchase points.

See also#