Shoutbox

DPs in signed in/out toasts? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: DPs in signed in/out toasts? (/showthread.php?tid=81848)

DPs in signed in/out toasts? by Shiny Rabbit on 02-23-2008 at 05:22 PM

is there a way i can see my contact's DPs in messenger plus sign in/out toasts?


RE: DPs in signed in/out toasts? by Spunky on 02-23-2008 at 05:35 PM

MsgPlus::DisplayToastContact

You'd have to disable Plus' notifications and make your own small script with the signin and/or signout events


RE: DPs in signed in/out toasts? by Shiny Rabbit on 02-23-2008 at 05:39 PM

i know nothing about making scripts =\


RE: DPs in signed in/out toasts? by Basilis on 02-23-2008 at 05:44 PM

Messenger shows the contacts dp on its own when they sign in . You don't need the plus toast for that. But when they sign out, you need a script to display the dp in the toast.


RE: DPs in signed in/out toasts? by Spunky on 02-23-2008 at 06:06 PM

code:
function OnEvent_ContactSignout(Email){
    var Contacts = Messenger.MyContacts;
    var e = new Enumerator(Contacts);
    for(; !e.atEnd(); e.moveNext()) {
    var Contact = e.item();
         if(Contact.Email===Email){
            MsgPlus.DisplayToastContact("Contact Signed Out", MsgPlus.RemoveFormatCodes(Contact.Name), "signed out");
        }
     }
}

That should do it :p
RE: DPs in signed in/out toasts? by Mnjul on 02-23-2008 at 06:20 PM

quote:
Originally posted by SpunkyLoveMuff
code:
function OnEvent_ContactSignout(Email){
    var Contacts = Messenger.MyContacts;
    var e = new Enumerator(Contacts);
    for(; !e.atEnd(); e.moveNext()) {
    var Contact = e.item();
         if(Contact.Email===Email){
            MsgPlus.DisplayToastContact("Contact Signed Out", MsgPlus.RemoveFormatCodes(Contact.Name), "signed out");
        }
     }
}


How is that script function going to add a display picture to the toast as requested by Shiny Rabbit? It's not showing any display pictures in the toasts for me.
RE: RE: DPs in signed in/out toasts? by pollolibredegrasa on 02-23-2008 at 06:23 PM

quote:
Originally posted by SpunkyLoveMuff
code:
function OnEvent_ContactSignout(Email){
    var Contacts = Messenger.MyContacts;
    var e = new Enumerator(Contacts);
    for(; !e.atEnd(); e.moveNext()) {
    var Contact = e.item();
         if(Contact.Email===Email){
            MsgPlus.DisplayToastContact("Contact Signed Out", MsgPlus.RemoveFormatCodes(Contact.Name), "signed out");
        }
     }
}

That should do it :p

Why not use the GetContact function? :P
code:
function OnEvent_ContactSignout(Email){
    var Contact = Messenger.MyContacts.GetContact(Email);
    MsgPlus.DisplayToastContact("Contact Signed Out", MsgPlus.RemoveFormatCodes(Contact.Name), "signed out");
}

However, this doesn't display the DP in the toast either.
RE: DPs in signed in/out toasts? by Shiny Rabbit on 02-23-2008 at 07:38 PM

blarrrr, i'm confuddled =S


RE: DPs in signed in/out toasts? by Mnjul on 02-23-2008 at 08:01 PM

I think there's no easy way to add a dp into a plus! toast :p


RE: DPs in signed in/out toasts? by Shiny Rabbit on 02-23-2008 at 09:34 PM

thats a kick in the balls


RE: DPs in signed in/out toasts? by Spunky on 02-23-2008 at 10:09 PM

Sorry :s My mistake... got confused myself. :(


RE: DPs in signed in/out toasts? by markee on 03-02-2008 at 03:19 AM

I think what we need is an optional variable added to the method, and it can be the path to an image.  If that variable exists (and is a valid image?) then plus will use a different interface that has space for an image like that in WLM.

That's just my idea of what should be done....