Shoutbox

[Help] Group bars - 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: [Help] Group bars (/showthread.php?tid=81227)

[Help] Group bars by Basilis on 01-26-2008 at 01:53 PM

I want to change the look of the bar I indicate in the picture. Does anyone know the way to do it?


RE: [Help] Group bars by freak544 on 01-26-2008 at 03:53 PM

its in the 1004 and 1009 files


RE: [Help] Group bars by Basilis on 01-26-2008 at 10:57 PM

I looked in the 1004 and 1009 files and I replaced the pictures with mine. Now the entire contact list disappeared.

This is what the trace file writes:

08/01/27 00:50:41| **** The trace has started ****
08/01/27 00:50:41| Skin: Messenger Plus! Live 1.5
08/01/27 00:50:41| Messenger version: 8.5.1302.1018 (el-gr)
08/01/27 00:50:41| Messenger Plus! version: 4.50.312
08/01/27 00:50:41| Last definition file loaded: 1009
08/01/27 00:50:41| Last style sheet file loaded: 1009
08/01/27 00:50:41| Last picture file loaded: 59020
08/01/27 00:50:41| DUIParserFailure: Value creation failed '' 61
08/01/27 00:50:41| DUIParserFailure: Failed to locate stylesheet 'clss' -1
08/01/27 00:50:41| DUIParserFailure: Value creation failed '' 61
08/01/27 00:50:41| DUIParserFailure: Failed to locate stylesheet 'clss' -1
08/01/27 00:50:41| DUIParserFailure: Value creation failed '' 61
08/01/27 00:50:41| DUIParserFailure: Failed to locate stylesheet 'clss' -1
08/01/27 00:50:46| DUIParserFailure: Value creation failed '' 61
08/01/27 00:50:46| DUIParserFailure: Failed to locate stylesheet 'clss' -1

I know the mistake is in the line 61 but I can't find any.any ideas what it might be?


RE: [Help] Group bars by banky on 01-26-2008 at 11:34 PM

quote:
Originally posted by Basilis
I know the mistake is in the line 61 but I can't find any.any ideas what it might be?


Open your SkinInfo.xml in Notepad hit Ctrl + G and type 61 highlight and copy all text on Line 61 and paste it here for us.. Or attach your SkinInfo.xml.

Also it says

quote:
Originally posted by Basilis
08/01/27 00:50:46| DUIParserFailure: Failed to locate stylesheet 'clss' -1

Could be that you're trying to use a Stylesheet named "clss" which isn't in your skin folder to be called for in the skin?

RE: [Help] Group bars by Basilis on 01-27-2008 at 10:52 AM

I fixed that but now an another problem occurred. The pictures are not displayed properly. They get stretched. I put Willz's bar to check if it happens with every bar and with Willz's bar it was working great. I made the dimensions the same as Willz's and the problem continues. See the screenshot


RE: [Help] Group bars by LuckyMe on 04-08-2008 at 09:39 PM

I cant find these images, ive searched in both folders (1004 & 1009) but i dont recognize em, wich is the id and dimensions of this image, do i have to make something else than replace it on Skininfo or just that?, hope you can help me, Bye(Y)


RE: [Help] Group bars by blessedguy on 04-08-2008 at 11:40 PM

they aren't images...but rccolors...I'm also trying to change them


RE: RE: [Help] Group bars by Willz on 04-09-2008 at 12:38 AM

quote:
Originally posted by blessedguy
they aren't images...but rccolors...I'm also trying to change them

Any background that has an rcclr can be replaced with an rcbkd tag. You just have to make sure you set up the UMMargin part right or it just wont work.

@Basilis - Just because mine work does not mean that if you replace the image with yours it will work 100%.
RE: [Help] Group bars by LuckyMe on 04-09-2008 at 01:27 AM

quote:
Originally posted by blessedguy
they aren't images...but rccolors...I'm also trying to change them

???, you mean it cant be replaced with a different image, i mean i want somethin like a texture instead of that blue bar (im tired to see it there)

quote:
Originally posted by Willz
quote:
Originally posted by blessedguy
they aren't images...but rccolors...I'm also trying to change them

Any background that has an rcclr can be replaced with an rcbkd tag. You just have to make sure you set up the UMMargin part right or it just wont work.


Willz could you please give more information about this bar in specific?, how can i replace or delete it, thanks

RE: [Help] Group bars by stuartbennett on 04-09-2008 at 05:07 AM

ok heres lines 8 - 33 of the 1004 style file, 1004 and 1009 are structured almost identically so should be easy to find in both files.

quote:
Element[id=atom(listitem)][selected]
{
    Background:rgb(0,0,0); // 210,234,246
    Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][windowactive=false]
{
    Background:rgb(0,0,0); // 228,228,228
    Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][keyfocused=false]
{
    Background:rgb(0,0,0); // 228,228,228
    Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][indrag]
{
    Background:rgb(0,0,0); // 210,234,246
    Foreground:rgb(255,255,255); // 0,0,0
    Alpha:128;
}
Element[id=atom(listitem)] // this element has been added in
{
    Background:argb(0,0,0,0); // added in
    Foreground:rgb(255,255,255); // 0,0,0
}


that changes it to black bar with white text on it, text is controled via the foreground: tag back refers to the actual bar so change

Background:rgb(0,0,0);

to

Background:rcbkd(59020);

you get the idea, any problems come back to me.
RE: [Help] Group bars by LuckyMe on 04-09-2008 at 05:10 PM

Thanks Stu, im gonna check it and then i get back to comments results.


RE: [Help] Group bars by stuartbennett on 04-09-2008 at 05:14 PM

it can be replaced with a custom image using the process i stated above, let me know how you get on.


RE: [Help] Group bars by blessedguy on 04-09-2008 at 05:17 PM

tks stuart!
i'll try that on aurora live


RE: [Help] Group bars by stuartbennett on 04-09-2008 at 06:01 PM

your welcome blessedguy im glad i could help, so many skins have inspired me and the features i have put into 365, it is nice that for once my skin is one of the skins that inspires others and helps them to improve their skins bringing about a continuous circle of "inspirational evolution" which i hope will help us all to push the boundaries of skinning further and further and in turn inspire patchou to extend skinnings functionallity so as to inspire the creation of even better skins in a never ending cycle of constantly improving developement.


RE: RE: [Help] Group bars by vikke on 04-09-2008 at 07:15 PM

quote:
Originally posted by Basilis
I fixed that but now an another problem occurred. The pictures are not displayed properly. They get stretched. I put Willz's bar to check if it happens with every bar and with Willz's bar it was working great. I made the dimensions the same as Willz's and the problem continues. See the screenshot


Use the <Metadata> tag for your picture in your SkinInfo.xml, it handles stretching and colorization. More information about the tag in the skinning documentation, good luck!
RE: [Help] Group bars by blessedguy on 04-09-2008 at 07:20 PM

well...basilis...
as you will already read this, i'll ask you sth
why don't you use custom code with the group bars "expand/collapse" shortcut?


RE: [Help] Group bars by Basilis on 04-09-2008 at 07:23 PM

Can you explain further what expand/collapse code is? I have never heard of it.*-)


RE: RE: [Help] Group bars by LuckyMe on 04-09-2008 at 08:21 PM

quote:
Originally posted by stuartbennett
it can be replaced with a custom image using the process i stated above, let me know how you get on.

The code you gave me works pretty fine, you´re AWESOME, but i really want to put an image herE, so i hope you tell me how to do it.
Thanks a lot
RE: RE: RE: [Help] Group bars by stuartbennett on 04-09-2008 at 08:59 PM

quote:
Originally posted by LuckyMe
quote:
Originally posted by stuartbennett
it can be replaced with a custom image using the process i stated above, let me know how you get on.

The code you gave me works pretty fine, you´re AWESOME, but i really want to put an image herE, so i hope you tell me how to do it.
Thanks a lot

ok i haven't tried this yet however change

quote:
Background:rgb(0,0,0);


to

quote:
Background:rcbkd(59020);


or maybe to

quote:
Background:rcimg(59020);


where 59020 is the resource number of the image to be used for the replace, then define 59020 in your skininfo file so it refers to the desired image, im not sure if its supposed to be rcbkd or rcimg but one of them should work, remember when setting your replace in skininfo it goes under new as its a 59xxx numbered resource and you need to set some ummargins which are

UMLeft
UMTop
UMRight
UMBottom

they must be set in that order under your metadata part of your replace for example

quote:
<New>
<Pictures>
<Picture Id="59020">
<File>59020.png</File>
<Metadata>
<UMLeft>5</UMLeft>
<UMTop>5</UMTop>
<UMRight>5</UMRight>
<UMBottom>5</UMBottom>
</Metadata>
</Picture>
</Pictures>
</New>


i hope this helps, please remember i havent actually tested it but that should work.
RE: [Help] Group bars by blessedguy on 04-09-2008 at 09:14 PM

quote:
Originally posted by Basilis
Can you explain further what expand/collapse code is? I have never heard of it.*-)
Under line 32 (of the unchanged styles 1004/1009), you'll find:
code:
Element[Class="ExpandCollapseIcon"]
{
ContentAlign:MiddleCenter;
Content:rcimg(1382);
}
Element[Class="ExpandCollapseIcon"][MouseFocused]
{
Content:rcimg(1383);
}

then replace it (on both 1004/1009), with your custom code:
code:
Element[Class="ExpandCollapseIcon"][ContentIndex=0]
{
ContentAlign:MiddleCenter;
Content:rcimg(59001);
}
Element[Class="ExpandCollapseIcon"][ContentIndex=1]
{
ContentAlign:MiddleCenter;
Content:rcimg(59002);
}
Element[Class="ExpandCollapseIcon"][MouseFocused][ContentIndex=0]
{
Content:rcimg(59003);
}
Element[Class="ExpandCollapseIcon"][MouseFocused][ContentIndex=1]
{
Content:rcimg(59004);
}

of course, with your pic ids...i used them as an example!
here's the result:[Image: screeniemr4.jpg]


By the way...thanks stuart!
the bar img worked!
RE: RE: RE: RE: [Help] Group bars by LuckyMe on 04-09-2008 at 09:51 PM

quote:
Originally posted by stuartbennett

i hope this helps, please remember i havent actually tested it but that should work.

Dont worry, i´ve tested it & it¨s working, man you´re the one! jeje :bow::bow::bow::bow:

..By the way I´ve used rcimg tag for the image, and it seems fine fine fine, So, thanks a lot Stu
RE: [Help] Group bars by stuartbennett on 04-10-2008 at 04:51 AM

not a problem glad i could help, and thanks blessedguy for the instructions on the expanded/collapsed replacement.