News Forums Community Projects Bugs Documentation Download
The Toolkit for Online Communities
10410 Community Members, 1 member online
Log In Register

Private Messaging

OpenACS Home : xowiki : Private Messaging
Notifications Subscribe the XoWiki instance · Search · Index


Package: Private Messaging 

Description: see this folder: http://openacs.org/storage/index?folder%5fid=70462 File Storage has not yet been fully recovered. See "private messaging" in private-message was written in 2004 for the lastest OpenACS (version 5.1.5). It uses the CR and other OpenACS toolkit features.

related discussion

ecommerce-g2 project will need a private messaging service. From ec g2 page:

Check applicability of a private-message package as an interOpenACS messaging package for sending private messages to users (and between users?). This becomes significant for

1. cases where one needs to retain strict privacy and email addresses may be shared (not private). See http://openacs.org/forums/message-view?message%5fid=387304#387964 (skip first line)

2. keeping an online log of messages that need to be reported to admins (similar to the Problem Reports messaging that is used in the ecommerce package).

3. ecommerce Problem Reports could use that fancy, green alert bar to alert package admins to items that need immediate attention. (add this ability to notifications or some intra-site mail package instead? NO. that functionality only applies to existing sessions.

There are 2 user-to-user message package available, and also something called acs-messaging which seems to have the underlying functionality). Maybe the green bar could notify of new messages in the private messaging system...

Following is edited material about an intrasite-message package with similar goals:

Richard Hamilton wrote an intrasite-message package that allowed what looked like webmail but done so that the message never leaves the database. Needed to work with OpenACS 4.6.2. Because there is no list builder on that version, it uses Jon Griffin's paginator procs for the message folder display functionality which works very well but is not really part of the OpenACS and you would need to install his procs in order to use it.The OpenACS object model is not used. You absolutely do not want to be having to set permissions on messages or adding multiple entries (per message) to the permissions lookup view because as message numbers grow this would be a sure fire way to clog everything up big time. Code assumes recipients are allowed to see the messages and others cannot.

RH's module provides the basic folders (in-box, sent, deleted, draft) and allows users to add additional custom folders and move messages around between them just like in Outlook Express. Mesages are addressed by user_id by use of the user lookup code from the admin pages (with mods). The module takes care of the fact that a single message can exist in a different folder for each user, and allows for replies, copying the text and indenting with '>' just as Outlook Express does.

Intrasite-message has been used for a security conscious deployment where public email was not favored. Consequently, RH also hacked package calls to ns_sendmail such that messages were sent using intrasite-message instead of through the smtp server. Such a re-direction should be made an option in the parameters for applications that send notifications, that the messaging module can be selected instead of the system smtp server. However it needs to be implemented properly using callbacks instead of with ugly cross package hacks :-). Intrasite-message also grabs unread message numbers data for display on the user home page etc.

Intrasite-message is not implemented (and it makes no sense really to permit) messages being forwarded out of the private message module to public email because that breaches the very privacy that you are trying to achieve, but notifications of a message could be valuable. Also, an incoming message function might be an interesting adjuct in future for emails sent to [username]@[website].

a general purpose, properly supported, OpenACS module for private (intra-site) messages would need these improvements:


References to this Page: en:ecommerce-g2
Categories: Non-Core Packages (OpenACS.org) Subscribe category Non-Core Packages in tree OpenACS.org

Add a comment