Quote:
Originally Posted by marster37
When more messages are added they disappear from the box message area. I get about 14 one line messages before it starts with the new message. Any way to have all the messages stay on the screen. When I scroll up there isnt anything more than 14 messages at a time
|
In vBChat.php find:
PHP Code:
$chat_page .= "<table height='100%' border='0'>";
// Get All Chat Messege's If Any
$Get_Chat_MSG = $DB->query("select m.*,u.* from ".TABLE_PREFIX."vbchat_store m
left join ".TABLE_PREFIX."user u on (u.userid = m.s_postby) where m.s_forroom = '{$bbuserinfo['vbchat_pref_in_room']}' order by m.s_postime desc limit 0,15");
The last number there, at the last line, that 15, is the number of messages that it shows you. I changed that to 30 in my site. If you want all messages to show, remove the " limit 0,15" part. But it's useless, if you scroll up to read the previous messages, and the screen refreshes, you will be thrown back at the bottom again, so I do not see it very useful.
Rgds