FreiChat related discussions
Saved messages

in my back end i have set the "Save Message History For" to 10 minutes but even after an hour, the message does not disappear. What did i do wrong? please help out thanks.

in my back end i have set the "Save Message History For" to 10 minutes but even after an hour, the message does not disappear. What did i do wrong? please help out thanks.

i know you can clear the chat from the database but i dont want to go to phpmyadmin every few days to clear it. I looked online for an answer and the only solution i came to was to delete it from phpmyadmin

i know you can clear the chat from the database but i dont want to go to phpmyadmin every few days to clear it. I looked online for an answer and the only solution i came to was to delete it from phpmyadmin

Try changing it to 10 hours and see if the messages are deleted the next day .

Try changing it to 10 hours and see if the messages are deleted the next day .
Necessity is the mother of all inventions!

i changed it and it did nothing. the message is still there after a very very long time. meaning till now.

i changed it and it did nothing. the message is still there after a very very long time. meaning till now.

Go to freichat/server/freichat.php

Find below lines about line no . 365 .

//  $update_mesg_query = "UPDATE frei_chat set recd = 1 WHERE (frei_chat.to = " . $this->frm_id . " || room_id=" . $active_room . ") and recd = 0";
// $this->db->query($update_mesg_query);


Replace them (i.e uncomment) with
$update_mesg_query = "UPDATE frei_chat set recd = 1 WHERE (frei_chat.to = " . $this->frm_id . " || room_id=" . $active_room . ") and recd = 0";
$this->db->query($update_mesg_query);


Wait for 2 minutes and check your DB.

Go to freichat/server/freichat.php Find below lines about line no . 365 . <code> // $update_mesg_query = "UPDATE frei_chat set recd = 1 WHERE (frei_chat.to = " . $this->frm_id . " || room_id=" . $active_room . ") and recd = 0"; // $this->db->query($update_mesg_query); </code> Replace them (i.e uncomment) with <code> $update_mesg_query = "UPDATE frei_chat set recd = 1 WHERE (frei_chat.to = " . $this->frm_id . " || room_id=" . $active_room . ") and recd = 0"; $this->db->query($update_mesg_query); </code> Wait for 2 minutes and check your DB.
Necessity is the mother of all inventions!

Thank you VERY MUCH it worked perfectly. =) thank you very much

Thank you VERY MUCH it worked perfectly. =) thank you very much

This is happening again after i upgraded the chatbox to 7.2 now i try to look into the file and change it like before... it seems its already like that. yet the messages doesn't clear.

This is happening again after i upgraded the chatbox to 7.2 now i try to look into the file and change it like before... it seems its already like that. yet the messages doesn't clear.

From v7.0 the functionality of auto-deleting messages is removed .

You have to delete them manually from freichat backend

From v7.0 the functionality of auto-deleting messages is removed . You have to delete them manually from freichat backend
Necessity is the mother of all inventions!

You can download all the versions released until now from http://code.google.com/p/frei-chat/downloads/list

You can download all the versions released until now from http://code.google.com/p/frei-chat/downloads/list
Necessity is the mother of all inventions!
151
11
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft