• 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

kick, ban baniptime, new login system ban ip?

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

Post a reply
4 posts • Page 1 of 1

Postby DaNGuS » Tue Nov 29, 2011 9:38 pm

Hi,

Just want to know, if there is anyone facing same problem with ban or kick system. I had problems with kicks or bans with normal 1.3 pfc, then i install /baniptime update, no changes,then i did update to login system, there is different system which redirects you on admin page, then you select ban user from server, but nathing hapening.
Ok i will try to explain my problem littl more.
For start, i do not blame any of pfc developers, or creators of pfc, because i do making changes on my own on script, trying to make the way my chat members want, so it can be all my mistakes, or something, because this thing is new for me, sometimes i have no clue what i doing, but i like to try and learn new things.
So the problem is, that sometimes, without any reason i can't kick, ban the members,i write the command /kick nick [reason] but on the screan i see that user have been kicked or baned, but he still there and he laughing at me. And its not same user all the time. There's something happening in the system, because i need delete all files and upload days before saved files to vork it.
And second, with new system i thought it will works fine. But today, one of my member gon whild. Hes are registered member. He started swering, insult other members, i did ban him with that new system, by baning his ip trought admin page, but he stays thee where he are. Then i kicked him, but nathing, he back. I thought he probably using proxy, but no. For try, i did baned another member from diferent ip, i explained to him about it, and asked to logof and login again. he did it, and he back in to chat without any problems at all.
Third, the privat. My members claims,that sometimes the private does not works,but just randomly. when you click on member, no box appears.
I'm asking, can anyone help me with it? its getting annoying, when "kids" starting play with you, and you "admin" have no power to getrive of them. If anyone would be willing to help me, i can make link to download my source and check it for me, please?

Regards
Thanks
DaNGuS
DaNGuS
Member
 
Posts: 20
Joined: Fri Nov 11, 2011 9:33 am
Top

Postby re*s.t.a.r.s.*2 » Tue Nov 29, 2011 11:48 pm

Hi

And second, with new system i thought it will works fine. But today, one of my member gon whild. Hes are registered member. He started swering, insult other members, i did ban him with that new system, by baning his ip trought admin page, but he stays thee where he are. Then i kicked him, but nathing, he back. I thought he probably using proxy, but no. For try, i did banned another member from different ip, i explained to him about it, and asked to logof and login again. he did it, and he back in to chat without any problems at all

Hi, if the person doesn't log off then his session wont be deleted...
this person must log off the chat and when he tries to enter again at the login.php then his session is going to be destroyed..

As for PFC chat ban that too works as session the person just need to change his session and he 'll be able to enter the chat again...

a link to your chat for further help ...

Pfc Login System work for ban, if you changed something in the code this could be messing things up...

there isnt way to really help you because your are changing code that doesnt supposed to be changed..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby DaNGuS » Mon Dec 05, 2011 3:29 pm

hi,
i think i know what's the problem about all of those doesnot working bans and kicks. For start, yes, login system admin page ban works, when the user leaves (logs of) then he cannot back to the chat, but that's wrong, user must be kicked out the same time he have been banished from the chat.
Second, commands like /kick, /ban or /baniptime does not work if person have been in the chat longer then is set in pfcglobalconfig.class.php $timeout ="" settings. For the some reason, the member can stay in the chat, but he's are not in the system, the chat system do not recognise him like he exist in the chat. I can't kick him or ban him, simple because systems says does not Exist on the system and the command cannot execute the requested line. And you cannot use private messages with that user, its says "You are trying to speak to a unknown (or not connected) user" when you trying to send a private message.
If i change the number less then 60000, then all members need refresh windows (f5) to connect to the chat, but they nicks still in the chat, and if they leave and back after minute, they cant back, because the system says "Chosen nickname is not allowed".I have set the parameters $quit_on_closedwindow = true; but still it doesn't quit when they closed windows, and they can't back,because the nick is already in the chat. Just after 10 min the nick gose offline (timeout) and then they can back to chat again.
So, its all about timeout and quit problem, not the bans or kicks. I will try to have a look in those parameters, if anyone know, or already did fix, i would appreciate with your help, thanks

My chat room is here ----> http://ltchat.com click chat (the chat translated to Lithuanian language)

Thanks,
Regards
DaNGuS
Last edited by DaNGuS on Mon Dec 05, 2011 5:00 pm, edited 1 time in total.
DaNGuS
Member
 
Posts: 20
Joined: Fri Nov 11, 2011 9:33 am
Top

Postby re*s.t.a.r.s.*2 » Mon Dec 05, 2011 5:59 pm

Hi,

As I stated before the ban by ip in the Pfc Login System woks using session, why performance I dint want to have a msql query every single refresh time the chat send a request to the chat script..

that's why I used Session , after that user tries to enter again the chat shouldn't let in..
about your user not possible to be banned is because you have an orphan meta file in Data file about this user because the timeout class didn't clean it or because you data folder and subfolder doesn't have the rights to delete files ..

The params 'quit_on_closedwindow' doesn't work at all because not all browsers send the onunload event failing to send the quit command and leave the chat proppertly , with that so if you go to the login page and try to return to the chat with the same nick you were in the chat before you will get "Chosen nickname is not allowed", why because the timeout class haven't kicked since your params timeout is doing cleaning as you stated above every 10 minutes...

Fix anything about those parameters , I for one being trying just that and I don't see how, that's how the chat is designed to do its clean up and timeouts.


regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
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 76 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