The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Multi-theme...

View previous topic View next topic Go down

In progress Multi-theme...

Post by Higurashistrike on March 18th 2012, 8:39 pm

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.

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by Sir Chivas™ on March 18th 2012, 9:46 pm

You changed your theme (skin) ?

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



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 19th 2012, 4:49 am

http://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)

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 19th 2012, 6:52 am

Please post your forum's link?


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 19th 2012, 11:32 am


Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by Mike on March 19th 2012, 1:05 pm

Your theme switcher works for me...

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 19th 2012, 5:07 pm

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

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by NikkoBryan14 on March 19th 2012, 5:41 pm

Any have some for phpbb2??

NikkoBryan14
Forumember

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

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 19th 2012, 5:49 pm

NikkoBryan14:
The tutorial will work for all versions.

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


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Darren1 on March 19th 2012, 7:23 pm

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?

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 19th 2012, 7:26 pm

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

NikkoBryan14:
BTW, I am using phpbb2.

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 19th 2012, 7:28 pm

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


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by BadHaxers on March 19th 2012, 7:37 pm

It works for me to

BadHaxers
Forumember

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

http://webgraphics.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 20th 2012, 4:13 am

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?

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 20th 2012, 4:21 am

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?


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 20th 2012, 8:39 am

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

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 20th 2012, 8:41 am

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

Which parts were vague?


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 20th 2012, 5:16 pm

"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.

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 20th 2012, 6:20 pm

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


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 22nd 2012, 12:21 am

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. :/

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray on March 22nd 2012, 1:08 am

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


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike on March 23rd 2012, 9:43 pm

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. .__.

Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum