• 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

user list encoding in 1.0?

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

Post a reply
3 posts • Page 1 of 1

Postby HeroicLife » Wed Jun 21, 2006 4:24 pm

In .9, I had a script that showed the active users, but in 1.0, the names look like this:
"f9c798821d7a2e84fef9204d82dd5b23"

I guess the encoding is different? How can I get the names from the files? The previous version looked like this:

$users[] = urldecode(base64_decode($file));

http://www.objectivismonline.net/chat/whois.php
HeroicLife
Member
 
Posts: 17
Joined: Tue Feb 21, 2006 8:55 pm
Top

Postby softwareNerd » Thu Jun 22, 2006 7:59 pm

Okay, we figured out the problem. In the new version the data we read is a nick-Id. We have to use getNickName() on the container to get the actual textual nick.
softwareNerd
Member
 
Posts: 17
Joined: Thu Feb 23, 2006 4:00 pm
Top

Postby phpfreechat » Thu Jun 29, 2006 7:59 am

I will release an API for 1.x branche in order to query easily these kind of informations.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
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 15 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