Shoutbox

How to set use others pictures??? - 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: How to set use others pictures??? (/showthread.php?tid=81461)

How to set use others pictures??? by TheSourcE on 02-05-2008 at 02:09 PM

Hello,

I have made a skin and i want the users to change the theme of the skin.

example: I have on the normal skin of the Splinter Cell Chaos Theory the background image of Sam. (Splinter Cell protagonist)

And i want to make a option so users can change that picture (if the want) by another background.

Does anyone now how to get this????

Eminem1992


RE: How to set use others pictures??? by Volv on 02-05-2008 at 02:42 PM

What you will want to read up on is User Modifiable Options (Click) in the skinning documentation.

Basically you will have to create an option where the user can select which background they want to use. Then, depending on the choice you will want to load the appropriate image resource into your skin. How this is done is well explained in the skinning docs (see the above link).


RE: How to set use others pictures??? by TheSourcE on 02-05-2008 at 03:23 PM

Ok thanks for your help Volv. I will take a look at it;)


Ok here is the situation. I have addes the option to choise normal or negative pictures to use.

I have now ho to use the negative  but how do i use the normal??

RE: How to set use others pictures??? by Volv on 02-05-2008 at 05:30 PM

Well you've added the set of Negative resources to be loaded for when ChangeBkg = true, now you just have to add a set of Normal resources to be loaded for when ChangeBkg = false. Just copy and paste the same code and change the condition from true to false and the paths to the picture files.


RE: How to set use others pictures??? by TheSourcE on 02-05-2008 at 05:44 PM

It works. thank you Volv;)


RE: How to set use others pictures??? by Volv on 02-05-2008 at 05:50 PM

No problem, you can also make use of MultiVal options if you want users to be able to select a background from a dropdown box.