Page 1 of 1

vBulletin 4.1.12 and arrowchat 1.5, guest can see the chat

PostPosted: 20 May 2012, 09:21
by locon15
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

PostPosted: 20 May 2012, 14:03
by Jason
Make sure that both "Guests Can View the Bar" and "Guests Can Chat" are unchecked in the admin panel.

PostPosted: 22 May 2012, 20:20
by locon15
: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

PostPosted: 28 May 2012, 05:32
by Schoelle
"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.

PostPosted: 08 Jul 2012, 11:34
by JCable
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.

PostPosted: 08 Jul 2012, 11:40
by JCable
We are using the Jamroom bridge btw.

PostPosted: 08 Jul 2012, 11:49
by Jason
@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.

PostPosted: 08 Jul 2012, 12:44
by Jason
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.

PostPosted: 09 Jul 2012, 11:15
by JCable
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!

PostPosted: 07 Jan 2013, 13:30
by pcosmin
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..

Topic Closed

PostPosted: 16 Dec 2014, 00:26
by Staff Bot
[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]