Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter clickmac

    (@clickmac)

    when a chat room is deleted, does all the data belong to it be deleted too?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi clickmac, sorry about the long delay in response to your questions.

    The chat content is all stored in text files on your server, not in the database. The chat rooms themselves are custom post types that are stored in the database and this is done for the sake of easily creating urls that you can give people so they can participate. When those are deleted, the content won’t be, but the url to access it will. This should allow for archiving and log display pretty easily if you choose not to delete the chat room. When you deactivate the plugin or remove it completely, the text files that store the chat content remain on the server and are not deleted by the plugin at any time.

    In regards to caching and previous conversation, the plugin creates a new file based on the current date. Default location for these is your uploads directory / chatter / chatroom_slug-date. with “chatroom_slug” and “date” being dependent on the date and the name of the chatroom you gave.

    I will probably amend these to be filterable for those who want to change locations of this. That said, when you roll over to a new date, then a new file will be created to store the chat content for that 24 hour period.

    Hopefully this answers all your questions, but feel free to ask any more and I’ll do my best to answer.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How is the data stored?’ is closed to new replies.