You can now add a logo/image (better if PNG format) at your login screen to customize more your chat.
This new feature is in /chatadmin/config/design
You just have to upload your own picture.

You can now add a logo/image (better if PNG format) at your login screen to customize more your chat.
This new feature is in /chatadmin/config/design
You just have to upload your own picture.
You can now have a visual volume indicator inside any webcam.
To enable that feature, go to chatadmin/config/webcam and set
Display user volume
The volume will be displayed inside the webcam and inside the userlist
You can also display an effect on video (red border) when volume is detected (when user speaks or streams sound): you have to check this propetry:
Add red border on webcam when volume detected (addEffectOnVolumeDetection) in chatadmin/config/webcam
Here is the step to integrate html5 chat with https://www.chameleonsoftwareonline.com/
Create html5chat.php on root and paste there this code:
<?php if (empty($_GET['cmd']) || $_GET['cmd'] != 'lang') $area = "login"; include("./_include/core/main_start.php"); include("./_include/current/menu_section.class.php"); $_GET['display'] = get_param('display', User::displayProfile()); $where = ' u.user_id = ' . to_sql(guid(), 'Number'); $webmasterid = xxxxx; $password = "yyyyyy"; $id = $GLOBALS['g_user']['user_id']; $avatars = glob("_files/photo/" . $id . "_*_m.jpg"); $avatar = (count($avatars)) ? "//{$_SERVER['SERVER_NAME']}/" . $avatars[0] : ''; switch($GLOBALS['g_user']['gender']) { case 'C': $gender = 'male'; break; case 'F': $gender = 'female'; break; default: $gender = 'male'; break; } $myuser = array( 'username' => $GLOBALS['g_user']['name'], 'password' => $password, 'gender' => $gender, 'role' => $GLOBALS['g_user']['role'], 'image' => $avatar, 'profile' => base64_encode("//{$_SERVER['SERVER_NAME']}/users_online.php?display=profile&uid=$id&offset=1") ); $json = json_encode($myuser); $encoded = file_get_contents("https://jwt.html5-chat.com/protect/" . base64_encode($json)); ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Webcam Chat</title> <style> html, body { width: 100%; height: 100%; } </style> </head> <body> <script src="https://html5-chat.com/script/<?=$webmasterid?>/<?= $encoded ?>"></script> </body> </html>
Replace xxxx and yyyy by your webmasterid and your html5-chat password account.
There is a new interesting feature in html5 chat to improve your registration rate. You can now disconnect a role from the chat after N seconds and redirect him to an Url
We think of course about the guets role, than will be disconnected from the chat after N m minutes and will be redirected to the registration page.
You can do that now in roles: there are 2 new properties in your chatadmin / roles panel -> Ads and messages tab
disconnectAfterNSeconds : ex: for 3 minutes, set 180 (180 seconds = 3 minutes)
redirectAfterDisconnection (put full http path like: https://www.rezocoquin.com)
We have added a new layout called “wall“.
This layout allows to add camera in the top of the chat with a wrapping feature: when there is no more space for a cam, the new cam goes to the bottom, creating a “wall”.
This layout allows to watch many cams simultaneously without having to scroll or split views.
To change the layout of the chat, simply go to your chatadmin panel and choose the layout panel.
The wall layer can be useful for conferences when you need to watch at all participants at the same time.
There are many ways to insert ads into chat. This is especially easy when you know some JS.
Remember: you can your OWN javascript into the chat.
If you want to insert ads inside the text chat, then you should use the news managements.
If you want some visual ad, there is a <div id=”ad”></div> present on the chat (on top right) when you can insert your ads. The best way to do that is also to insert your OWN javascript into the chat and with some code display the ads.
Here is a sample of how to randomly display 3 ads every 30 seconds:
$(document).ready(function () {
// list of ads !
let ads = [
"<a href='https://www.yoursite.com' target='_blank'><img src='https://www.yoursite.com/img/ad1.png'></a>",
"<a href='https://www.yoursite.com' target='_blank'><img src='https://www.yoursite.com/img/ad2.png'></a>",
"<a href='https://www.yoursite.com' target='_blank'><img src='https://www.yoursite.com/img/ad3.png'></a>",
];
setTimeout(function() {
let ad = randomAd = ads[Math.floor(Math.random() * ads.length)]; // pick a random ad
$('#ad').empty().append(ad);
} , 30 *1000); // loop every 30 seconds
});
You can now decide how your users will appear in your user list.
They can initially be sorted by:
You can set the initial sorting in your Chatadmin panel -> config -> Users Management
You can now delete messages in real time directly from the chat
Go to roles and check (admin or moderator role for instance)
Also make sure that the role can delete other user’s messages
ex: a moderator should not be able to delete admin’s messages
This can be done with canUserMessagesDeleted
We have 2 formulas to allow you to host your chat on YOUR servers
This formula is expensive but you are totally independent. You can re-install it if needed, modify the source code. This is adequate for high trafic chat websites.
The chat remains on our server but you host media streams and sockets.
We can install the media server part (streaming) and the sockets (chat text) on your server.
We added a new tool, called SVG drawing.
You can now easily drawn and append some Vector – SVG – pictures inside the chat. The Drawing tool has most of tools you need such as:
You need to enable the property called “can Draw” that in roles to add a new button in the chat bar.