Page 1 of 1

Arrowchat shows users as guests

PostPosted: 24 Apr 2015, 08:27
by Spirantz
Hi there -

Im currently debating purchasing Arrowchat, however Im having problems with the install. It's on a custom site, so please don't come and say "we don't support custom sites, think about buying our install services". I have Arrow chat installed an 99.9% integrated. The issue here is:

1) I can't set someone as an admin. I tick the box in the ACP and it says it was changed, but nothing actually changes. I've tried re-installing twice without any luck.

2) All of my users are guests even though I have Arrowchat integrated with my system. I currently have arrow chat pulling a cookie. It looks like this:

Code: Select all
function get_user_id() 
{
   $userid = NULL;
   
   if (!empty($_COOKIE['sin']))
   {
      $userid = $_COOKIE['sin'];
   }

   return $userid;
}


In debug, everything looks fine. No errors. Now here's the issue; when my users log into the site, the bar shows up and acts as if they are logged in. However no one is shown online. And in a test chat room, everyone is shown as "guest". Then if you refresh the page enough eventually your name will change from "guest" to a random user.

I've tried pulling the session, no luck. I've tried pulling from the DB, no luck. It won't pull what-so-ever. The only way it works at all without any errors in the debug is if I use the cookie method, which clearly has bugs of it's own.

Image

Any ideas and or suggestions would be greatly appreciated.

Re: Arrowchat shows users as guests

PostPosted: 24 Apr 2015, 11:00
by Jason
Your integration and/or configuration is setup wrong. No one will be able to help you with that since it varies from site to site.

Re: Arrowchat shows users as guests

PostPosted: 24 Apr 2015, 11:12
by Spirantz
Im pretty sure both the integration and configuration are set up properly. The configuration correctly pulls all info from the DB. In the users section of the ACP, user names and ID's match up perfectly.

The cookie is being pulled correctly, however Arrowchat is somehow not reading it properly.

Re: Arrowchat shows users as guests

PostPosted: 28 Jul 2015, 10:30
by Spirantz
Anyone?

Re: Arrowchat shows users as guests

PostPosted: 21 Nov 2015, 15:29
by RRoman
I reported the same issue and it has not been fixed even in the latest version. The documentation does not clear explain how to configure the script to get the desired results either. Regardless of the type of installation if information from the CMS is populated into the ArrowChat then any errors with integration were likely caused by the script. Now since we both have the same issue it is not likely something we did wrong. It could be one of two things, an issue with the version of PHP we are running or the version of the CMS we are running. Yet the most likely issue is a bug in the script itself causing the issue during installation.

My site is suppose to allow guests to see the public chat rooms and view the public chat conversation, but the ability for a guest user to use the chat to have a conversation with anyone other than a moderator or administrator is no suppose to be allowed. So, since very one is a lable as a guest role this make the script apply the guest permissions to all users. Hence breaking the permissions for all registered users and even administrators.

This is a core bug and it needs to be fixed but clearly the issue is falling on deaf ears.

Re: Arrowchat shows users as guests

PostPosted: 01 Dec 2015, 13:36
by vanessalaw
I'm having the same issue, on Buddypress - everyone shows up as guests, and their group ID is all 1,1

Re: Arrowchat shows users as guests

PostPosted: 01 Dec 2015, 14:13
by Jason
All users in chat rooms are labeled as guests. This is frequently confusing people, so we have updated the language in the next release.

Re: Arrowchat shows users as guests

PostPosted: 15 Dec 2015, 00:14
by INanaa
I got the same problem as well ! using arrowchat with Jomsocial ! so if you say you updated the language in the next release , when is the next release ? if it will take long , is it possible to point or at least provide a fix so we can do it ourself ? Thanks