• 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

PFC make me confuse!

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

Post a reply
21 posts • Page 2 of 2 • 1, 2

Postby OldWolf » Fri Jun 11, 2010 9:27 pm

You would set your nick to admin, and then use /identify bob (bob would be your password).
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 h4ever » Sat Jun 12, 2010 10:59 pm

No, this does not work. I simply think PFC behavior is strange on some occasions.

Thanks to the possibility of cache editing.
Last edited by h4ever on Sat Jun 12, 2010 11:00 pm, edited 1 time in total.
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby todhend » Sun Jun 13, 2010 4:28 am

after changing the script so much and using it at the same time, the browsers cache can play tricks on you some times, FireFox is bad about that very thing, I assure you this will work if you follow post #12, the issue is probably the user name Bob is not the same as bob, the same for the password, a good way to to do this is copy the name exactly as its displayed next to the command line into the config

var $admins = array("username" => "userpassword");

on the command line

/identify userpassword

after changing the config you have to delete the cache file
Last edited by todhend on Sun Jun 13, 2010 4:29 am, edited 1 time in total.
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby h4ever » Mon Jun 14, 2010 12:18 am

BINGO!

I found something that can partially to explain "strange behavior" of PCF. I am on ftp server and I try to delete cache and chat data. I see tha if I delete some data, they apear there again. I use F5 and I see really it is so. I forgot that PFC makes refresh every 2s and it means he writes some lock and new cache if deleted. The only possibility is to close app and rerun index.php. Or to sert higher delay about 10s.

But as I said this is only 1/2 of problem. Although I closed app. and deleted the chacche and chat data, then open PFC again through index.php... so PCF still remembers the opened channels. That shouldn't! If I delete cache and chat data and recheck it through F5, that dirs are empty, then he cannot remember the opened channels... I dont understand this.

PCF would need some command to stop sending this refreshes or to change delay for a while...
h4ever
Member
 
Posts: 43
Joined: Fri Jun 04, 2010 11:10 am
Top

Postby todhend » Tue Jun 15, 2010 2:09 am

are these channels set up in your config or index, if so they will always come back if not try deleting your browser cache then logging in as a different user, what browser so you use?

also you need to log out of your session, just closing your window does not do that, there is a setting in the config for how long a session lasts after closing the window, the command for ending a sesson is

<li><a onclick="pfc.sendRequest('/quit'); "href="">Log Out </a></li>

or you caould use the php session destroy command
Last edited by todhend on Tue Jun 15, 2010 11:20 pm, edited 1 time in total.
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Postby todhend » Thu Jun 17, 2010 3:24 am

if your using firefox I had the same issue, other browsers did not, not the chat :)
http://nflpick.net free football picks
http://tdah.us free webmail script
todhend
Member
 
Posts: 83
Joined: Tue Jan 19, 2010 9:03 pm
Location: Missouri
  • Website
Top

Previous

Post a reply
21 posts • Page 2 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 26 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