Social Chat [V4] - YouNetCo
- Free Update
What's New?
Version 4.02p4
- Support PHP 8.0
Ready with phpFox 4.8.9
By definition, social networking sites are the websites which provide the places for people interacting with others; and interaction seems to be meaningless without communication. Therefore, chat function plays a very important role on every social networking site. Clearly understanding the demand, we have developed Social Chat to provide all users a new way to communicate with their friends in real-time.
Addition to the original idea of chatting, Social Chat also lets users enhancing their conversations by sharing photos, links; and especially emoting to others with numerous emoticons. With a full set of smileys, there is always a right one for every mood!
Furthermore, from the point of view of avoiding conflict, it is always better to have the Message History feature which is already included in Social Chat to enable users to access their message history and retrieve the past conversations. And from the moderator perspective, Social Chat provides admins the ability to define Word Filter / Word Ban, which will give a hand in helping your community become healthier.
- Notice:
- Should not use this module on shared host server
- Incompatible with Windows Server
- Port 9009 needs to be opened in order for Social Chat to be functional
- PHP 5.4 (or higher) is required.
Key Features
- Enhancing conversations:
- sharing photos
- sharing links
- sharing files
- full set of emoticons
- Avatar integration – better identifying your friends
- Message History – avoiding conflict between members / retrieving conversations
- Chat content moderation – Word Filter / Word Ban – make your community healthier
- Placement and Position customization
- Attractive popup chat – browse and chat simultaneously
- Sound notification
- Support Drag and drop files/photos into chat window
- Display unread number on OCN
- Advanced settings – user can turn on/turn off chat for some specific friends
- Block list – block / unblock members at your own discretion
- Users can see which of their friends or site users are currently online and can start chatting immediately
Packages that include this product:
Front End
- Chat box is located at the low right corner of the screen
- Go online/offline by simply clicking on “gear” icon
- Link, file,video,image, emoticon and sticker available on chat option bar
- Chat box can be collapsed/expanded
- Message history for easy tracking
- Facebook style layout
- Different icons for web/mobile users
Back End
- Word filter/ban setting
- Placement and position settings: 2 positions are available: left – right
- Message history settings : Allow admin to set how many days will old message be deleted
- Sticker settings : custom stickers can be added by administrator
- Friend List setting: Admin can configure how many friends will show up in friend list
Please follow all steps in this Installation & Upgrade guide in order to make this module work properly
1. Installation Guide
There are three parts in this Installation Guide, as follow:
§1.1. Installation Steps:
- Install YouNet Social Chat App on the phpFox Store.
- Run "Rebuild Core Theme" at AdminCP >> Maintenance
- Clear your cache site (at AdminCP > Maintenance >> Cache Manager)
- Set write permission to folder:
- "PF.Base/ynchat/log/" (CHMOD: 777).
- "PF.Base/ynchat/files/" (CHMOD: 777).
- "PF.Base/ynchat/cache/" (CHMOD: 777).
- "PF.Base/file/pic/ynchat_emoticon/" (CHMOD: 777).
- "PF.Base/file/pic/ynchat_sticker/" (CHMOD: 777).
- "PF.Base/file/ynchat/" (CHMOD: 777).
- Set permission for bash file:
- Set execute permission for "PF.Base/ynchat/runcheck.sh"
§1.2. Stop web socket or change server information
- Socket server will use specific port (default is 9009) when running. If these issues below occur:
- Conflicting port on your server
- Change to other port
- Stop socket server
- Please follow these steps to fix the problem:
- Login SSH by root account or which account can kill processes on your server
- Go to folder "PF.Base/ynchat/" (this folder has the same level with "module" folder of phpFox)
- Execute command "bash runcheck.sh stop "
- Note: there is a slash "/" at the end of the command above
§1.3. Setup working with SSL
- Note: your server can run with SSL first, if not please ignore below guides.
- Set-up Stunnel plugin on server in the following link:
- http://knowledgebase.younetco.com/2014/11/19/setup-stunnel-for-younet-chat-plugin/
- Get Ports (Web Socket Port and Stunnel Port) in "Admin Panel > Apps > YouNet Chat > Settings" and update above configuration of Stunnel plugin
- Stop Web Socket
§1.4. Setup cron job (optional)
- For some reasons, i.e. server issues, user online status will not be updated in database. This cron job will help to update their status.
- Job path: .../PF.Base/ynchat/update-status.php
2. Upgrade Guide
- Upgrade our latest version.
- Run "Rebuild Core Theme" at AdminCP >> Maintenance
- Clear your cache site (at AdminCP > Maintenance >> Cache Manager)
#### Congratulations! You have finished the Installation/Upgrade process. ####
If you need any assistance, please submit a new ticket at the client area (http://phpfox.younetco.com/client)
Version 4.02p4
1. Release Date: Aug 16, 2021
2. Best Compatibility: phpFox 4.8.x
3. Improvements:
- Support PHP 8.0
Version 4.02p3
1. Release Date: Mar 26, 2019
2. Best Compatibility: phpFox 4.6.x - 4.7.x
3. Bug fixes:
- Can not change friends list on setting
- Can not install app on utf8mb4 database
- Fix layout issues on iOS
Version 4.02p3
1. Release Date: Mar 26, 2019
2. Best Compatibility: phpFox 4.7.x
3. Bug fixes:
- Can not change friends list on setting
- Can not install app on utf8mb4 database
- Fix layout issues on iOS
Version 4.02p2
1. Release Date: Oct 17, 2018
2. Best Compatibility: phpFox 4.6.x - 4.7.0
3. Improvements
- Compatible with phpFox v4.7.0
Version 4.02p1
1. Release Date: April 26, 2018
2. Best Compatibility: phpFox 4.6.x
3. Improvements
- Compatible with phpFox v4.6.1
4. Changed Files
- upload/include/xml/younet_chat4.xml
- upload/ynchat/static/css/ynchat.css
- upload/ynchat/static/jscript/ynchat.js
Version 4.02
1. Release Date: January 17, 2018
2. Best Compatibility: phpFox 4.6.x
3. Fixed Bugs:
- Does not validate inputed number value in ACP Settings
- Show wrong error message when send a file over size limit
- Can not send any file after selecting a file with unsupported extension
- Some layout issues
4. Improvements
- Compatible with phpFox v4.6.0
5. Changed Files
- upload/include/xml/younet_chat4.xml
- upload/module/ynchat/include/plugin/template_getheader.php
- upload/module/ynchat/include/plugin/validator.admincp_settings_ynchat.php
- upload/module/ynchat/include/service/ynchat.class.php
- upload/module/ynchat/template/default/controller/admincp/banword.html.php
- upload/ynchat/static/css/ynchat.css
- upload/ynchat/static/css/ynchatmobile.css
- upload/ynchat/static/jscript/ynchat.js
Version 4.01p7
1. Release Date: October 3, 2017
2. Best Compatibility: phpFox 4.5.x
3. Fixed Bugs:
- Can not send photo if configuration directive "allow_url_open" is turned off
- Layout issue appears when compose message by link
4. Changed Files
- upload/include/xml/younet_chat4.xml
- upload/module/ynchat/include/service/ynchat.class.php
- upload/module/ynchat/phrase.json
- upload/ynchat/static/css/ynchat.css
Version 4.01p6
1. Release Date: December 27, 2016
2. Best Compatibility: phpFox 4.5.x
3. Improvements
- Compatible with phpFox 4.5.0
Version 4.01p5
1. Release Date: July 25, 2016
2. Best Compatibility: phpFox 4.4.0
3. New Features / Improvements
- Compatible with phpFox 4.4.0
4. Bugs Fixed
- Messages are duplicated when reloading page.
5. Changed Files
- upload/ynchat/update-status.php
- upload/ynchat/static/css/ynchat.css
Version 4.01p4
1. Release Date: June 9, 2016
2. Best Compatibility: phpFox 4.3.2
3. New Features / Improvements
- Add unread number on OCN
- Add cron job to update online status of users
4. Bugs Fixed
- Can not rebuild Core theme when enabling Chat app
- Layout issues
5. Changed Files
- ChangeLog.html
- upload/include/xml/younet_chat4.xml
- upload/module/ynchat/include/plugin/run_start.php
- upload/ynchat/update-status.php
- upload/ynchat/src/MyApp/ynchat.php
- upload/ynchat/static/css/ynchatmobile.css
- upload/ynchat/static/jscript/ynchat.js
Version 4.01p3
1. Release Date: April 21, 2016
2. Best Compatibility: phpFox 4.3.2
Version 4.01p2
1. Release Date: February 25, 2016
2. Best Compatibility: phpFox 4.2.2
Version 4.01p1
1. Release Date: December 18, 2015
2. Best Compatibility: phpFox Neutron 4.1.x
3. Improvement(s):
- Compatible with phpFox v4.1.1
Version 4.01
1. Release Date: September 15, 2015
2. Best Compatibility: phpFox 4.0.x