• 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

Issue in private message b/w users

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

Post a reply
3 posts • Page 1 of 1

Postby kthangabalu » Thu Jun 03, 2010 9:45 am

hi ,

i have some issue while customizing phpfreechat.

This is the issue.


VERSION : 1.3

below is the setup config files.


$params["serverid"] = md5(__FILE__); // calculate a unique id for this
chat
$params["title"] = "Live wire Chat";
$params["nick"] = iconv("ISO-8859-1", "UTF-8",
$_SESSION['loginusername']);
$params["channels"] = array("Economics", "Natural
Sc","Maths","Chemistry");
$params["frozen_nick"] = true;

Now, when i logged in as a different user , it's reflected in the chat
automatically.
issue comes in the following scenario.

user1 sends private message to user3

user1 logs out and logs in as user 2 (using same browser)

user2 sends a private message to user3

The issue issue is user2 can see the private messages sent b/w user1
and user3 as well.

Note : when i set $params["frozen_nick"] to false , user change
dosen't get's reflected in the chat.

Any help to overcome this problem will be appreciated .

please contact me @: kthangabalu@gmail.com if any one comes with the solution

Thanks in advance,
balu.
kthangabalu
New member
 
Posts: 2
Joined: Thu Jun 03, 2010 9:30 am
Top

Postby todhend » Fri Jun 04, 2010 1:19 am

its your browser cache, clear your cache and cookies, close the browser before you log back into a different user name, this can't be helped as far as I've found
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby todhend » Wed Jun 09, 2010 10:47 pm

also if your having trouble with browser cache its possible your not logging out of all your sessions, to be sure in your template you need to add all sessions killed into a logout button in this line it log's me out of the chat as well as the website user name in one button

<li><a onclick="pfc.sendRequest('/quit');" href="<?php $_SERVER['PHP_SELF']; ?>?ls_logout" >Log Out</a></li>
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top


Post a reply
3 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 17 guests

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