Got a few questions about the multi theme tutorial
2 posters
Page 1 of 1
Got a few questions about the multi theme tutorial
Hi there!
(here's the tutorial I'm using https://help.forumotion.com/t71484-add-multi-themes-to-your-forum)
Since I couldn't ask these inside the thread, I saw no other option but to make one. I apologize if it's in the wrong spot.
I'll put through step by step what I did so we might be able to find the problem:
First I found the themes I wanted to use, then I put their css code in the document like the tutorial said to. After that, I got he attachment of the HTML code, and also put that in a document. I then put it in the new HTML box. (here's where I think I messed up).
I changed to names of the "DEFAULT" "CUSTOM THEME 1/2/3" to the names I wanted my themes to have.
Okay, so this part:
My problem is that I did not see the "http://testorial.forumotion.com". There was however a "http://yourforumsaddress.forumotion.com/77-ltr.css", which I replaced with my site address. There also was not 5 numbers proceeding the URL; it looked like this:
Another problem, is that all of this is in the section that says "remove this" If I remove it, it looks like this:
If I don't remove it, it looks like this:
I am very confused on this, so help would be appreciated.
(here's the tutorial I'm using https://help.forumotion.com/t71484-add-multi-themes-to-your-forum)
Since I couldn't ask these inside the thread, I saw no other option but to make one. I apologize if it's in the wrong spot.
I'll put through step by step what I did so we might be able to find the problem:
First I found the themes I wanted to use, then I put their css code in the document like the tutorial said to. After that, I got he attachment of the HTML code, and also put that in a document. I then put it in the new HTML box. (here's where I think I messed up).
I changed to names of the "DEFAULT" "CUSTOM THEME 1/2/3" to the names I wanted my themes to have.
Okay, so this part:
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.
My problem is that I did not see the "http://testorial.forumotion.com". There was however a "http://yourforumsaddress.forumotion.com/77-ltr.css", which I replaced with my site address. There also was not 5 numbers proceeding the URL; it looked like this:
REF=" *DEFAULT THEME REMOVE THIS* http://yourforumsaddress.forumotion.com/77-ltr.css">');
} else if (scheme == 'Black') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom Skin 1">');
} else if (scheme == 'Purple') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom skin 2">');
} else if (scheme == 'Yellow') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom skin 3">');;
}
Another problem, is that all of this is in the section that says "remove this" If I remove it, it looks like this:
If I don't remove it, it looks like this:
I am very confused on this, so help would be appreciated.
MicBoring- New Member
- Posts : 13
Reputation : 1
Language : English
Re: Got a few questions about the multi theme tutorial
I believe that // is a comment for jquery and javascript. after (toxigeek.com) press enter after that and see what happens
i'm sorry i scrolled right through this skimming. i see your issue
Don't remove anything. href="http://CUSTOM SKIN 1">'); well change CUSTOM SKIN 1 to 78-ltr.css or whatever those css's are at. if you are having any other issues please be more specific on each step by step. starting with one thing then move on the next and i'll help
i'm sorry i scrolled right through this skimming. i see your issue
- Code:
REF=" *DEFAULT THEME REMOVE THIS* http://yourforumsaddress.forumotion.com/77-ltr.css">');
} else if (scheme == 'Black') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom Skin 1">');
} else if (scheme == 'Purple') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom skin 2">');
} else if (scheme == 'Yellow') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom skin 3">');;
}
Don't remove anything. href="http://CUSTOM SKIN 1">'); well change CUSTOM SKIN 1 to 78-ltr.css or whatever those css's are at. if you are having any other issues please be more specific on each step by step. starting with one thing then move on the next and i'll help
Re: Got a few questions about the multi theme tutorial
Sorry it wasn't clear enough.
Hmm, I did put the .css code in there; here's what I put there for that section:
Hmm, I did put the .css code in there; here's what I put there for that section:
- Code:
HREF=" *DEFAULT THEME REMOVE THIS* http://luxspelunca.forumotion.com/138261-ltr.css">');
} else if (scheme == 'Black') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://testspelunca.forumotion.com/147216-ltr.css">');
} else if (scheme == 'Purple') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://testspelunca.forumotion.com/138261-ltr.css">');
} else if (scheme == 'Yellow') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://
testspelunca.forumotion.com/138332-ltr.css
">');;
MicBoring- New Member
- Posts : 13
Reputation : 1
Language : English
Re: Got a few questions about the multi theme tutorial
ok and it's not working? try taking out your sites link in them. make it so it only says
testspelunca.forumotion.com/testspelunca.forumotion.com/138261-ltr.css written like that when it searches.
- Code:
/138261-ltr.css">'
testspelunca.forumotion.com/testspelunca.forumotion.com/138261-ltr.css written like that when it searches.
Re: Got a few questions about the multi theme tutorial
nextlevelgaming wrote:ok and it's not working? try taking out your sites link in them. make it so it only saysnot your sites url testspelunca.forumotion.com because i believe what this does is
- Code:
/138261-ltr.css">'
testspelunca.forumotion.com/testspelunca.forumotion.com/138261-ltr.css written like that when it searches.
I just tried that, and it had the same results as the bottom screen shot.
Rideem3 wrote:What is the entire code of that page?
- 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="Defaul"> Default </option><option class="sl" value="Black"> Theme 1 name</option><option class="sl" value="Purple"> Theme 2 name</option><option class="sl" value="Yellow"> Theme 3 name</option></select></form></div>');
var scheme = getCookie('template1');
if (scheme == 'Defaul') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF=" *DEFAULT THEME REMOVE THIS* http://yourforumsaddress.forumotion.com/77-ltr.css">');
} else if (scheme == 'Black') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom Skin 1">');
} else if (scheme == 'Purple') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom skin 2">');
} else if (scheme == 'Yellow') {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://Custom skin 3">');;
}
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)
MicBoring- New Member
- Posts : 13
Reputation : 1
Language : English
Re: Got a few questions about the multi theme tutorial
Well I just put it in a js and it worked to some extent; the theme only halfway appeared, but I'm guessing that that might have just been when the code got a little sloppy.
*edit* only problem is that only one of them works, and that one only works half way.
*edit* only problem is that only one of them works, and that one only works half way.
MicBoring- New Member
- Posts : 13
Reputation : 1
Language : English
Similar topics
» Multi-theme Changed ( I did not understand the tutorial we have )
» Questions Regarding Hitskin theme-is there ANY answer to these questions? It has been posted for some time now.
» Multi-theme...
» Can anyone help me with the multi theme business?
» phpbb3 Multi-theme code help
» Questions Regarding Hitskin theme-is there ANY answer to these questions? It has been posted for some time now.
» Multi-theme...
» Can anyone help me with the multi theme business?
» phpbb3 Multi-theme code help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum