Multi-theme...
+3
SLGray
Sir Chivas™
Higurashistrike
7 posters
Page 1 of 1
Multi-theme...
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.
Re: Multi-theme...
You changed your theme (skin) ?
If so, everything you put in the CSS, automatically gets delete after switching your theme (skin)
If so, everything you put in the CSS, automatically gets delete after switching your theme (skin)
Re: Multi-theme...
https://help.forumotion.com/t71484-add-multi-themes-to-your-forum
I was following this.
The code I used for it is:
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)
Re: Multi-theme...
Please post your forum's link?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
Your theme switcher works for me...
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Multi-theme...
..oh I just noticed it... well the banner is supposed to change, as well as the Navbar icons.
Re: Multi-theme...
Any have some for phpbb2??
NikkoBryan14- Forumember
- Posts : 274
Reputation : 8
Language : English
Location : Philippines
Re: Multi-theme...
NikkoBryan14:
The tutorial will work for all versions.
The skin/theme changer will not change everything on the forum only certain things will change.
The tutorial will work for all versions.
The skin/theme changer will not change everything on the forum only certain things will change.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
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?
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
- Posts : 11853
Reputation : 566
Language : English
Re: Multi-theme...
? So you can see the change in the banner? Because I see no difference.
NikkoBryan14:
BTW, I am using phpbb2.
NikkoBryan14:
BTW, I am using phpbb2.
Re: Multi-theme...
I believe if you are using an image for the banner it will not change.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
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?
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?
Re: Multi-theme...
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?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
They are all the same, yes. I made that error the first time, and fixed it already.
Re: Multi-theme...
Higurashistrike wrote:There were some parts on the tutorial that seemed kinds vague.
Which parts were vague?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
"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.
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.
Re: Multi-theme...
I was looking at your code that you posted. Why is this in the code
- Code:
else if (scheme == 'Purple')
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
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.
I can't really be sure why it is there. It does nothing if I change it to something else.
Re: Multi-theme...
If the second skin looks bad, you will need to choose another skin from Hitskins.com.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Multi-theme...
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. .__.
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. .__.
Similar topics
» Can anyone help me with the multi theme business?
» Got a few questions about the multi theme tutorial
» Problem with multi-theme changer
» phpbb3 Multi-theme code help
» Can yous post a link to your forum if you have multi-theme set up?
» Got a few questions about the multi theme tutorial
» Problem with multi-theme changer
» phpbb3 Multi-theme code help
» Can yous post a link to your forum if you have multi-theme set up?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum