What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » Add a button in the chat windows !!!

Add a button in the chat windows !!!
Author: Message:
KaDe972
New Member
*


Posts: 8
Joined: Jun 2008
O.P. Add a button in the chat windows !!!
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 :)

This post was edited on 06-22-2008 at 11:21 AM by KaDe972.
06-22-2008 11:18 AM
Profile E-Mail PM Find Quote Report
Basilis
Veteran Member
*****

Avatar
Olympiacos CFP

Posts: 1366
Reputation: 46
31 / Male / Flag
Joined: Dec 2007
RE: Add a button in the chat windows !!!
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
[Image: logo1nu1.png]
06-22-2008 11:21 AM
Profile PM Find Quote Report
KaDe972
New Member
*


Posts: 8
Joined: Jun 2008
O.P. RE: Add a button in the chat windows !!!
Thx for your quick reply.

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

another idea???
06-22-2008 11:25 AM
Profile E-Mail PM Find Quote Report
Basilis
Veteran Member
*****

Avatar
Olympiacos CFP

Posts: 1366
Reputation: 46
31 / Male / Flag
Joined: Dec 2007
RE: Add a button in the chat windows !!!
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
[Image: logo1nu1.png]
06-22-2008 11:28 AM
Profile PM Find Quote Report
Willz
Senior Member
****

Avatar

Posts: 953
Reputation: 52
36 / Male / Flag
Joined: Jul 2006
RE: Add a button in the chat windows !!!
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.

This post was edited on 06-22-2008 at 11:38 AM by Willz.
06-22-2008 11:36 AM
Profile PM Web Find Quote Report
KaDe972
New Member
*


Posts: 8
Joined: Jun 2008
O.P. RE: Add a button in the chat windows !!!
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 ????


06-22-2008 01:28 PM
Profile E-Mail PM Find Quote Report
Willz
Senior Member
****

Avatar

Posts: 953
Reputation: 52
36 / Male / Flag
Joined: Jul 2006
RE: Add a button in the chat windows !!!
ok may I ask how it is not working?

like is the button appearing but nothing happening?

or is it not appearing at all?
06-22-2008 01:34 PM
Profile PM Web Find Quote Report
KaDe972
New Member
*


Posts: 8
Joined: Jun 2008
O.P. RE: Add a button in the chat windows !!!
It not appearing at all :s


06-22-2008 01:59 PM
Profile E-Mail PM Find Quote Report
Willz
Senior Member
****

Avatar

Posts: 953
Reputation: 52
36 / Male / Flag
Joined: Jul 2006
RE: Add a button in the chat windows !!!
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

06-22-2008 02:04 PM
Profile PM Web Find Quote Report
KaDe972
New Member
*


Posts: 8
Joined: Jun 2008
O.P. RE: Add a button in the chat windows !!!
yessssss it's was my problem :$ your are a genius thx a lot
soooo much


06-22-2008 02:52 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On