PDA

View Full Version : Skin Changer Code



OMGitsHYPE
17-10-2008, 09:00 AM
Right hey there guys, basically for my version two release on HabboFrenzy I want to have a skin changer. Because it's released for Halloween and we want people to be able to switch between the original and Halloween. The coding is fine, the other owner said he can do that, but he is unsure how you can get like the skin changer on like Habtips, HFFM and on HabboxForum. So anyone know of a guide or got a code I can use?

Any help provided will get +REP :)

Blinger1
17-10-2008, 09:15 AM
Try this (http://www.webdevlounge.com/articles/stylesheet-switcher-with-time/) or this (http://www.tutorialstream.com/tutorials/phpmysql/multiple-css-visitor-choose/)

hazz0rd
17-10-2008, 11:11 AM
Are you on about forums or websites?

As you did mention Habboxforum.

J0SH
17-10-2008, 11:40 AM
I think if you go to the style id thing it should say use as parent skin or something then when Halloween is over just disable the skin or put it on private or something.

Meti
17-10-2008, 04:27 PM
You could design a layout with different colours, then code them, and people could press a link, which would be an image of the color, and then the link goes to like www.yoursite.com/blue

understand?

L?KE
17-10-2008, 07:40 PM
Meti that is a bit silly dontcha think?

Blingers should work fine.

Meti
17-10-2008, 08:23 PM
I know it's silly, but it works :P

DJ-Ains.T
17-10-2008, 08:25 PM
Just simply open HFFM's source, then take that code, look at it, recode it. Ta-dah*+*

Trigs
18-10-2008, 12:09 AM
If it's for a usersystem or something, you can use PHP to select and save preferences for what skin the person wants. Then PHP will use a certain stylesheet depending on what the preference is.

PM me for help.

Hypertext
18-10-2008, 05:42 AM
Much easier to use Javascript and use cookies, better to keep it client side, that way it's just a code snippet you can run in your global.js, or whatever.

Want to hide these adverts? Register an account for free!