[Opensim-users] Opensim-users Digest, Vol 38, Issue 24

Andrew andsim2 at gmail.com
Thu Oct 14 01:28:18 UTC 2010


  will drupal work in windows?
i have php5 installed

On 13/10/2010 4:05 PM, opensim-users-request at lists.berlios.de wrote:
> Message: 6
> Date: Wed, 13 Oct 2010 18:44:33 +0200
> From: ssm2017<ssm2017 at gmail.com>
> To:opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] Offline IM to email module
> Message-ID:
> 	<AANLkTi=FHSguRaUsUt6Q+oEjahTWoo3h_bPnLguazLNt at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hello
> as said in irc , you need to have the "osprofile" module to store the
> user preference in the database first (the user can select in viewer
> preferences if the message can be emailed)
> then you need to tell in your opensim.ini the offline message url (use
> the same url for mute messages) (see
> http://opensimulator.org/wiki/Offline_Messaging)
> then, the sim will send an xml document to the url script you
> mentionned (your script can be php, ruby, pyhthon etc...)
> the message sent is like that :
>
> <GridInstantMessage
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
>    <fromAgentID>UUID of the user sending message</fromAgentID>
>    <fromAgentName>NAME of sender</fromAgentName>
>    <toAgentID>UUID of destination user</toAgentID>
>    <dialog>INTEGER defining message type</dialog>
>    <fromGroup>true</fromGroup>
>    <message>here is the message sent</message>
>    <imSessionID>UUID of the im session</imSessionID>
>    <offline>1</offline>
>    <Position><X>0</X><Y>0</Y><Z>0</Z></Position>
>    <binaryBucket>AA==</binaryBucket>
>    <ParentEstateID>100</ParentEstateID>
>    <RegionID>UUID of the region from where the message was sent</RegionID>
>    <timestamp>1286477676</timestamp>
> </GridInstantMessage>
>
> so you can use "simlexml" or something else to parse the message first
> and then send the email or not
> note : the<dialog/>  element is also sending "typing" text that is 42,
> so you should filter it:)
>
> here is the code i have made to use it with drupal :
> http://github.com/ssm2017/d4os/blob/master/io/d4os_io_services/d4os_io_services_offline_message/d4os_io_services_offline_message.module
> but you can also take inspiration from other projects like wiredux :
> http://forge.opensimulator.org/gf/project/opensimwi/scmsvn/?action=browse&path=%2Ftrunk%2Foffline.php&revision=84&view=markup
>
> 2010/10/13 Jor3l Boa<jor3l at foravatars.com>:
>> >  Hey Andrew, The offline msg module is PHP, so look when the message is
>> >  stored in the DB and send an email to that user, If you have the module
>> >  working with 0.7 mail me and we can work this
>> >
>> >  2010/10/13 Andrew<andsim2 at gmail.com>
>>> >>
>>> >>  ?hi there,
>>> >>
>>> >>  i think i have ask before i cant remember, anyway.
>>> >>  i have been looking everywhere that do offline im to email. but i cannot
>>> >>  find and been asking Meta7 to provide that module, i cant get them to give.
>>> >>  so can anyone can make one or give me instruction how to make one. I'm not
>>> >>  very good programmer yet but still learning.
>>> >>  i am surprise no one has made one expect throu private grid like Meta7,
>>> >>  InWorldz, maybe OpenLife.
>>> >>  thank
>>> >>  Andsim



More information about the Opensim-users mailing list