iFlyChat and Website Functionality Issues: Troubleshooting and Solutions

Technical analysis of iFlyChat and website troubleshooting methods.

Evelyn Morris
Contributor
4.2
46
5 months ago
Preview (3 of 8 Pages)
100%
Purchase to unlock

Page 1

iFlyChat and Website Functionality Issues: Troubleshooting and Solutions - Page 1 preview image

Loading page image...

iFlyChat and Website Functionality Issues: Troubleshooting and SolutionsRegarding the iflychat: (Issue anditssolution)i)For all the guest user the chatis showing same name of guest with no avatar.Solution:Random name should be assigned toguest user with the default avatar of fox of the website.Steps:Step 1)"you need to edit code of file: userdetails.phpin iflychat directory.Step 2)Thereneeds to be if else condition in the endIf the user is not logged inThenuse/** * Pass noparameters if the user is NOT logged-in/unregistered/guest (anonymous user) * */$iflychat_userinfo = new iFlyChatUserDetails();ElseUsethe code below thatStep 3)There is noif else currently in our file.Please find the link below for that:http://pastebin.com/nhSn3kgGDo you see if/else at thebottom? Please correct that to assign random name to guest user in chat.Likein the demo version of iflychat website.Step 4)Make sure to run this file via below link after changes is done. Just click on the below link. It willsave the information in the cloud of iflychat server.http://www.coursemerit.com/iflychat-php/iflychat-save-settings.php

Page 2

iFlyChat and Website Functionality Issues: Troubleshooting and Solutions - Page 2 preview image

Loading page image...

Page 3

iFlyChat and Website Functionality Issues: Troubleshooting and Solutions - Page 3 preview image

Loading page image...

Chat Admin issue:ii)How canadminmonitor the chat? And show admin user in red color in chat?Solution:Step 1)Tell our chat if the user is admin inuserdetails.phpandcss for that.Step 2)$iflychat_userinfo->setIsAdmin(FALSE);Change the value to TRUE for correct user:Step 3)Then thechat would know if the user is admin then you can monitor (kick/ban/delete messages)Step 4)To show admins in red, add your own css:<style type="text/css"> #drupalchat li.role-admin a {color: #C00 !important;} </style>Step 5)link to check changes after correction done:https://iflychat.com/documentation/chat-moderation/how-kick-or-ban-userhttps://iflychat.com/documentation/chat-moderation/how-delete-or-clear-chat-messagesiii) How to show chat for only signed in user:Solution:Step 1:You need to make changes in userdetails.phpLet me know, what is the conditionto show chat to only signed in users. So I can change the condition infuture to make chat available to guest user also.iv)The name on the chat header.The name on the chat header should redirected to user profile page, when clicked.
Preview Mode

This document has 8 pages. Sign in to access the full document!

Study Now!

XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat

Document Details

Related Documents

View all