WebChat 2.0.3 BETA Download 2.0.3b

5.0
gb Kevin B 3 years ago

screenshot

This component adds a mobile-first, individually styled web chat module to OSSN. You need the Pusher Channels service for realtime updates.

You'll want to add the link to the main menu AND/OR redirect logins directly to WebChat using the Component Admin page:
Enable menu link and redirect

Latest Update

v2.0.3 BETA 16th Dec 2020

  • Feature request: Do not clear the message input field when you send a GIPHY
  • Changed component to store settings in the "site settings" rather than "component settings". Once set, these details will no longer need be input after ever install/upgrade.
  • Fixed incorrect case in ID name of ossn_com.xml
  • Moved "Web Chat" link to the "Links" section for better compatibility with OSSN standard installation.

Pre-Requisites:

OSSN >= v5.6
OssnMessages >= 5.4
OssnServices >= 6.4
Private Network >= 5.4

API Keys

GIPHY for animated GIFs that can be added to messages

FREE key from https://developers.giphy.com

Pusher - For the live chat feature

FREE Channels app-key from www.pusher.com

DEMO

https://kjbtech.co.uk/ossn
Demo site is running ossn 5.6, GreenByGreen theme and only has Private Network, API Services and WebChat components installed.

Near future updates

Add ossn credit
Message status dialog
Online status for group members
Block message content of blocked users
Hide blocked users from create new chat dialog
User is typing...
MP4 video uploads
Limits on number of images/videos people can upload
Allow to share images directly from profile
Add type to message table GIPHY, info, photo, profile image etc.
Implement OSSN blocked users
Migrate chat_api to ossn actions
Implement mobile notifications

TIDYING UP

Decide on consistent naming convention throughout. Is it Groups / Chats / WebChat etc. Need to keep language consistent throughout.
Remove ALL error_log / console.log and debug responses
Finish tidying up code and commenting (if I have time to kill)
CSS animations / transitions to make the experience feel more app-like.
Sounds for sending/receiving messages
White border on giphy thumbnail selection
change giphy default search as it keeps failing

NICE TO HAVES:

Encryption and Presence / Private Pusher Channels
Public/Private groups (to plan)
Voice and Video calls
Public Webcam broadcasts / channels
User Search by distance/gender etc
Who looked at me?
View and manage profile / galleries
View and post to walls

I'd be grateful for feedback on how I could improve the component. Any bugs or issues please also report here.

Older updates

Version history can be found in this Google Doc
WebChat Version History

Comments
gb Kevin B Replied 3 years ago

Fixed hopefully...

gb Kevin B Replied 3 years ago

Oh! The ossn_xml still has uppercase in the ID!!! I'll fix that soon. For now you could change that file manually and I'll get a bug fix out asap.

gb Kevin B Replied 3 years ago

Well spotted ~Z~ ! Looks like a case issue from before I normalised everything to lowercase. Let me check and release a bug fix, thank you.

German Michael Zülsdorff Replied 3 years ago

requireonce(/var/www/vhosts/champstyle.de/httpdocs/ossn/components/webchat/classes/WebChat.php): failed to open stream: No such file or directory" in file /var/www/vhosts/champstyle.de/httpdocs/ossn/components/WebChat/ossncom.php (line 4)

gb Kevin B Replied 3 years ago

It seems to be having trouble loading the class file, but something called html purifier is triggered at the same time? Could you try disabling the Text area component to see if there's a conflict perhaps?

German Andre kutzner Replied 3 years ago

Yes I use the current addons and it was deleted have reinstalled him
same problem on my test page

gb Kevin B Replied 3 years ago

That's odd. Have you an older version of the component installed? Try removing it, and then check the folder has been deleted from the components folder. Let me know how it goes.

German Andre kutzner Replied 3 years ago

[15-Dec-2020 06:29:29 UTC] PHP WARNING: 2020-12-15 06:29:29 (UTC): "requireonce(/var/www/vhosts/champstyle.de/httpdocs/ossn/components/webchat/classes/WebChat.php): failed to open stream: No such file or directory" in file /var/www/vhosts/champstyle.de/httpdocs/ossn/components/WebChat/ossncom.php (line 4)
[15-Dec-2020 06:29:29 UTC] PHP Fatal error: requireonce(): Failed opening required '/var/www/vhosts/champstyle.de/httpdocs/ossn/components/webchat/classes/WebChat.php' (includepath='/var/www/vhosts/champstyle.de/httpdocs/ossn/components/TextareaSupport/vendors/htmlpurifier-4.12.0-lite/library:.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/champstyle.de/httpdocs/ossn/components/WebChat/ossn_com.php on line 4
[15-Dec-2020 06:36:27 UTC] Com Installer Error: Former component is still in place

gb Kevin B Replied 3 years ago

Can you provide some details?

German Andre kutzner Replied 3 years ago

Hello Kevin,
I have tried to install it but I get a wise page I have to disable it via the database otherwise nothing works on the page

Component

Developer: Kevin
License GPL v2
Type: Communication
Requires Ossn Version : 5.5
Latest Version: 2.0.3b
Last Updated 3 years ago
Repository Url View Repository

Versions