Offline Messaging

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Changes in the OpenSim.ini file)
Line 1: Line 1:
 +
__NOTOC__
 +
{{Template:Quicklinks}}
 +
<br />
 +
 
Offline messaging makes it possible to send IM's to people that are not online and saves the messages directly to a database.
 
Offline messaging makes it possible to send IM's to people that are not online and saves the messages directly to a database.
  

Revision as of 16:16, 21 May 2009


Offline messaging makes it possible to send IM's to people that are not online and saves the messages directly to a database.

Through OpenSim.Wiredux as a module

In the latest version of OpenSim.Wiredux the offline module is already ready to be used

  • Grab the latest version of the Wiredux
  • Install the wi_offline_msg.sql file on your database

You need to enable the Offline Messaging Module in your Opensim.ini file.

Changes in the OpenSim.ini file

[Messaging]
; Control which region module is used for instant messaging.
; Default is InstantMessageModule (this is the name of the core IM module as well as the setting)
InstantMessageModule = InstantMessageModule
; MessageTransferModule = MessageTransferModule
OfflineMessageModule = OfflineMessageModule
OfflineMessageURL = http://yourserver/offline.php
MuteListModule = MuteListModule
MuteListURL = http://yourserver/mute.php

When you did it right, reboot your region and try to send a message to an offline person. Check the database to see that it has written a record.

Next time that person logs in, he will get the message and the database will be updated

P.D: The MuteListModule and URL must be uncommented in order for the offline module to work, even if there is not mute.php file in the web folder.

General
About This Wiki