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