Multi-theme... Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
+3
SLGray
Sir Chivas™
Higurashistrike
7 posters

    Multi-theme...

    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Multi-theme...

    Post by Higurashistrike Sun 18 Mar 2012 - 19:39

    I tried the Multi-theme thing from the tricks and tips, put it onto my forum. When I entered it, it looked like it worked. When I tried to switch thems though, it didn't work. It just stays at the same theme. I don't get what I did wrong. I look at all the code, and it follows the directions I was given.
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6983
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    In progress Re: Multi-theme...

    Post by Sir Chivas™ Sun 18 Mar 2012 - 20:46

    You changed your theme (skin) ?

    If so, everything you put in the CSS, automatically gets delete after switching your theme (skin)
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Mon 19 Mar 2012 - 3:49

    https://help.forumotion.com/t71484-add-multi-themes-to-your-forum
    I was following this.
    The code I used for it is:
    Code:

    //STAR Skin Selector by Bourne (montatuforo.net) and 3mOtrOnik (toxigeek.com)
    document.write('<style>body {margin-top:50px !important;} select {color: #fff !important; background-color: #000 !important;} option {font-family: verdana; font-size: 10px; color: white;} option.sl {color: #fff !important; background-color: #000;} SELECT{ font-family: verdana; font-size: 10px; color: white; </style>');
    document.write('<div style="position: absolute; width: 150px; height: 38px; z-index: 1; left: 5px; top: 10px" id="skinselector"><form><select onchange="changeskin(this.options[this.selectedIndex].value); window.location.reload();"><option class="sl">Selet your skin</option><option class="sl" value="Default"> Anime-tion 1</option><option class="sl" value="Black"> Anime-tion 2</option></select></form></div>');
    var scheme = getCookie('template1');
    if (scheme == 'Default') {
    document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://nenshiattribute.forumotion.com/121075-ltr.css">');
    } else if (scheme == 'Black') {
    document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://nenshiattribute.forumotion.com/152324-ltr.css">');
    } else if (scheme == 'Purple')

    function changeskin(change) {
    var scheme = change;
    var name = 'template1';
    var pathname = location.pathname;
    var myDomain = pathname.substring(0,pathname.lastIndexOf('/')) +'/';
    var ExpDate = new Date ();
    ExpDate.setTime(ExpDate.getTime() + (180 * 24 * 3600 * 1000));
    setCookie(name,scheme,ExpDate,myDomain);
    }
    function getCookie(name){
    var cname = name + "=";
    var dc = document.cookie;
    if (dc.length > 0) {
    begin = dc.indexOf(cname);
    if (begin != -1) {
    begin += cname.length;
    end = dc.indexOf(";", begin);
    if (end == -1) end = dc.length;
    return unescape(dc.substring(begin, end));
    }
    }
    return null;
    }

    function setCookie(name, value, expires, path, domain, secure) {
    document.cookie = name + "=" + escape(value) +
    ((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
    ((path == null) ? "" : "; path=" + path) +
    ((domain == null) ? "" : "; domain=" + domain) +
    ((secure == null) ? "" : "; secure");
    }
    //END Skin Selector by Bourne (montatuforo.net) and 3mOtrOnik (toxigeek.com)
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Mon 19 Mar 2012 - 5:52

    Please post your forum's link?



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Mon 19 Mar 2012 - 10:32

    Mike
    Mike
    Hyperactive


    Male Posts : 4255
    Reputation : 471
    Language : English, HTML, CSS
    Location : Loveland, Colorado

    In progress Re: Multi-theme...

    Post by Mike Mon 19 Mar 2012 - 12:05

    Your theme switcher works for me...
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Mon 19 Mar 2012 - 16:07

    ..oh I just noticed it... well the banner is supposed to change, as well as the Navbar icons. :/
    NikkoBryan14
    NikkoBryan14
    Forumember


    Male Posts : 274
    Reputation : 8
    Language : English
    Location : Philippines

    In progress Re: Multi-theme...

    Post by NikkoBryan14 Mon 19 Mar 2012 - 16:41

    Any have some for phpbb2??
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Mon 19 Mar 2012 - 16:49

    NikkoBryan14:
    The tutorial will work for all versions.

    The skin/theme changer will not change everything on the forum only certain things will change.



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Darren1
    Darren1
    Helper
    Helper


    Male Posts : 11853
    Reputation : 566
    Language : English

    In progress Re: Multi-theme...

    Post by Darren1 Mon 19 Mar 2012 - 18:23

    Hi,

    I don't understand why it isn't working, I mean, it's all perfect, and works for me and drogba as well?
    Can you clear the cache & cookies of your forum?
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Mon 19 Mar 2012 - 18:26

    ? So you can see the change in the banner? Because I see no difference.

    NikkoBryan14:
    BTW, I am using phpbb2.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Mon 19 Mar 2012 - 18:28

    I believe if you are using an image for the banner it will not change.



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    BadHaxers
    BadHaxers
    Forumember


    Male Posts : 34
    Reputation : 1
    Language : Css | HTML | Kinda Good At Graphics
    Location : Modesto

    In progress Re: Multi-theme...

    Post by BadHaxers Mon 19 Mar 2012 - 18:37

    It works for me to
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Tue 20 Mar 2012 - 3:13

    I tried that, and when I did, it just showed the skins without a Banner and that's all.

    Maybe I forgot something on the code? I might be missing something even through my checks. There were some parts on the tutorial that seemed kinds vague. Did I not do something right?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Tue 20 Mar 2012 - 3:21

    All the choices have to be the same version as your forum. Are you using any skins that are different from your forum's version?



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Tue 20 Mar 2012 - 7:39

    They are all the same, yes. I made that error the first time, and fixed it already.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Tue 20 Mar 2012 - 7:41

    Higurashistrike wrote:There were some parts on the tutorial that seemed kinds vague.

    Which parts were vague?



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Tue 20 Mar 2012 - 16:16

    "In section 2, you will see the URL http://testorial.forumotion.com - Change that to the URL Of your forum.
    You will see 5 numbers proceeding the URL, change that to the numbers we recorded earlier ( 1 per line ) as that is your next theme."

    I didn't see the Testoral URL, so I had to improvise and delete a different URL I saw..

    "You will also see the text (DEFAULT THEME), (CUSTOM THEME 1/2/3) please remove them as they are a simple guide to what theme will be what. The selector will not show up if the text remains there Wink"

    I didn't see the (default them) (custom theme 1/2/3) appear twice and the first one I saw is the one I edited the URL into.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Tue 20 Mar 2012 - 17:20

    I was looking at your code that you posted. Why is this in the code
    Code:
     else if (scheme == 'Purple')



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Wed 21 Mar 2012 - 23:21

    After deleting it all together, it works to change themes, but then the second theme looks really bad.
    I can't really be sure why it is there. It does nothing if I change it to something else. :/
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Multi-theme...

    Post by SLGray Thu 22 Mar 2012 - 0:08

    If the second skin looks bad, you will need to choose another skin from Hitskins.com.



    Multi-theme... Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Higurashistrike
    Forumember


    Male Posts : 63
    Reputation : 1
    Language : English, Japanese, C, HTML, CSS

    In progress Re: Multi-theme...

    Post by Higurashistrike Fri 23 Mar 2012 - 20:43

    The same thing happens, just in a different colour skin. The forum looks terrible, widgets merged into the categories, all the same...

    I have a prediction it has to do with CSS. :/ I had this problem with the first skin where everything looked weird and I had to use CSS to make the widgets and everything look better. I don't know how I would do it for this theme though, since when I use CSS it seems to only work for the first theme. .__.