• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

How to integrate it with existing web which already has memb

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
7 posts • Page 1 of 1

Postby blitzonme » Fri Aug 04, 2006 8:36 am

dear all
I have a web with has user membership already. User can login and do their personal thing. How do I put this lovely chat software in it? I mean once the user logged in, they can go to chat room without have to login again. I want to use my existing user table, not from this software. Is it possible?

Let's say I hv table USER with 3 fields : USERID, PASSWORD and REAL-NAME. So when the user logged in with that 3 fields, the user should be able to chat without typing anything to enter the room, just click on hte link. Their name just show up on the chat room.

Thx 4 any help. I'll b grateful 4 any information that might help.
blitzonme
New member
 
Posts: 3
Joined: Fri Aug 04, 2006 8:16 am
Top

Postby phpfreechat » Fri Aug 04, 2006 9:25 am

Phpfreechat has been designed to make these kind of thing easy.
You must play with "nick" and "frozen_nick" parameters.

For exemple:
$params["nick"] = $_SESSION["your_username_coming_from_your_bdd"];
$params["frozen_nick"] = true;
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby blitzonme » Wed Aug 09, 2006 5:22 am

may I know in which file those settings are? Is it only in one single file?
blitzonme
New member
 
Posts: 3
Joined: Fri Aug 04, 2006 8:16 am
Top

Postby Anman » Wed Aug 09, 2006 11:13 am

its in your main chat file. The one that you use to actually view the chat. If theyre not there, then you can just add them to the params aray.
Anman
New member
 
Posts: 4
Joined: Sun Aug 06, 2006 2:24 pm
  • Website
Top

Postby joexavier » Sun Sep 17, 2006 1:42 pm

I still don't really get the part where you do this:
$params["nick"] = $_SESSION["your_username_coming_from_your_bdd"];
$params["frozen_nick"] = true;

What do we fill in into the your_username_coming_from_your_bdd?
joexavier
New member
 
Posts: 1
Joined: Sun Sep 17, 2006 1:38 pm
Top

Postby blitzonme » Wed Sep 20, 2006 9:25 am

Could you please just point out in WHICH file these settings are? It's not easy to find these :

$params["nick"] = $_SESSION["your_username_coming_from_your_bdd"];
$params["frozen_nick"] = true;

in so many files :(

thank you
blitzonme
New member
 
Posts: 3
Joined: Fri Aug 04, 2006 8:16 am
Top

Postby Beni » Thu Sep 21, 2006 11:22 am

Use GNU grep ;)

it is, for example the index.php file.
Beni
Member
 
Posts: 65
Joined: Thu Sep 21, 2006 10:50 am
Top


Post a reply
7 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 9 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub