FreiChat related discussions
Elite Gaming Ladder User Integration

I used this method = http://codologic.com/page/node/767 or trying to integrate the user database in the Chat system. I am using Elite Gaming Ladder CMS - The database table name is members - userid is id, username is name - I put it all in and am still having issues.

I used this method = http://codologic.com/page/node/767 or trying to integrate the user database in the Chat system. I am using Elite Gaming Ladder CMS - The database table name is members - userid is id, username is name - I put it all in and am still having issues.
I put it all in and am still having issues.

Is it atleast showing the users as guests ? What issues are you having ?
<em>I put it all in and am still having issues.</em> Is it atleast showing the users as guests ? What issues are you having ?
Necessity is the mother of all inventions!

Yes its showing up - every one is a guest. http://ristarleague.com/home/

Trying to get it integrated into the users database of the league CMS. Table > members - userid = id, username = name - I've fallowed what to do in that tutorial but no luck, it is showing every one as a guest but when you logged in it still shows you as guest

Yes its showing up - every one is a guest. http://ristarleague.com/home/ Trying to get it integrated into the users database of the league CMS. Table > members - userid = id, username = name - I've fallowed what to do in that tutorial but no luck, it is showing every one as a guest but when you logged in it still shows you as guest

Can you try this: Go to freichat backend -> Addition . Enable PHP debug .

Now check the file freichat/freixlog.log for any errors .

Can you try this: Go to freichat backend -> Addition . Enable PHP debug . Now check the file freichat/freixlog.log for any errors .
Necessity is the mother of all inventions!

Okay

Also I will point out in the Admin area, I go to Moderation and it has all current register users on the league website.

I enabled what you said to - I logged in to the league website and logged out and back in.
Now the log file:

March 12, 2014, 10:55 pm: main.php loaded

March 12, 2014, 10:55 pm: Inserted the user with the following data :: Username = Guest-9o And ID = 1394806777 Default status = I am available

March 12, 2014, 10:55 pm: Inserted the user with the following data :: Username = Guest-9qh And ID = 1394962265 Default status = I am available

March 12, 2014, 11:00 pm: main.php loaded

March 12, 2014, 11:00 pm: Inserted the user with the following data :: Username = Guest-9uau And ID = 1395014850 Default status = I am available

March 12, 2014, 11:00 pm: main.php loaded

March 12, 2014, 11:00 pm: Inserted the user with the following data :: Username = Guest-1n5k And ID = 1395057327 Default status = I am available

March 12, 2014, 11:00 pm: main.php loaded

March 12, 2014, 11:01 pm: main.php loaded

March 12, 2014, 11:01 pm: Inserted the user with the following data :: Username = Guest-9o7 And ID = 1394870171 Default status = I am available

Okay Also I will point out in the Admin area, I go to Moderation and it has all current register users on the league website. I enabled what you said to - I logged in to the league website and logged out and back in. Now the log file: March 12, 2014, 10:55 pm: main.php loaded March 12, 2014, 10:55 pm: Inserted the user with the following data :: Username = Guest-9o And ID = 1394806777 Default status = I am available March 12, 2014, 10:55 pm: Inserted the user with the following data :: Username = Guest-9qh And ID = 1394962265 Default status = I am available March 12, 2014, 11:00 pm: main.php loaded March 12, 2014, 11:00 pm: Inserted the user with the following data :: Username = Guest-9uau And ID = 1395014850 Default status = I am available March 12, 2014, 11:00 pm: main.php loaded March 12, 2014, 11:00 pm: Inserted the user with the following data :: Username = Guest-1n5k And ID = 1395057327 Default status = I am available March 12, 2014, 11:00 pm: main.php loaded March 12, 2014, 11:01 pm: main.php loaded March 12, 2014, 11:01 pm: Inserted the user with the following data :: Username = Guest-9o7 And ID = 1394870171 Default status = I am available

As far as I can tell - It's integrated, because in the Chat admin area you can see all the register users on the site.

It's when a user logs on that it's not catching - When they go to the site, they are guest on the chat, when they log in they get a new guest name - They shouldn't be guest and should have their user name....

As far as I can tell - It's integrated, because in the Chat admin area you can see all the register users on the site. It's when a user logs on that it's not catching - When they go to the site, they are guest on the chat, when they log in they get a new guest name - They shouldn't be guest and should have their user name....

It be nice if you simplify the Tutorial better.

$ses=null;
if(isset($_SESSION['userid']))
{
if($_SESSION['userid'] == 0) // Here null is guest
{
$ses = null;
//$ses = $_SESSION['userid']; //LOOK, now userid will be passed to FreiChat
}
}

What I did was go to the site's Login.php and looked for $_SESSION

Replaces the $_SESSION['userid'] to what the Login.php displayed which was $_SESSION['tid']

It be nice if you simplify the Tutorial better. $ses=null; if(isset($_SESSION['userid'])) { if($_SESSION['userid'] == 0) // Here null is guest { $ses = null; //$ses = $_SESSION['userid']; //LOOK, now userid will be passed to FreiChat } } What I did was go to the site's Login.php and looked for $_SESSION Replaces the $_SESSION['userid'] to what the Login.php displayed which was $_SESSION['tid']
165
6
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft