wiki:Drupal/Shoutbox

Shoutbox

one of the OrganikComponents

The shoutbox is an adapted version of the drupal shoutbox. It offers a way to users to post small messages in the OrganiK platform. A small box is displayed in the initial page of OrganiK, called Shoutbox (customized version for OrganiK), where users write their shouts-posts. They can also add a URL to accompany their post.

Users need to have specific permissions to be able to view the shoutbox and/or post shouts. An administrator can moderate and manage the shouts posted. A list of all shouts posted by any user is available under the url: /shoutbox, while a list of shouts posted by a specific user is available under the url: /shoutbox/%uid, where %uid is the user id of the specific user. To accommodate the needs of the notification module, suitable custom Drupal hooks were defined for the shoutbox module. Should other modules require to communicate with shoutbox (e.g. to analyze the content of the post), more hooks can easily be defined.

Description

The MicroBlogging Component of Organik provides users with a way to broadcast short and brief messages about their status, what they are working on, etc. The aim is to let users communicate in an informal way and trigger online discussions. Moreover, a simple message can be diffused to a large audience in a very simple manner. Finally, it could be used as a resource monitoring and allocation support tool.

To accommodate the needs of the MicroBlogging Component an already existing module of the Drupal community, “Shoutbox” was used as a basis and developed further to meet the needs of the OrganiK platform.

This module places a small box in the initial page of OrganiK, the “Shoutbox”, where users broadcast their shouts-posts. Apart from simple text, users can also add a URL to accompany their post. This can be very helpful in cases when one needs to refer to a web page outside or within the OrganiK platform. The broadcasted message is displayed in the Shoutbox, along with the username of the user who posted it.

Users need to have specific permissions to be able to view the Shoutbox and/or post messages. Furthermore, it is possible that an administrator manages the Shoutbox and moderates messages posted.

The Shoutbox module was extended by creating three additional pages, which make it possible to view all messages posted by all users, all messages posted by a specific user or a single message posted by a user:

· To view a list of all messages posted by any user, one can visit the page http://.../drupal/shoutbox.

· To view a list of messages posted by a specific user, one can visit the page http://.../drupal/shoutbox/user/%uid, where %uid is the user id of the specific user.

· To view a single message posted by a user, one can visit the page http://.../drupal/shoutbox/%shoutid/view.

To accommodate the need of being notified for updated to Shoutbox, the OrganiK developers have also offered added RSS notification and subscription options to the above mentioned pages. (For further details, see the “Notifications component”.

Finally, shoutbox was extended in order to have its contents indexed by the Semantic Search and thus allow users to search the content of the shouts too.

All the above mentioned extensions were included in the "organik_shoutbox" module.

Figure: MicroBlogging Component - ShoutBox

People

EleniKargioti

Source

Module that extends the functionalities of the Drupal community module 'Shoutbox':

http://organik.opendfki.de/browser/trunk/drupal/contributions/modules/organik_shoutbox

Last modified 7 years ago Last modified on 07/21/10 12:25:55

Attachments (1)

Download all attachments as: .zip