• 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

Push new meta to all clients

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

Post a reply
1 post • Page 1 of 1

Postby kriko » Sun Nov 06, 2011 2:05 am

I''ve integrated PFC chat into a custom portal - it works fine.
But now I've run into a situation - users use ajax-based dialog to update their profile and then I call:
Code: Select all
pfc.setUserMeta(nick, key, val);
pfc.updateNickBox();

which updates meta but only locally. How can I push changes to server, so everyone in chatroom will see new settings (e.g. avatar)?
kriko
Member
 
Posts: 30
Joined: Sun May 31, 2009 8:07 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 18 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