wow. first to comment! thanks darren! great!
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
CloverTea wrote:Where exactly do you put the codes you provide? such as:
<option> Choose your theme </option>
If i'm understanding correctly, you are first putting the code in a code editing program such as dream weaver, then transfering it to the forum?
If that is correct, where do you transfer the code to once you have it all written up? Where is it in the admin panel?
iJerick wrote:CloverTea wrote:Where exactly do you put the codes you provide? such as:
<option> Choose your theme </option>
If i'm understanding correctly, you are first putting the code in a code editing program such as dream weaver, then transfering it to the forum?
If that is correct, where do you transfer the code to once you have it all written up? Where is it in the admin panel?
Of course
matt_m wrote:I just cannot get this to work...
I have followed the tutorial step by step exactly, and three times now it has resulted in nothing showing up on the main page at the end of it all. I am using phpBB3. Just nothing appears on the main index!
<!-- BEGIN switch_h1 -->
<div id="pun-title">{switch_h1.MAIN_SITENAME}</div>
<!-- END switch_h1 -->
<!-- BEGIN switch_desc -->
<p id="pun-desc">{switch_desc.SITE_DESCRIPTION}</p>
<!-- END switch_desc -->
</div>
<div id="pun-head">
<div id="pun-navlinks">
<ul class="clearfix">
<li>{GENERATED_NAV_BAR}</li>
</ul>
</div><span id="temsel">[b]</span><script type="text/javascript" src="http://clover.top-forum.net/Style-Switcher-h3.htm"></script>[/b]
</div>
var type = getCookie('template1');
var temsel = document.getElementById('temsel');
temsel.innerHTML ='<select onchange="changeskin(this.options[this.selectedIndex].value);window.location.reload();"><option> Choose your theme </option><option value="valeur1"> Name of theme & creater 1</option><option value="valeur2">Name of theme & creater 2 </option><option value="valeur3"> Name of theme & creater 3 </option></select>';
if (type == 'valeur1')
{
document.write('<link rel="stylesheet" type="text/css" href="URL_OF_YOUR_FORUM/IDNUMBER-ltr.css">');
}
else if (type == 'valeur2')
{
document.write('<link rel="stylesheet" type="text/css" href="URL_OF_YOUR_FORUM/_IDNUMBER-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"); }
var type = getCookie('template1');
var temsel = document.getElementById('temsel');
temsel.innerHTML ='<select onchange="changeskin(this.options[this.selectedIndex].value);window.location.reload();"><option> Changer le style </option><option value="valeur1">1 YOUR NEW SKIN NAME HERE</option><option value="valeur2">2 YOUR NEW SKIN NAME HERE </option><option value="valeur3">3 YOUR NEW SKIN NAME HERE </option></select>';
if (type == 'valeur1')
{
document.write('<link rel="stylesheet" type="text/css" href="URL_OF_YOUR_FORUM/_IDNUMBER-ltr.css">');
}
else if (type == 'valeur2')
{
document.write('<link rel="stylesheet" type="text/css" href="URL_OF_YOUR_FORUM/_IDNUMBER-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");
}
matt_m wrote:I just cannot get this to work...
I have followed the tutorial step by step exactly, and three times now it has resulted in nothing showing up on the main page at the end of it all. I am using phpBB3. Just nothing appears on the main index!
ape man wrote:Ok for anyone that is getting problems getting this to work on phpBB3 & Invision please do as they say at the top of this post but you will need to change a Code
Dont ask me why but it worked for me and my friends site
Chatnge this code in Step 2 of the 1st post made by typlo & Darren1
- Code:
var type = getCookie('template1');
var temsel = document.getElementById('temsel');
temsel.innerHTML =' Choose your theme Name of theme & creater 1Name of theme & creater 2 Name of theme & creater 3 ';
if (type == 'valeur1')
{
document.write('');
}
else if (type == 'valeur2')
{
document.write('');
}
else if (type == 'valeur3')
{
document.write('');
}
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"); }
Replace it with.
- Code:
var type = getCookie('template1');
var temsel = document.getElementById('temsel');
temsel.innerHTML =' Changer le style 1 YOUR NEW SKIN NAME HERE2 YOUR NEW SKIN NAME HERE 3 YOUR NEW SKIN NAME HERE ';
if (type == 'valeur1')
{
document.write('');
}
else if (type == 'valeur2')
{
document.write('');
}
else if (type == 'valeur3')
{
document.write('');
}
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");
}
NOTE: Once you have replace the code please keep using the next lot of steps on the 1st post made by Typlo and darren1
y2day wrote:Step 3!
Where is the
Admin panel >> Display > templates/overall_header_new
I can't find the templates link or tab or whatever. Can some one help me out?
thanks
ankillien wrote:y2day wrote:Step 3!
Where is the
Admin panel >> Display > templates/overall_header_new
I can't find the templates link or tab or whatever. Can some one help me out?
thanks
Templates are available in phpBB2 and punBB only.
In addition, only the founder admin can access the templates.