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.

Multi-theme...

+3
SLGray
Sir Chivas™
Higurashistrike
7 posters

Go down

In progress Multi-theme...

Post by Higurashistrike 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.
avatar
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™ 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)
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

In progress Re: Multi-theme...

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

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)
avatar
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 March 19th 2012, 6:52 am

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

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

avatar
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 March 19th 2012, 1:05 pm

Your theme switcher works for me...
Mike
Mike
Hyperactive

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

Back to top Go down

In progress Re: Multi-theme...

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

..oh I just noticed it... well the banner is supposed to change, as well as the Navbar icons. :/
avatar
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 March 19th 2012, 5:41 pm

Any have some for phpbb2??
NikkoBryan14
NikkoBryan14
Forumember

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

Back to top Go down

In progress Re: Multi-theme...

Post by SLGray 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.


Multi-theme... Slgray10

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

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

Post by Darren1 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
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 566
Language : English

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike 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.
avatar
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 March 19th 2012, 7:28 pm

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

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

It works for me to
BadHaxers
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 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?
avatar
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 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?


Multi-theme... Slgray10

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

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

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

They are all the same, yes. I made that error the first time, and fixed it already.
avatar
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 March 20th 2012, 8:41 am

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike 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.
avatar
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 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')


Multi-theme... Slgray10

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

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike 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. :/
avatar
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 March 22nd 2012, 1:08 am

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Multi-theme...

Post by Higurashistrike 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. .__.
avatar
Higurashistrike
Forumember

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

http://nenshiattribute.forumotion.com

Back to top Go down

Back to top

- Similar topics

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