Skip to content

Messenger

The Messenger widget adds a floating chat interface to your site. Users can view their conversations, send messages, and receive notifications – all without leaving the current page.

Overview

Integrate Voxel’s messaging system as a floating messenger that stays accessible across your site. The widget displays a chat icon that opens a conversation list, with individual chat windows for active conversations. Includes real-time message polling and notification support.

Key Features

  • Floating chat button
  • Conversation list with search
  • Multiple open chat windows
  • Unread message indicators
  • Real-time message polling
  • Auto-open new incoming chats
  • Listing context display
  • Minimized chat management

Setup Instructions

Step 1: Enable the Widget

  1. Navigate to Voxel Toolkit → Widgets in your WordPress admin
  2. Find Messenger in the list
  3. Toggle the switch to enable the widget
  4. Click Save Changes

Step 2: Configure Settings

  1. Navigate to Voxel Toolkit → Messenger
  2. Configure default avatar and other options
  3. Save the settings

Step 3: Add to Site

  1. Edit your site template in Elementor
  2. Search for Messenger (VT)
  3. Drag the widget to your layout
  4. Configure button position and styling
  5. Save the template

Widget Settings

Button Settings

SettingDescriptionDefault
Button IconIcon for the chat buttonChat bubble
Button PositionBottom left or bottom rightBottom Right
Button SizeSize of the floating button56px
Offset XHorizontal offset from edge20px
Offset YVertical offset from bottom20px

Behavior Settings

SettingDescriptionDefault
Max Open ChatsMaximum simultaneous chat windows3
Polling FrequencyHow often to check for new messages30 seconds
Auto-Open NewAutomatically open new incoming chatsYes

Styling Options

Chat Button

  • Background color (normal and hover)
  • Icon color
  • Border radius
  • Box shadow

Unread Badge

  • Background color
  • Text color
  • Size and position

Chat Windows

  • Window dimensions
  • Header styling
  • Message bubble colors
  • Input field styling

Interface Elements

Conversation List

  • Search field to find conversations
  • User avatars and names
  • Last message preview
  • Unread indicator dots
  • Empty state message

Chat Window

  • Header with user name and close/minimize buttons
  • Message history with timestamps
  • Listing context display (“Reply as [listing name]”)
  • Message input field
  • Send button

Minimized Chats

  • Compact avatar display
  • Click to restore chat window
  • Stack horizontally from main button

Text Customization

The following text strings can be translated/customized:

TextDefault Value
Search placeholder“Search messages…”
No chats message“No conversations yet”
Input placeholder“Type a message…”
Reply as format“Reply as %s”
Send button“Send”
New message“New message”
Minimize button“Minimize”
Close button“Close”

Use Cases

Marketplace Communication

Allow buyers and sellers to communicate about listings without leaving the page.

Service Booking

Enable quick communication between service providers and customers.

Community Platform

Provide easy access to direct messaging between community members.

Customer Support

Let users message site admins for support from any page.

Troubleshooting

Messages Not Loading

  • Check user is logged in
  • Verify AJAX requests aren’t blocked
  • Check browser console for JavaScript errors
  • Verify nonce is valid

Button Not Appearing

  • Widget only shows for logged-in users
  • Check widget is enabled in Toolkit settings
  • Verify CSS isn’t hiding the button

New Messages Not Detected

  • Polling runs every 30 seconds by default
  • Check for AJAX errors in console
  • Ensure concurrent request protection isn’t blocking

Requirements

  • Voxel messaging system enabled
  • Users must be logged in

Screenshots

Built by Code Wattz.