CG Chat component add a chat room on your site, requiring no external server connection.
Version 1.4.7 (Update : 20/06/2024)
- + Add visual effect to module resize
- # CG Chat in popup : no template
- + add resize module button
- + Add IP/Country to sessions (table cgchat_session)
- + Add Flags per session or message
- # Don't check country if already known
- # Unban user not working
- # Admin : messages list : non html allowed
- + Add IP/Country to private messages (table cgchat_private)
- + Keep banned users info (add state in cgchat_bans)
- + Add user name in banned infos
- ^ Hide dialog form until component starts
Version 1.0.0 : Kide shout fork (2023 may)
CG Chat component | CG Chat module (version 1.4.5) |
CG_DOWNLOAD_NOT_ALLOWED (already downloaded 55 times) | CG_DOWNLOAD_NOT_ALLOWED (already downloaded 50 times) |
CG Chat component and its optional module CG Chat (right side of this page) is a fork of Kide Shout (abandonned since 2023 and not compatible with Joomla! 4.x and more).
Note : CG Chat module requires CG Chat component.
CG Chat:
- direct chat with other users, registered or not (depending on your parameters),
- private messaging with other registered users,
- messages history,
- administrator : may ban users,
- 2 display modes : default or dark,
- allow/disallow countries and display country flags.
Important : messages are stored on your server. If you wish to user external server based solutions, I tried Chat Tawk.To and chat Crisp scripts Joomla integration.
Version 1.4.0 introduces country check from user's IP Address using iplocate.io API, then you'll be able to display country flag and block countries (see More tab for more information). I used Phoca flag icons.
Note : in my demo, all (non spammer) users may leave or see public messages.
Note : CG Chat plugin does nothing, it contains empty CG Chat events calls, it may be used as an example to develop your own checks/customizations.
When a new user is found, it appears like this:
On this page, there is a registered user (connect1) and a new not-registered user Invité_6784.
This name, created by the component, appears above Message box.
After registration, the user name (connect2) appears in users list..
Note : current user name appears under-lined in the list.
To go private mode, select in users list a registered user.
Note : private mode is only available with other registered users, one at a time.
Click on Private messages ? box to ask connect1 for a private messaging.
Waiting message is displayed on connect2 page :
When connect1 sees a yes/no box to accept/reject private mode :
If private mode is accepted, color changes and a Private bouton appears. If any messages already exist from previous exchanges, they are displayed :
To stop private mode and go back to public mode, either click on Private button (top right) :
Or select user you are privatly writting to (he is highlighted in the users list) and click on Private messages ? checkbox :
CG Chat module is displayed on the right side of this page or below on mobile (if you are detected as spammer by CG Chat Secure plugin).