• 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

nickmeta is not set correctly

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

Post a reply
3 posts • Page 1 of 1

Postby chatterbox » Sun Jan 13, 2008 10:38 am

First of all, thank you very much for the excellent piece of code.
I am enjoying it a lot. Lately we have a big problem with the nickmeta.
we set $params["nickmeta"]["uid"] = $_Get("uid"). However, when we try to use this in customize.js.php we always get the first user who logged in to the chat. We are probably missing something but could not figure out.
Thank you very much for the code and great support.
chatterbox
New member
 
Posts: 3
Joined: Sun Jan 13, 2008 10:32 am
Top

Postby chatterbox » Sun Jan 13, 2008 10:53 am

By the way, we looked at the avatar code, demo50. We are doing the same thing. and below is the code (we always get the same id, i.e., the first person
who entered the chat):
var a = document.createElement('a');
a.setAttribute('target','_blank');
var id = pfc.getUserMeta(this.pfc_nickid,'userid');
a.setAttribute('href','http://www.xxx.com/a.php?id='+id);
a.appendChild(document.createTextNode("Profil"));
div.appendChild(a);

Many thanks
chatterbox
New member
 
Posts: 3
Joined: Sun Jan 13, 2008 10:32 am
Top

Postby chatterbox » Mon Jan 14, 2008 8:15 am

I solved the problem. Problem is a cached get variable is used through out the program.
chatterbox
New member
 
Posts: 3
Joined: Sun Jan 13, 2008 10:32 am
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 8 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