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

User Params

This forum is now locked as we will no longer be developing the v1.x branch

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

Topic locked
3 posts • Page 1 of 1

Postby LoB » Wed Jul 25, 2007 5:48 pm

Hi..

I need to store some params, which will be transfered through pfc. In some cases, I need to store the SessionId where the user comes from, to use it, when someone is clicking on the chat-users nick. I thought about, to store in some extra field, like $params['userparam1'] = "Blabla"..

Greetings, Dirk..
LoB
New member
 
Posts: 6
Joined: Tue Jul 24, 2007 2:07 am
Top

Postby phpfreechat » Fri Jul 27, 2007 8:11 am

Just use the usermeta parameter :
$params['usermeta']['userparam1'] = "Blabla";
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby LoB » Fri Jul 27, 2007 12:32 pm

Thankyou for this..

But its $params['nickmeta']['userdata'] = 'blabla'; ;-)

Now there's a new problem. I need to transfer a SessionID but in the Session of PFC the Value can't be overwritten. PFC ignores the new value, instead he's using still the old value. How can I fix this? I try to remove the cookie/session or whatever.. but nothing worked..

Greetings
Last edited by LoB on Fri Jul 27, 2007 3:35 pm, edited 1 time in total.
LoB
New member
 
Posts: 6
Joined: Tue Jul 24, 2007 2:07 am
Top


Topic locked
3 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • 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