Themes
3 posters
Page 1 of 1
Themes
after i upload the skin to hitskin and grab the -ltr.css do i go the step 2 of the multi-theme tutorial or is there a step before that?
also do we have to do that create the script option?
thanks
also do we have to do that create the script option?
thanks

Re: Themes
Hello,
After grabbing the -ltr part, you can directly move to the step-2 and it is necessary to create the script page or the theme changer won't work.
After grabbing the -ltr part, you can directly move to the step-2 and it is necessary to create the script page or the theme changer won't work.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Themes
Well, everything is explained in the tutorial nicely. I ask you to read it again carefully and don't try to skip anything. Most of your questions will be solved this way.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Themes
Yes, you can. But if you want only one theme (no option for change) then you should not use theme changer.
If you mean, you want to add only one theme(not three) besides the default one, you can do it
If you mean, you want to add only one theme(not three) besides the default one, you can do it

ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Themes
it keeps telling me error for something every time i try to upload the theme to hitskin.
Errors during the image recovery :i_icon_thanks_on.png(#1)
last time it had error for quote but i have all this
edit
i fixed it
Errors during the image recovery :i_icon_thanks_on.png(#1)
last time it had error for quote but i have all this

edit
i fixed it
Re: Themes
sorry for double posting but when it says change "THE_URL_OF_YOUR_HTML_PAGE_FOR_YOUR_MULTISKIN" to the URL of the HTML page we created in part 1 of step 2.
will that be this <a href="https://www.forumotion.com" target="_blank">forumotion.com</a>?
will that be this <a href="https://www.forumotion.com" target="_blank">forumotion.com</a>?
Re: Themes
No.
The URL is to be taken from Admin CP > Modules > HTML page management.
It is the URL of the page that you just created for the theme changer.
Please avoid double posting unless separated by 24 hours. You can use the EDIT button to add info.
The URL is to be taken from Admin CP > Modules > HTML page management.
It is the URL of the page that you just created for the theme changer.
Please avoid double posting unless separated by 24 hours. You can use the EDIT button to add info.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Themes
so i am guessing it's this?
http://narutokingdom.forummotions.com/Themes-h1.htm
for some reason it doesn't show on my forum.
http://narutokingdom.forummotions.com/forum.htm
http://narutokingdom.forummotions.com/Themes-h1.htm
for some reason it doesn't show on my forum.
http://narutokingdom.forummotions.com/forum.htm
Re: Themes
Hi,
Have you inserted the script to make the dropdown box show up?
Or done the template editions? (You only need to do ONE, doing both means 2 will show up)
mister23 wrote:so i am guessing it's this?
http://narutokingdom.forummotions.com/Themes-h1.htm
for some reason it doesn't show on my forum.
http://narutokingdom.forummotions.com/forum.htm
Have you inserted the script to make the dropdown box show up?
Or done the template editions? (You only need to do ONE, doing both means 2 will show up)
Darren1- Helper
-
Posts : 11853
Reputation : 566
Language : English
Re: Themes
I added it to the HTML source like the tutorial said to(i use phpBB3
this is the code
and the HTML page link http://narutokingdom.forummotions.com/Themes-h1.htm
this is the code
- Spoiler:
- var type = getCookie('template1');
var temsel = document.getElementById('temsel');
temsel.innerHTML ='<select onchange="changeskin(this.options[this.selectedIndex].value);window.location.reload();"><option> Choose A Theme </option><option value="valeur1"> Kakashi - Judecious </option><option value="valeur2"> Sakura - Judecious </option><option value="valeur3"> Name of theme & creater 3 </option></select>';
if (type == 'valeur1')
{
document.write('<link rel="stylesheet" type="text/css" href="http://narutokingdom.forummotions.com/164131-ltr.css">');
}
else if (type == 'valeur2')
{
document.write('<link rel="stylesheet" type="text/css" href="http://narutokingdom.forummotions.com/164132-ltr.css">');
}
else if (type == 'valeur3')
{
document.write('<link rel="stylesheet" type="text/css" href="URL_OF_YOUR_FORUM/IDNUMBER-ltr.css">');
}
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,'/');
}
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"); }
and the HTML page link http://narutokingdom.forummotions.com/Themes-h1.htm
Re: Themes
Are you sure it's in the site description at General > Forum > Site description ?
Is this the script there?
Is this the script there?
- Code:
<span id="temsel"></span><script type="text/javascript" src=http://narutokingdom.forummotions.com/Themes-h1.htm"></script>
Darren1- Helper
-
Posts : 11853
Reputation : 566
Language : English
Re: Themes
Buh hum bug!
I see the script on both your and my forums source, but it aint showing. Agreed. It was working fine when I sent Typlo that post too...?
At the moment all I can suggest is to try this code, it hasn;t worked for me, so I doubt it would work at all.
I notice even the french have dumped this tutorial from their T&T listing lol
That's all I can offer right now because no-one can work on a empty stomach and dinner has just arrived
I see the script on both your and my forums source, but it aint showing. Agreed. It was working fine when I sent Typlo that post too...?

At the moment all I can suggest is to try this code, it hasn;t worked for me, so I doubt it would work at all.
I notice even the french have dumped this tutorial from their T&T listing lol
- Code:
</script><span id=temsel></span><script type=text/javascript src=http://narutokingdom.forummotions.com/Themes-h1.htm></script>
That's all I can offer right now because no-one can work on a empty stomach and dinner has just arrived

Darren1- Helper
-
Posts : 11853
Reputation : 566
Language : English
Re: Themes
Yeah it didn't work, is there any other tutorial that involves phpbb3?
this one is only template editing.
http://www.webartzforum.com/tutorials-f7/forumotion-theme-changer-t301-20.htm
this one is only template editing.
http://www.webartzforum.com/tutorials-f7/forumotion-theme-changer-t301-20.htm

» Only get "Error: Could not retrieve hitskin themes" when trying to access themes.
» Themes
» More themes
» Themes
» Fix this themes
» Themes
» More themes
» Themes
» Fix this themes
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum