Skip to content
Solved Assignments

iFlyChat and Website Functionality Issues: Troubleshooting and Solutions

Technical analysis of iFlyChat and website troubleshooting methods.

Preview 3 of 8 pages

See the first 3 pages exactly as they appear in the document.

  1. Page 1
    Read page 1 as text

    iFlyChat and Website Functionality Issues: Troubleshooting and Solutions Regarding the if lychat: (Issue and its solution) i) For all the guest user the chat is showing same name of guest with no avatar. Solution: Random name should be assigned to guest user with the default avatar of fox of the website. Steps: Step 1) "you need to edit code of file : userdetails.php in iflychat directory. Step 2) There needs to be if else condition in the end If the user is not logged in Then use /** * Pass no parameters if the user is NOT logged - in/unregistered/guest (anonymous user) * */ $iflychat_userin fo = new iFlyChatUserDetails(); Else Use the code b elow that Step 3) There is no if else currently in our file. Please find the link below for tha t: http://pastebin.com/nhSn3kgG Do you see if/else at the bottom? Please correct that to assign random name to guest user in chat. Like in 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 will save the information in the cloud of iflychat server. http://www.coursemerit.com/iflychat - php/iflychat - save - settings.php

  2. Page 2
  3. Page 3
    Read page 3 as text

    Chat Admin issue: ii) How can admin monitor the chat? And show a dmin user in red color in chat? Solution: Step 1) Tell our chat if the user is admin in userdetails.php and css for that. Step 2) $iflychat_userinfo - >setIsAdmin(FALSE); Change the value to TRUE for correct user: Step 3) Then the chat would know if the user is admin then you can mon itor (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 - user https://iflychat.com/documentation/chat - moderation/how - delete - or - clear - chat - messages iii ) How to show chat for only signed in user: Solution: Step 1: You need to make changes in userdetails.php Let me know, what is the condition to show chat to only signed in users. So I can change the condition in future 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.

5 more pages in the full document

Unlock it once and it stays in your library, ready to chat with or turn into flashcards.

Unlock the full document
See all

Study this document with CramX

Once it is in your library, every tool can work from it.