Categories
Latest Articles
- [Gamification] Can users download an item once they have redeemed it
- Installation & Upgrade Guide for Gamification app on phpFox Store
- Installation & Upgrade Guide for Upgrade Member Level App on phpFox Store
- Installation & Upgrade Guide for AMA (Ask Me Anything) App on phpFox Store
- How to limit number of blog a user can post?
Most Viewed Articles
- [Gamification] Can users download an item once they have redeemed it
- Installation & Upgrade Guide for Gamification app on phpFox Store
- Installation & Upgrade Guide for Upgrade Member Level App on phpFox Store
- Installation & Upgrade Guide for AMA (Ask Me Anything) App on phpFox Store
- How to limit number of blog a user can post?
- How to auto-approve a blog post?
- Can I remove the editor when composing a blog?
- How to export data on your Tumblr site to import to Advanced blog?
- How to restrict user to comment on blog post?
- How to upload photo to insert to blog without size limitation
Featured Articles
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)
February 9, 2018
Category: Social Chat