ejabberd - Comments for "Chat logging" https://www.ejabberd.im/node/3066 en Chat log (XEP-0136) using mod_archive https://www.ejabberd.im/node/3066#comment-53205 <div class="quote-msg"> <div class="quote-author"><em>nishanthaMe</em> wrote:</div> <p>Because I am developing a web based chat and the problem is that if the page refreshed, the content of the chat disappears. Therefore I have to reload the content of the chat again.</p> <p>( I am developing a chat for an existing web application hence it is hard to change that application and stopping refreshing the page) </p></div> <p>Oh, that would be obviously the best solution, but if that seems hard, you can try using server logging.</p> <div class="quote-msg"> <div class="quote-author"><em>nishanthaMe</em> wrote:</div> <p>does ejabberd support for chat logging.<br /> ...<br /> how can I retrieve them</p></div> <p>ejabberd 2.0.1 doesn't implement chat logging, but there is a contributed module that implements XEP-0136:<br /> <noindex><a href="/mod_archive" rel="nofollow" >mod_archive</a></noindex>. In fact there are several alternative versions of the same module: mnesia storage, sql storage, odbc backend.</p> <p>Using SVN you download all ejabberd-modules, then compile the module you prefer, install and configure ejabberd.cfg</p> <p>The Jabber client can retrieve the chat history from the server implementing the corresponding part of XEP-0136.</p> Thu, 29 May 2008 22:26:00 +0000 mfoss comment 53205 at https://www.ejabberd.im