Hi,

When users enter the chat, it automatically displays the last x messages. How can I change this behaviour, so that none of the old messages are displayed and the first message is "User entered chat" or similar. A hint where to search to change the code by myself might be enough.

Thanks in advance
Markus

Comments

owahab’s picture

Status: Active » Fixed

Hi there,

In phpfreechat RC4:
File: phpfreechat.module
Line: 296
Add: $params['max_msg'] = x; (where x is the number you want, default is 20)

And you're done.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.