Shoutbox

Add a button in the chat windows !!! - 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: Skinning (/forumdisplay.php?fid=41)
+----- Thread: Add a button in the chat windows !!! (/showthread.php?tid=84462)

Add a button in the chat windows !!! by KaDe972 on 06-22-2008 at 11:18 AM

Hi all, for my first post , i have a question about a problem

I made a new skin under the WLM 8.5, and i want to add a button on the top of tchat windows, on the right of the blockbutton.

In the uifil 4004 920 i'va add this :

quote:
<Button AccRole=43 class="Buttonspyone" Layout=flowlayout(0,2,0,2) id=atom(spyone) tooltip=true Active=MouseandKeyboard|NoSyncFocus>
<urlelem layout=borderlayout() url="http://www.spyoneradio.com/Lecteur/media_player.wax">
<ButtonIcon class="ToolbarIcon" contentalign=middlecenter ID=Atom(bouspy)/>
</urlelem>
</Button>

and in the 4005 920

quote:
Button[id=atom(spyone)]
{
padding:rcrect(20211);
accdesc:"Kouté Spy One Radio";
}
ButtonIcon[ID=Atom(bouspy)]
{
Content:rcimg(782);

}

i have already add the PNG 782, but
the button don't appear   (the same code work on the wlm 8.1)

Thx u :)
RE: Add a button in the chat windows !!! by Basilis on 06-22-2008 at 11:21 AM

The problem may be that instead of 782, you should add it as a new image e.g. 59000. I have never tried to add a link button in a skin though so I cannot be sure but I suggest you change the picture id


RE: Add a button in the chat windows !!! by KaDe972 on 06-22-2008 at 11:25 AM

Thx for your quick reply.

I have just add the picture like you've say but still have the same problem..

another idea???


RE: Add a button in the chat windows !!! by Basilis on 06-22-2008 at 11:28 AM

Some buttons require specific id's. You have (bouspy). I was trying to add a button and give it another id but it required a specific id. I suggest you find a URL element and just change the link and leave the id as it is in the URL element you will find


RE: Add a button in the chat windows !!! by Willz on 06-22-2008 at 11:36 AM

With custom buttons, ID's don't have anything to do with it. You could give it any ID you wanted and it would not cause problems. The only reason Id's are needed in the first place is so messengers internal bits can communicate with one another. Since its all custom it doesn't do anything

If anything hes probably added it to the mobile toolbar by mistake instead of the main toolbar.


RE: Add a button in the chat windows !!! by KaDe972 on 06-22-2008 at 01:28 PM

i have try with specific Id but have the same probleme...
Do someone has put a button in the chat windows with succes in the wlm 8.5 ????



RE: Add a button in the chat windows !!! by Willz on 06-22-2008 at 01:34 PM

ok may I ask how it is not working?

like is the button appearing but nothing happening?

or is it not appearing at all?


RE: Add a button in the chat windows !!! by KaDe972 on 06-22-2008 at 01:59 PM

It not appearing at all :s



RE: Add a button in the chat windows !!! by Willz on 06-22-2008 at 02:04 PM

ok then what you have done is place your code in the mobile toolbar instead of the normal one.

The chat window has two top toolbar bits of code.

The very bottom one (at the bottom of the UIFile code is the mobile toolbar, that is used when you are talking to a contact thats mobile or if you are sending them a mobile message.

If you scroll up a little bit you will see a second toolbar, this is the main toolbar you see all the time.

If you look for the (invitetoimbtn) button then you will find the right toolbar. Just make sure you've set up the definition and style replacement correctly in skininfo.xml


RE: Add a button in the chat windows !!! by KaDe972 on 06-22-2008 at 02:52 PM

yessssss it's was my problem :$ your are a genius thx a lot
soooo much