WebChat 2.0.3 BETA Download 2.0.3b

5.0
gb Kevin B 4 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
us John Miller Replied 4 years ago

Looking forward to this.
As of right now message send/receive doesn't work on Android using Chrome or using the PWA from either Samsung internet or Firefox
Thanks,,,
John.

gb Kevin B Replied 4 years ago

Updated to 1.3.6:
v.1.3.6 (18/11/20)
[Fixed] double encoding of messages, caused by sanitising user input twice. OSSN Messages now appear correctly.
[Updated] PWA manifest file. Now has generic OSSN branded logos when you install or launch the app.
[Fixed] notifications and new messages that were not arriving. Custom Web API Extension was failing to register

gb Kevin B Replied 4 years ago

Ok thanks. I'll add that to the list. :)

After fixing the notifications and this issue, I'll be working on the online status check, GIPHY integration... And then group chat :)

German Michael Zülsdorff Replied 4 years ago

1.3.5 encoding is incompatible with OssnChat/Messages


WebChat:

it's getting better 👍

OssnMessages:
enter image description here

gb Kevin B Replied 4 years ago

@empower_social I don't understand the question?

gb Kevin B Replied 4 years ago

@ ~Z~ Man Just investigating the disappearing messages... it seems I need to build some kind of pagination. API has returned the most recent 10 messages at offset (null), but tells me there are 45 messages.

I need to have a mechanic to automatically load the next 10 messages when you scroll up. I'll add that to the to-do list :)

us EMPOWER SOCIAL Replied 4 years ago

QUESTION WHEN ARE GUYS GOING TO LIVE SUCH AS FACEBOOK

gb Kevin B Replied 4 years ago

Ok, i've added the special characters as an issue and will sort that out.
I've already started on emojis ;) But need a bit more time to finish it. I've got most of the panel there in place, and its animated, but im losing focus on the input for some reason. Still investigating.

Also, it has a manifest.json now - so you can "Install to homepage" on your phone, and it shoud work much better :D

I'll update the work in progress shortly.

German Michael Zülsdorff Replied 4 years ago

On my wishlist:
1. flawless handling of special characters
enter image description here
2. no more disappearing messages on top after sending/receiving a new message

gb Kevin B Replied 4 years ago

Ok... I didnt test the CSS changes on mobile... the input message box disappears on my phone. I'll fix this tomorrow and make sure it works on my mobile before updating!

Component

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

Versions