• 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

mutiple log-in prevention

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

Post a reply
4 posts • Page 1 of 1

Postby libraboyz » Tue Dec 18, 2007 6:32 pm

Hi...May I know how to prevent the same person or same ip enter the same chatroom may times and bomb the system. Thank you.
libraboyz
New member
 
Posts: 1
Joined: Tue Dec 18, 2007 6:29 pm
Top

Postby phpfreechat » Thu Dec 27, 2007 1:00 pm

You have to create your own registration system, then play with the "frozen_nick" and "nick" parameters.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gweilo8888 » Tue Feb 12, 2008 11:31 pm

Could you provide a little more info on this please? I'd need to implement this for myself...
gweilo8888
Member
 
Posts: 13
Joined: Tue Feb 12, 2008 11:24 pm
Top

Postby OldWolf » Wed Feb 13, 2008 1:17 am

Create or find a registration system... phpbb works for this, and would also give you a forum to play with... but any registration system you can understand will do.

Find out how the registration system stores it's username variable, and use it to set the parameter "nick" to that username variable.
For example, if it was stored by using sessions, under the variable name "uname", it would look something like this:
$params["nick"] = $_SESSION['uname'];

Also make sure to prevent users with no uname from enterting.

Set the frozen nick parameter to true, which will prevent them from changing nick names.

Finally, use your registration system to prevent multiple registrations from the same IP.

If you have any other questions, feel free to post them. :)
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


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 3 guests

  • 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