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

Clearing old chat

Post a bug fix, a new feature, a theme ...

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

Post a reply
1 post • Page 1 of 1

Postby AJsWebCreations » Mon Jul 09, 2012 10:07 pm

I thought I would post this here incase anyone else was having the same issues with this as I was. I was trying to have all chat clear when the page was refreshed or opened instead of having the 20 last messages displayed. I wanted this because my client will be using this for a questions and answers for his live talk radio show that he does one night a week. He did not want to login and see last weeks messages, any way everything I read told me to go to index.php and change the amount in the max_msg pram. I did not have a index.php and the other php files in the same area that had pram setting did not have a pram for max_msg. So with some digging I found it in "phpfreechat/src/pfcglobalconfig.class.php" on line 285 changes the number to "0" and it works great. I hope this helps someone and saves them some time.
AJsWebCreations
New member
 
Posts: 8
Joined: Sun Jul 08, 2012 3:50 pm
Top

Post a reply
1 post • Page 1 of 1

Return to Contributions (v1.x)

Who is online

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