Help
Ask questions about how to do or fix things in Arrowchat
User avatar
LAley
Customer
 
Posts: 4
Joined: 20 Feb 2012, 12:33

 

by LAley 23 Feb 2012, 14:05

AC 1.0.7 installed on my Vbulletin 3.8 board. Install went fine Chat bar is visible but no users show. I have confirmed they are listed as on-line however we all No "one is available to chat"
Where do I start troubleshooting ?
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 23 Feb 2012, 14:16

Have you added the user as a friend? You can also disable this feature in the admin panel.
User avatar
LAley
Customer
 
Posts: 4
Joined: 20 Feb 2012, 12:33

 

by LAley 23 Feb 2012, 14:24

I get this running the debug.php even though I'm logged in.

User ID: 0
You are being registered as not logged in. If you are logged in, please check the functions_receive.php file to make sure the getUserID function is correct.

Online Friends: 0
It appears that your getFriendsList function is functioning properly.

User ID is not banned.

You are using an ArrowChat compatible browser.

You have a functions_receive.php file.
User avatar
LAley
Customer
 
Posts: 4
Joined: 20 Feb 2012, 12:33

 

by LAley 23 Feb 2012, 14:31

This is in the functions_receive.php

function getUserID() {
$userid = 0;
global $config;

$cookie = $config['Misc']['cookieprefix'].'sessionhash';

if (!empty($_COOKIE[$cookie])) {
$sql = ("select userid from ".TABLE_PREFIX."session where sessionhash = '".mysql_real_escape_string($_COOKIE[$cookie])."'");
$query = mysql_query($sql);
$session = mysql_fetch_array($query);
$userid = $session['userid'];
User avatar
LAley
Customer
 
Posts: 4
Joined: 20 Feb 2012, 12:33

 

by LAley 23 Feb 2012, 14:49

Dang it was the friends thing, thanks Jason
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

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.