in

Community Server

The platform that enables you to build rich, interactive communities

Option to be emailed new messages on the board.. or at least notified of them.

Last post 09-16-2010 8:48 AM by Spooky. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-01-2010 8:21 PM

    • Spooky
    • Top 10 Contributor
    • Joined on 08-19-2009
    • Denver CO
    • Posts 64

    Option to be emailed new messages on the board.. or at least notified of them.

     The title says it. I was just thinking it might be a nice option to offer users.

     Ohhh... or maybe just some kind of highlighting on the menu bar when there are new messages.

  • 09-16-2010 8:48 AM In reply to

    • Spooky
    • Top 10 Contributor
    • Joined on 08-19-2009
    • Denver CO
    • Posts 64

    Re: Option to be emailed new messages on the board.. or at least notified of them.

     I have a thought on how to implement this, but I could use some assistance... specifically in interacting with cookies.

     My thought is that a SQL statement along the lines of "Select MAX(MessageID) FROM Messages" should return a unique number of the current newest message. If this value was saved to a cookie every time the "messages.asp" page was viewed, then the "siteMenu.asp" could poll that number from the cookie, then present a slightly different menu option (say "MESSAGE BOARD" instead of "Message Board") when appropriate.

    If someone could explain how the code interacts (read/writes) with cookies, I think I could figure the rest out simply enough.

Page 1 of 1 (2 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems