Page 1 of 1

Simple installation help - test page

PostPosted: 18 Aug 2017, 11:51
by Trevorhawes
Hi ! Small problem?

All installed quickly, and set up easily on our custom site. ...
Here is the simple minimal test page we use:

http://dev4.etestify.com/temp/chat.php?userid=3901 for one user

and

http://dev4.etestify.com/temp/chat.php?userid=76850 for another user.

The integration.php is set up similar to wordpress - anyone can see anyone.

1. But we still get 'No one is available to chat.'
2. In the chatrooms, we find that no messages come through unless you refresh the page each time.

Help please :)?
Thank you guys rock.

Re: Simple installation help - test page

PostPosted: 14 Sep 2017, 03:00
by bato3
Probably you have problem with get_user_id.
Open your integration.php, and in function get_user_id() before all returns add
Code: Select all
header('x-debug-u:' .$userid)

And then in console, network tab check is this have right value