CometChat Doesn't Recognize Logged In Users

Sorry to bother you with this but CometChat tech support is not available until Monday and I need to get my Chat Rooms running for my regulars.

I had updated to their latest version 6.3 but the GUI was so awful that I decided to revert to an older version. I tried 6.2.5 but it threw off the formatting of my content and widgets, so I am back to v6.1.

CometChat is not recognizing my logged in users, including me.

I have tried uploading backups but with no success. This is how it stands now.

I have uploaded a clean version of v6.1 and made the following changes.

#1 cometchat/integration.php – change 4 instances of wp-content to mary-content

#2 cometchat/config.php

Line 78: define(‘BASE_URL’,setConfigValue(‘https://chat.christiangays.com/cometchat’,’/cometchat/’:wink:);

Line 337: Set CROSS_DOMAIN to 1

Line 342: Set CC_SITE_URL to your site’s URL e.g.

define(‘CC_SITE_URL’, setConfigValue(‘https://chat.christiangays.com’,”:wink:);

Add under

// Pulls the language file if found

include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.’lang’.DIRECTORY_SEPARATOR.’en.php’:wink:;

if (!defined(‘DB_AVATARFIELD’:wink:) {

define(‘DB_AVATARTABLE’,”:wink:;

define(‘DB_AVATARFIELD’,”””:wink:;

}

#3 themes/generatepress-child/header.php – Add the following code immediately after <head> tag.

<script>

var userid = ‘USERID’; // Must be populated programmatically

document.cookie = “cc_data=”+userid;

</script>

<link type=”text/css” rel=”stylesheet” media=”all” href=”https://chat.christiangays.com/cometchat/cometchatcss.php” />

<script type=”text/javascript” src=”https://chat.christiangays.com/cometchat/cometchatjs.php” charset=”utf-8″></script>

Can you tell me please what I am missing that CometChat is not recognizing my logged in users.

Support Access is granted.