WP Guppy Pro - A live chat plugin for WordPress, WooCommerce and BuddyPress

Contents

1. How to enable realtime chat with node.js and socket

2. How to translate WP Guppy

3. JWT Authentication

4. JWT Authentication

5. How to create a messenger page with WP Guppy

6. How to enable real time chat experience with WP Guppy

7. Start chatting with a specific user on the messenger page

1. How to enable realtime chat with node.js and socket

How to enable real-time chat with node.js and socket

 

2. How to translate WP Guppy

How to translate WP Guppy

You can change any string from the WP Guppy > Translation or you can also use the loco translate plugin to find the strings and replace them with your own strings

https://www.youtube.com/watch?v=4BOMzVC3aqU





3. JWT Authentication

JWT Authentication

While using our plugin you need to make sure that your hosting service enabled the Authorization header because we are using JWT for authentication that needs an authorization header, if your hosting server disabled the Authorization header then you need to enable it in the .htaccess file for example.

Just copy the below code and paste it into the .htaccess file location on the WordPress root

Throughout this plugin, we have used WordPress REST API to Add/Edit the data. So for security tokens in the REST API, we have used JWT Authorization

Most of the shared hosting has disabled the HTTP Authorization headers by default To enable this option you’ll need to edit your .htaccess file adding the following

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]

WPENGINE

To enable the header option you’ll need to edit your .htaccess file adding the following

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

4. JWT Authentication

JWT Authentication

While using our plugin you need to make sure that your hosting service enabled the Authorization header because we are using JWT for authentication that needs an authorization header, if your hosting server disabled the Authorization header then you need to enable it in the .htaccess file for example.

Just copy the below code and paste it into the .htaccess file location on the WordPress root

Throughout this plugin, we have used WordPress REST API to Add/Edit the data. So for security tokens in the REST API, we have used JWT Authorization

Most of the shared hosting has disabled the HTTP Authorization headers by default To enable this option you’ll need to edit your .htaccess file adding the following

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]

WPENGINE

To enable the header option you’ll need to edit your .htaccess file adding the following

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

5. How to create a messenger page with WP Guppy

How to create a messenger page with WP Guppy

Admin can create a message page with WP Guppy plugin. We have Elementor & WP Bakery Page builder compatibility as well as the shortcode options to create the messenger page

6. How to enable real time chat experience with WP Guppy

How to enable real time chat experience with WP Guppy

We have used Pusher Channel API for the real-time experience https://pusher.com/channels

You just need to create a channel api and add this into WP Guppy

https://wp-guppy.com/documentation/#ins_step7

7. Start chatting with a specific user on the messenger page

Start chatting with a specific user on the messenger page

You may create a messenger page and then you can open the link below to start a chat with a specific user

https://yoursite.com/messenger/?chat_id=606&chat_type=1

chat_id => This is WordPress user ID
chat_type=1 => Leave this as it is