1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Forums in Read Only mode, when closed

Discussion in 'XenForo Suggestions' started by Floren, Sep 2, 2010.

  1. Floren

    Floren Well-Known Member

    I think this option is small but very important.
    When I close my board, I would like to have the choice of allowing the users to read the forums, but not be able to post. My logic is explained, below.
    snoopy5, Dadparvar, Claudio and 144 others like this.
  2. Floris

    Floris Guest

    Yeah, I agree, the ability to move a board into read only mode as "closed" as additional option to closing it 100% .. has my vote.
    Liam W, EQnoble and Cezz like this.
  3. CBI Web

    CBI Web Well-Known Member

    Me too, indicated by my Like of Floren's post, which negates the need to actually post this post, which means I've defeated the purpose of my Like. hehe
    Dragonfly likes this.
  4. James

    James Well-Known Member

    Someone forgot to Like the first post to show their agreement ;)
  5. Floris

    Floris Guest

    You can't force me :D
    Mikey, James and Ceri May like this.
  6. Dean

    Dean Well-Known Member

    Under what conditions would this be desirable?

    It would be handy when moving platforms (___ -> xf), when else?
  7. Cezz

    Cezz Well-Known Member

    When doing minor maintenance tasks, that you wouldn't want people adding records to the database??

    It would come in handy for me to put a site into this mode once a week to make a DB backup instead of closing the site all together... Would need to make no writes to the DB at all though so no session tracking etc...
    ibnesayeed and CBI Web like this.
  8. James

    James Well-Known Member

    I would love a read-only mode. If I'm doing permission changes, database backups or anything that requires modifying the database. Users can still read posts and search engines can still index, they just can't reply until the forum is out of read-only mode.

    Like x100
    Neutral Singh and CBI Web like this.
  9. Forsaken

    Forsaken Well-Known Member

    I feel completely dirty now.
    Ceri May likes this.
  10. James

    James Well-Known Member

    For what reason? :p
  11. Forsaken

    Forsaken Well-Known Member

    If you look you'll probably figure it out :p.
  12. James

    James Well-Known Member

    Unless I'm not very observant, you feel dirty for liking the post? :p

    I love this suggestion!
  13. Ryan

    Ryan Well-Known Member

    Not a bad idea, but I do see at least one potential problem with it, and that's unread/read thread marking. Say I'm a member of a forum and visit a couple times per day. I happen to visit during this read only mode and read a bunch of stuff - do those threads get marked as read or no? On one hand, if they are marked as read, then I may never remember to actually post in those I would like to post in...because the next time I come to the forums and am able to post again, they're all marked as read. On the other hand, if the posts are *not* marked as read, then I get annoyed when I revisit after read only mode because posts that I've already read are being marked as unread.

    With this in mind, a read only mode might (?) make your members a little bit happier since they can still read the latest on what's going on, but I don't think it does anything positive for the activity in your forums...I have a feeling activity when you come out of read only mode would actually be a little bit lower than activity would be if you just had closed the forums all together as is done today.

    Another very obvious problem with read only mode is the simple fact that major upgrades/migrations often break lots of things - and you don't want your users to experience this, hence closing the forums completely. Now, as you're doing maintenance on the forums, you should probably know the difference between a change that is minor and one that will break stuff...but not all admins will always be able to differentiate the two. Keep in mind that just because people cannot post does not mean that the database is not being updated frequently. There's a lot of database activity involved just in browsing the forums.
    Darkimmortal likes this.
  14. Onimua

    Onimua Well-Known Member

    But that would cause confusion to users when you re-enable the board. Threads that were read by the user wouldn't be marked as such, so when the board is turned back on all of these threads they already saw are marked unread.
  15. Cezz

    Cezz Well-Known Member

    True but it keeps the board readable and crawl-able
  16. Onimua

    Onimua Well-Known Member

    At the cost of user-friendliness, unfortunately.

    I like the idea, but I think it would cause some issues I don't want to deal with every single time I shut the board down, and Ryan brought up some valid points as well.
  17. James

    James Well-Known Member

    Valid point... that's something I guess there'd have to be a workaround for (perhaps cookie-storing the read status in read-only mode then converting the cookie-stored to database-stored when you come out of read-only mode).
    If I was in read-only mode, I would put up a notice that I was performing {insert action here} and that they may browse the forum as normal, bar being able to post. My users would understand this and either return (if I specify a time limit for the read-only period) or wait around.

    If I was performing major upgrades I would, of course, take down the forum. Things like database backups that don't take too long, or permission manipulating, things I am sure won't break the forum, I can just put the forum in read-only mode with a notice letting users know what's going on.
  18. Enigma

    Enigma Well-Known Member

    In read-only mode you'd want to not do any writing to the database, since you might have it read-only for the express purpose of doing work on the database. The one exception would be to all sessions-- ie, allow admins (and probably anyone) to log in/be logged in. So thread marking would be a non-issue, since nothing gets written to the database.
  19. Ryan

    Ryan Well-Known Member

    Also a true "read-only" mode would need to disable ALL database updating which would mean disabling all sorts of stuff, not just post creation...but editing user accounts, profile, updating user status, private messaging, all modifications (chat, gallery, blog), registrations, login attempts...yikes, the more I think about it, the longer this rabbit hole gets.

    I think I'm just fine with disabling my forums completely when I perform maintenance. With enough testing/preparation, no forum should ever experience extended maintenance anyways. I've migrated huge forums with a few hundred thousand posts in just 15-20 minutes before. You've just got to have all your ducks in a row and be fairly handy with SSH and database commands.
  20. James

    James Well-Known Member

    If my first idea isn't considered (converting cookie-marking to db-marking when the forum is re-opened) I'd like the option to set forums to read-only but allow thread marking for when I want the forums on read-only and I'm not doing anything that will affect marking.

    The alternative is to just disable logging in when the forum is in read-only mode, this way threads won't be marked because the user isn't logged in.

Share This Page