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 id ="c-0"]
Here id is the room id.
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 c-0 room id to some other room id, for example c-1, c-2, etc.
Check this blog post for more information - https://iflychat.com/blog/2014/02/view-chat-room-logs-wordpress-using-sh....