iFlyChat plugin provides a shortcode which WordPress site administrators can use to view logs of a room.

To view a room log, add the following shortcode to a new WordPress post:

[iflychat_message_thread room_id ="0"]

 

Here room_id is the room id (always a number).

If you create a new WordPress post/page and add the above short code, then it will show the log of Public Chatroom for your website upon viewing the post/page. You may change 0 room id to some other room id, for example 1, 2, etc.

Check this blog post for more information - https://iflychat.com/blog/2014/02/view-chat-room-logs-wordpress-using-sh....