phpBB

Development Wiki

Difference between revisions of "PhpBB4/Messaging Component"

From phpBB Development Wiki

(Concrete Protocol Services)
(Generic Messaging Service)
Line 3: Line 3:
 
== Generic Messaging Service ==
 
== Generic Messaging Service ==
 
Allows sending messages / notifications via any of the available protocols. Should also allow sending with multiple protocols. This should be used whenever a user is informed about any process within phpBB. Based on the user's settings or selections the notification will be send with the prefered protocol.
 
Allows sending messages / notifications via any of the available protocols. Should also allow sending with multiple protocols. This should be used whenever a user is informed about any process within phpBB. Based on the user's settings or selections the notification will be send with the prefered protocol.
 +
 +
<php>interface MessaginglInterface
 +
{
 +
}</php>
  
 
== Concrete Protocol Services ==
 
== Concrete Protocol Services ==

Revision as of 01:21, 23 November 2009

This might need to be split into multiple components

Generic Messaging Service

Allows sending messages / notifications via any of the available protocols. Should also allow sending with multiple protocols. This should be used whenever a user is informed about any process within phpBB. Based on the user's settings or selections the notification will be send with the prefered protocol.

interface MessaginglInterface
{
}

Concrete Protocol Services

interface MessagingProtocolInterface
{
}

PrivateMessaging

Sends a regular private message on the board.

Mail

Sends an e-mail to the recipient's address.

XMPP

Sends a message via XMPP. Are there good external XMPP libraries? Shall we write our own (and contribute it to a framework)?

Perhaps: Posting

One could add a service that creates posts in a forum on the board. This might make sense for notifications about moderation activities.

IRC

Low priority

Implementation of IRC for notifications of specified events to a channel for things such as moderation notices or announcements, or as a private message for things like subscription notifications (like XMPP).

Possibly have a list of IRC accounts setup by administrators, then when setting up a notification event the user can select the account that will be used to notify them (allowing for different servers or login requirements for IRC accounts).