Forums » Union Coders »
How to show history on joining chat
Added by Jeremy Titus 597 days ago
I am still learning this amazing tool, however I cannot figure out how to display the entire chat history (for the day) when joining?
Replies
RE: How to show history on joining chat - Added by colin moock 597 days ago
hi jeremy,
Union does not currently include a built-in chat transcripting feature, but you could write one quite easily using a server-side room module. for info on modules, see:
http://www.unionplatform.com/?page_id=1072
Technically, you could also write a transcript all client-side using a series of numerically named room attributes, such as:
msg1=hi
msg2=hello
...
to manage the message numbers, in a separate room attribute, you'd need to keep a counter of the number of messages. for example code, see:
http://www.unionplatform.com/?page_id=599
However, unless you are just experimenting and prefer to avoid server-side code, I would not recommend the client-side approach because it is highly vulnerable to client-side tampering (i.e., someone could easily write a client to remove all the messages, change messages, or change the counter). From a network traffic perspective, the client-side approach would also be much more verbose than a server-maintained transcript.
Transcripting is on our post-1.0 roadmap.
colin
RE: How to show history on joining chat - Added by Aaron Froehlich 324 days ago
Any chance someone has worked on a server-side transcript module? I'm definitely interested if there's one available.
Thanks,
Aaron