“jp-user-chat” is a WordPress plugin developed for WordPress users within a WordPress platform to interact each other. The plugin activates on shortcode. Pass the “user id” in the shortcode as a parameter (Eg: ‘‘ to trigger the create chat window for the user with id 323).

If you want to add the create window functionality to a custom button then add the following function ( onClick=”jp_open_message_box($user_id);” ).

Example : <a onclick=”jp_open_message_box( 123 );”>

If you want to send a message to user with id 123.

This plugin works on pure HTML, CSS, jQuery, CSS and PHP.

Plugin Category
Installation Guide

First, you need to download the plugin from the source (which will be a zip file). Next, you need to go to WordPress admin area and visit Plugins » Add New page.

After that, click on the ‘Upload Plugin’ button on top of the page.

 

This will reveal the plugin upload form. Here you need to click on the ‘Choose File’ button and select the plugin file you downloaded earlier to your computer.

 

After you have selected the ‘jp-user-chat.zip’, you need to click on the ‘Install Now’ button.

 

WordPress will now upload the plugin file from your computer and install it for you. You will see a success message like this after the installation is finished.

 

Once installed, you need to click on the Activate Plugin link to start using the plugin.

 

A chat bubble will appear on the left bottom corner if the user is logged-in

 

Initialization

Adding shortcode to page content to initialize the create chat button

 

A create chat button will appear above the chat bubble where the current user can initiate the chat with the user passed in the shortcode.

Changelog
PHP version 7.2
WP Version 4.8
Tested up to 6.4.2

You must log in to submit a review.

Leave a Reply

Your email address will not be published. Required fields are marked *