Forum OpenACS Development: System Admin Announcement

Collapse
Posted by Nima Mazloumi on
Just came to my mind: What about a little interface that permits admins to write an announcement that is displayed as a message for a given time. This would allow the admin to notify users for instance that the server has to shut down ...

Any comments?

Collapse
Posted by Carl Robert Blesius on
Place to put the message:

<if @user_messages:rowcount@ gt 0>
  <div id="user-message">
    <ul>
      <multiple name="user_messages">
        <li>@user_messages.message;noquote@</li>
      </multiple>
    </ul>
  </div>
</if>

taken from:

openacs/packages/theme-selva/www/selva-site-master.adp

Collapse
Posted by Nima Mazloumi on
Thanks Carl. I knew of that. I was more thinking of a corresponding UI to write those messages and schedule them.
Collapse
Posted by Matthew Geddert on
This would be very helpful. It would be great if the message could be deactivated via an action. I.E. display this message until user 1234 performs action 2345 (such as downloads a report that took a long time generate in the background) or display it until user 1234 clicks "remove" (which would be a lot easier to implement and would likely be good enough).

Of course for things such a letting people know a scheduled downtime is coming one would not want the user to be able to remove the message.

Collapse
Posted by Ryan Gallimore on
Site-wide messaging like this would also be great for regular users. Builds on the community mandate. Candidate for Ajax?