Help
Ask questions about how to do or fix things in Arrowchat
User avatar
locon15
Free
 
Posts: 2
Joined: 18 May 2012, 09:58

 

by locon15 20 May 2012, 09:21

Hello everybody :3 well i have this wonderful chat to my forum, already add the code to header and footer, but when i set that the Guest cant see the chat, but they do O.o what is the problem? thanks
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 20 May 2012, 14:03

Make sure that both "Guests Can View the Bar" and "Guests Can Chat" are unchecked in the admin panel.
User avatar
locon15
Free
 
Posts: 2
Joined: 18 May 2012, 09:58

 

by locon15 22 May 2012, 20:20

:D thanks but that wasnt, i put the header and footer code togethers and then worked.
anyway, when will come the version 1.6 because i want to buy it :P
User avatar
Schoelle
Customer
 
Posts: 5
Joined: 13 Nov 2011, 13:45

 

by Schoelle 28 May 2012, 05:32

"Guests Can View the Bar" and "Guests Can Chat" is both disabled, still guests can see the chat bar!
vB 4.1.11

Putting all the codes toghether in headinclude or the footer did not change anything.
User avatar
JCable
Customer
 
Posts: 3
Joined: 05 Mar 2012, 00:07

 

by JCable 08 Jul 2012, 11:34

We are new to Arrowchat and honestly had a lot of headaches getting it to work right from the get go. We purchased this with the hopes it would be easy, no hassle integration so our development team could be done with it quickly. That didn't happen in version 1.0.7 the java was slow and very screwy and for a savvy team of linux, php and web developers the issues in 1.0.7 was exactly what we didn't want hassle, so we called it a ditched effort and move on.

That said we just installed 1.5.x with a lot more success. the jQuery overhaul was well worth the effort, overall it is more responsive but best of all it just plain works now!

I can confirm this bug in 1.5.12, users who are guests can see the buddy list and chat rooms even if the 'Guests Can View the Bar' and 'Guest Can Chat' are both disabled. not only that it uses our admin account to post to its users but it appears from our test that these messages are not necessarily delivered via PM but they do save as our Admin user in the Chatrooms.

This bug basically means that we can't use arrowchat atm. I can try to roll back to 1.5.11 if I can get to its source but as it stands we have to disable this software yet again till this issue is resolved. I don't know if it as easy as checking for a session and simply disabling the buddy list and chatrooms but either way we are looking for a resolution even if that means rolling back to 1.5.11.
User avatar
JCable
Customer
 
Posts: 3
Joined: 05 Mar 2012, 00:07

 

by JCable 08 Jul 2012, 11:40

We are using the Jamroom bridge btw.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 08 Jul 2012, 11:49

@JCable Guests cannot actually see and use the chat. This was a bug in vBulletin that was fixed. What was happening was ArrowChat was still seeing the user as logged in if they had ever logged into the site before and had that cookie.

I'm guessing Jamroom has the same issue so I'll take a look.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 08 Jul 2012, 12:44

Here is the updated integration file to fix Jamroom:

In the includes/integration.php file, change the get_user_id function to this:

Code: Select all
   function get_user_id() 
   {
      global $db;
      
      $userid = NULL;

      if (!empty($_COOKIE['JamroomID']) OR !empty($_COOKIE['CVJamroomID']))
      {
         if (!empty($_COOKIE['JamroomID']))
         {
            $cookie = $_COOKIE['JamroomID'];
         }
         else
         {
            $cookie = $_COOKIE['CVJamroomID'];
         }
         
         $result = $db->execute("
            SELECT user_id, user_visitor
            FROM " . TABLE_PREFIX . "session
            WHERE SID = '" . $db->escape_string($cookie) . "'
         ");
         
         if ($row = $db->fetch_array($result))
         {
            if (empty($row['user_visitor']))
            {
               $userid = $row['user_id'];
            }
         }
      }

      return $userid;
   }


This will be officially fixed next update.
User avatar
JCable
Customer
 
Posts: 3
Joined: 05 Mar 2012, 00:07

 

by JCable 09 Jul 2012, 11:15

Tested... Perfect!! Thx
You can confirm the fix/issue in the JR Bridge as well ;)

Look forward to your future updates, so far so good! appreciate the effort put into 1.5 really interacts much better!
User avatar
pcosmin
Customer
 
Posts: 3
Joined: 07 Jan 2013, 07:03

 

by pcosmin 07 Jan 2013, 13:30

i'm using the latest version of phpfox 3.4.1 Build 2 and arrow chat 1.6 and i have same problems as JCable ..it must be a bug or some..
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 16 Dec 2014, 00:26

[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]