• 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 entered nick

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

Post a reply
3 posts • Page 1 of 1

Postby poumtatalia » Wed Feb 17, 2010 5:09 pm

Hi there,

I'm a rookie here so apologies if this is a silly question.
I'm just trying to get users to enter their nickname rather than having the auto generated one. I read somewhere that I just had to remove the nick line so I just quoted it.
//$params["nick"] = ""; // setup the intitial nickname
But it still doesn't ask for the nickname, and just leaves a blank nickname.

Any idea what I did wrong?

Cheers.
Last edited by poumtatalia on Wed Feb 17, 2010 5:09 pm, edited 1 time in total.
poumtatalia
New member
 
Posts: 1
Joined: Wed Feb 17, 2010 5:02 pm
Top

Postby OldWolf » Wed Feb 17, 2010 6:52 pm

For some reason it's not properly commenting out if it's resulting in a blank user name (because it's seeing "" as your name, which is nothing)... I'd just go ahead and remove the line to make sure.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Asimina » Sat Feb 27, 2010 12:36 pm

For it to work you have to change this..

/$params["nick"] = ""; // setup the intitial nickname (tha you wrote above)

to this

/$params[""] = "guest"; // setup the intitial nickname

it should now ask you for the nickname anytime a new person enter.

:)
Asimina
New member
 
Posts: 5
Joined: Sat Feb 27, 2010 12:30 pm
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
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub