SMF For Free Support Forum
Signup For Free Forum
December 18, 2014, 06:29:16 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register Chat  

Pages: [1]
  Print  
Author Topic: [Code] All Skin Chooser  (Read 6627 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Moderator
*****
Offline Offline

Posts: 836


Do not PM me for Code Support or Request


View Profile
Total Badges: 25
Badges: (View All)
Poll Voter Level 5 Seventh year Anniversary Sixth year Anniversary Arcade Highscore
« on: June 24, 2007, 02:31:05 pm »

Well, just to make it easyer for me, and for you.  I decided to put all the skins in one Skin Chooser.

First, you HAVE TO set the default skin on your board to "default" before you add this code.  You will have alot of troble with this code if you don't!

Place in Headers if you don't already have it.  this is for the Jquery to work...
Code:
<script src="/jquery.js"></script>
<script src="http://h1.ripway.com/smcodes/skinssource.js">//Skin Source</script>

Now, put this in your Headers also.  I know it is big, but it is for the all the skins.
Code:

<div id="default_skins"><hr /><b>Default Skins: </b><a href="#" onclick="setActiveStyleSheet(''); return false;">Default</a> | <a href="#" onclick="setActiveStyleSheet('Black'); return false;">Black</a> | <a href="#" onclick="setActiveStyleSheet('Red'); return false;">Red</a> | <a href="#" onclick="setActiveStyleSheet('Green'); return false;">Green</a> | <a href="#" onclick="setActiveStyleSheet('Brown'); return false;">Brown</a> | <a href="#" onclick="setActiveStyleSheet('Lavender'); return false;">Lavender</a></div>
<div id="techno_skins"><hr /><b>Techno Skins: </b><a href="#" onclick="setActiveStyleSheet('Techno Black'); return false;">Black</a> | <a href="#" onclick="setActiveStyleSheet('Techno Blue'); return false;">Blue</a> | <a href="#" onclick="setActiveStyleSheet('Techno Brown'); return false;">Brown</a> | <a href="#" onclick="setActiveStyleSheet('Techno Green'); return false;">Green</a> | <a href="#" onclick="setActiveStyleSheet('Techno Orange'); return false;">Orange</a> | <a href="#" onclick="setActiveStyleSheet('Techno Pink'); return false;">Pink</a> | <a href="#" onclick="setActiveStyleSheet('Techno Purple'); return false;">Purple</a> | <a href="#" onclick="setActiveStyleSheet('Techno Red'); return false;">Red</a> | <a href="#" onclick="setActiveStyleSheet('Techno Turquoise'); return false;">Turquoise</a></div>
<div id="light_skins"><hr /><b>Light Skins: </b><a href="#" onclick="setActiveStyleSheet('Light Blue'); return false;">Blue</a> | <a href="#" onclick="setActiveStyleSheet('Light Brown'); return false;">Brown</a> | <a href="#" onclick="setActiveStyleSheet('Light Golden'); return false;">Golden</a> | <a href="#" onclick="setActiveStyleSheet('Light Lilac'); return false;">Lilac</a> | <a href="#" onclick="setActiveStyleSheet('Light Navy'); return false;">Navy</a> | <a href="#" onclick="setActiveStyleSheet('Light Olive'); return false;">Olive</a> | <a href="#" onclick="setActiveStyleSheet('Light Red'); return false;">Red</a> | <a href="#" onclick="setActiveStyleSheet('Light Rose'); return false;">Rose</a> | <a href="#" onclick="setActiveStyleSheet('Light Silver'); return false;">Silver</a> | <a href="#" onclick="setActiveStyleSheet('Light Turqouise'); return false;">Turqouise</a> | <a href="#" onclick="setActiveStyleSheet('Light Violet'); return false;">Violet</a></div>
<div id="other_skins"><hr /><b>Other Skins: </b><a href="#" onclick="setActiveStyleSheet('Helios Blue'); return false;">Helios Blue</a> | <a href="#" onclick="setActiveStyleSheet('Helios Green'); return false;">Helios Green</a> | <a href="#" onclick="setActiveStyleSheet('Helios Purple'); return false;">Helios Purple</a> | <a href="#" onclick="setActiveStyleSheet('Helios Red'); return false;">Helios Red</a> | <a href="#" onclick="setActiveStyleSheet('Blue Mousse'); return false;">Blue Mousse</a> | <a href="#" onclick="setActiveStyleSheet('Camo'); return false;">Camo</a> | <a href="#" onclick="setActiveStyleSheet('Chronicles'); return false;">Chronicles</a> | <a href="#" onclick="setActiveStyleSheet('Red Fire'); return false;">Red Fire</a> | <a href="#" onclick="setActiveStyleSheet('Rusted'); return false;">Rusted</a> | <a href="#" onclick="setActiveStyleSheet('Grey and Blue'); return false;">Grey and Blue</a> | <a href="#" onclick="setActiveStyleSheet('Grey and Green'); return false;">Grey and Green</a> | <a href="#" onclick="setActiveStyleSheet('igOH Mimic'); return false;">igOH Mimic</a> | <a href="#" onclick="setActiveStyleSheet('Vista Mimic'); return false;">Vista Mimic</a></div>


Now, place this into your Footers...
Code:
<script src="http://h1.ripway.com/smcodes/skinchooserall.js">//Skin Chooser</script>

There ya go!  If you need a preview, go here:
http://skinchooser.smfforfree3.com/index.php?

Also, while I am here, I will not be on for the rest of the week.  So for support, just wait, I will be back next saturday...when ever that is.
« Last Edit: June 16, 2008, 10:06:25 pm by simply sibyl » Logged

Check out Revolution X's Brand new Code Index!
nchillbilly
SMF For Free Sponsors
*
Offline Offline

Posts: 33



View Profile
Total Badges: 13
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« Reply #1 on: May 18, 2008, 10:45:44 pm »

Thanks Agent Moose!  This is great!

Logged


ZombiePhil
SMF For Free Newbie
*
Offline Offline

Posts: 2


View Profile
Total Badges: 9
Badges: (View All)
Topic Starter Combination Level 2 Level 1 First Post
« Reply #2 on: May 22, 2008, 05:02:26 am »

That caused problems, I couldn't get on  the site anymore   Shocked
Logged
gム尺y
SMF For Free Full Member
*
Offline Offline

Posts: 210


Have a nice day!


View Profile
Total Badges: 16
Badges: (View All)
Windows User Topic Starter Combination Level 3 Level 2
« Reply #3 on: May 22, 2008, 05:12:41 am »

Thats terrific!!

Moose, Can you test it on a forum and make sure if it doesn't cause problems..
Logged
*ballin*
SMF For Free Member
*
Offline Offline

Posts: 38


View Profile WWW
Total Badges: 11
Badges: (View All)
Topic Starter Combination Level 2 Level 1 10 Posts
« Reply #4 on: May 26, 2008, 04:33:51 pm »

I tested it out, it works perfect  Wink
Logged

Dss
SMF For Free Newbie
*
Offline Offline

Posts: 14


View Profile
Total Badges: 10
Badges: (View All)
Topic Starter Combination Level 2 Level 1 10 Posts
« Reply #5 on: May 27, 2008, 07:15:39 am »

Some nice skins on here.


EDIT::: 19:33
HUGE PROBLEM.

I installed it successfully a few hours ago.  And for some reason the code has just died on my ass.  I have reentered the code and it is still broken.

The links appear at the top of the page yet they don't do anything.

You can inspect it here.
http://www.dss.smfforfree3.com
« Last Edit: May 27, 2008, 01:36:15 pm by Dss » Logged
johnq
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
Total Badges: 8
Badges: (View All)
Topic Starter Combination Level 2 Level 1 First Post
« Reply #6 on: May 31, 2008, 07:43:33 pm »

mine is doing the same thing just started today
Logged
Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 213


VMK will always remain in my heart.


View Profile WWW
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« Reply #7 on: June 16, 2008, 09:40:37 pm »

ok some of mine work but some when u click they do nothing

Here is a list of the ones that dont work:
Blue Mousse 
Camo
Chronicles 
Red Fire
Rusted 
Grey and Blue
Grey and Green
igOH Mimic
Vista Mimic

These are all on the OTHER catagory

also i couldnt help but notice on the techno skins purple is spelt wrong
Logged

simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #8 on: June 16, 2008, 09:52:21 pm »

Yeah those have never worked using Internet Explorer.   They do work if you use Firefox.
Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #9 on: June 16, 2008, 10:01:45 pm »

Until Moose can fix that you could remove those from the code and leave it so that the "Other Skins" show just the Helios ones.    Like this:

Code:


<div id="default_skins"><hr /><b>Default Skins: </b><a href="#" onclick="setActiveStyleSheet(''); return false;">Default</a> | <a href="#" onclick="setActiveStyleSheet('Black'); return false;">Black</a> | <a href="#" onclick="setActiveStyleSheet('Red'); return false;">Red</a> | <a href="#" onclick="setActiveStyleSheet('Green'); return false;">Green</a> | <a href="#" onclick="setActiveStyleSheet('Brown'); return false;">Brown</a> | <a href="#" onclick="setActiveStyleSheet('Lavender'); return false;">Lavender</a></div>
<div id="techno_skins"><hr /><b>Techno Skins: </b><a href="#" onclick="setActiveStyleSheet('Techno Black'); return false;">Black</a> | <a href="#" onclick="setActiveStyleSheet('Techno Blue'); return false;">Blue</a> | <a href="#" onclick="setActiveStyleSheet('Techno Brown'); return false;">Brown</a> | <a href="#" onclick="setActiveStyleSheet('Techno Green'); return false;">Green</a> | <a href="#" onclick="setActiveStyleSheet('Techno Orange'); return false;">Orange</a> | <a href="#" onclick="setActiveStyleSheet('Techno Pink'); return false;">Pink</a> | <a href="#" onclick="setActiveStyleSheet('Techno Purple'); return false;">Purple</a> | <a href="#" onclick="setActiveStyleSheet('Techno Red'); return false;">Red</a> | <a href="#" onclick="setActiveStyleSheet('Techno Turquoise'); return false;">Turquoise</a></div>
<div id="light_skins"><hr /><b>Light Skins: </b><a href="#" onclick="setActiveStyleSheet('Light Blue'); return false;">Blue</a> | <a href="#" onclick="setActiveStyleSheet('Light Brown'); return false;">Brown</a> | <a href="#" onclick="setActiveStyleSheet('Light Golden'); return false;">Golden</a> | <a href="#" onclick="setActiveStyleSheet('Light Lilac'); return false;">Lilac</a> | <a href="#" onclick="setActiveStyleSheet('Light Navy'); return false;">Navy</a> | <a href="#" onclick="setActiveStyleSheet('Light Olive'); return false;">Olive</a> | <a href="#" onclick="setActiveStyleSheet('Light Red'); return false;">Red</a> | <a href="#" onclick="setActiveStyleSheet('Light Rose'); return false;">Rose</a> | <a href="#" onclick="setActiveStyleSheet('Light Silver'); return false;">Silver</a> | <a href="#" onclick="setActiveStyleSheet('Light Turqouise'); return false;">Turqouise</a> | <a href="#" onclick="setActiveStyleSheet('Light Violet'); return false;">Violet</a></div>
<div id="other_skins"><hr /><b>Helios Skins: </b><a href="#" onclick="setActiveStyleSheet('Helios Blue'); return false;">Helios Blue</a> | <a href="#" onclick="setActiveStyleSheet('Helios Green'); return false;">Helios Green</a> | <a href="#" onclick="setActiveStyleSheet('Helios Purple'); return false;">Helios Purple</a> | <a href="#" onclick="setActiveStyleSheet('Helios Red'); return false;">Helios Red</a></div>



I fixed the purple
« Last Edit: June 16, 2008, 10:06:01 pm by simply sibyl » Logged
Stitch
SMF For Free Full Member
*
Offline Offline

Posts: 213


VMK will always remain in my heart.


View Profile WWW
Total Badges: 14
Badges: (View All)
Topic Starter Combination Level 3 Level 2 Level 1
« Reply #10 on: June 17, 2008, 09:53:22 am »

ok thx yea i use IE so that would explain it
Logged

cavallers
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
Total Badges: 8
Badges: (View All)
Topic Starter Combination Level 2 Level 1 First Post
« Reply #11 on: June 19, 2008, 03:40:16 pm »

agent moose you are awesome!!!!
Logged
ishybadboy
SMF For Free Member
*
Offline Offline

Posts: 46



View Profile
Total Badges: 10
Badges: (View All)
Topic Starter Combination Level 2 Level 1 10 Posts
« Reply #12 on: August 14, 2008, 05:00:44 am »

Thanks alot Agent Moose, Looking forward to using more of your projects.  Wink     coolsmiley
Logged


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.20 | SMF © 2013, Simple Machines