The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Split: Add multi-themes to your forum

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

Split: Add multi-themes to your forum

Post by Russel on June 1st 2010, 12:26 pm

First topic message reminder :

wow. first to comment! thanks darren! great!

Russel
Active Poster

Male Posts : 1400
Reputation : 235
Language : English, Filipino
Location : Philippines

http://help.forumotion.com/forum

Back to top Go down


Re: Split: Add multi-themes to your forum

Post by CloverTea on June 5th 2010, 2:19 pm

Oh, haha thank you XD!

I used "ctrl+F" to find it, and it must have just skipped ahead to the 2.3 and 2.4 part.

I'm going to continue trying this tonight so I'll let you know if I have questions for sure ^_^!

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by nathanleese on June 5th 2010, 5:31 pm

thanks :wouhou: bwi Very Happy Smile Sad Hello Shocked Confused Mad Crying or Very sad Crying or Very sad Rolling Eyes Rolling Eyes Exclamation Wink Cool Hello

nathanleese
New Member

Posts : 3
Reputation : 0
Language : english

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by APE on June 5th 2010, 7:30 pm

Ok i found out why my skin changer would not work lol
i went on the french forum to get the codes and it worked lol
I think some of the codes are not right on here but im not sure maybe a mod and test it out Wink





APE
Manager
Manager

Male Posts : 8636
Reputation : 756
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by Hancki on June 5th 2010, 9:34 pm

In the CSS, it can be:
http://address_of_your_forum/css.forum
See here an example: http://help.forumotion.com/css.forum

Try this, its better!

Hancki
Forumember

Posts : 47
Reputation : 0
Language : Portuguese

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 6th 2010, 9:56 pm

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?

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by iJerick on June 7th 2010, 8:41 am

@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

iJerick
Forumember

Male Posts : 98
Reputation : 1
Language : HTML, JAVASCRIPT, CSS and ENGLISH
Location : Philippines

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 7th 2010, 4:11 pm

@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

?????????
Of coruse what? Where do you transfer the code?

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 7th 2010, 4:17 pm

*course


Oh also, is the code you have images posted of something we have to type out ourselves? If so, It would be great if you could just paste the code so we can copy it x_x

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by matt_m on June 7th 2010, 6:47 pm

Where is step 2 for non-CSS knowledgeable? It doesn't seem to be there??

Confused

matt_m
Forumember

Posts : 322
Reputation : 0
Language : English

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by matt_m on June 7th 2010, 7:01 pm

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!

matt_m
Forumember

Posts : 322
Reputation : 0
Language : English

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 7th 2010, 10:11 pm

@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!


I'm having a similar issue. Here is my final code for the 'over all header new' section:

Code:

   <!-- 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>

did I put it after the correct </div> tag? Here are the URLS i'm using if it helps:
theme 1
http://demo.nicetheme.com/index.htm?theme_id=156735

theme 2
http://demo.nicetheme.com/index.htm?theme_id=156869

And these are the 'altered' urls:
http://clover.top-forum.net/156869-ltr.css
http://clover.top-forum.net/156735-ltr.css

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by Honor on June 9th 2010, 6:48 pm

Is this code for different user-defined themes or is it for putting different themes on different parts of the forum?

In Example:
I have a RP forum. It has Medival, SciFi, TV themed, and other themed game forums. I want to put corresponding skins on each - something woodsy for Medival, a space theme for SciFi, etc.

Or is this just to let users choose what they would rather look at, like on a VBulliten forum?

Honor
Forumember

Female Posts : 172
Reputation : 17
Language : English
Location : Bouncing off the Walls

http://blueplanet.road2us.com

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by APE on June 9th 2010, 8:18 pm

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 ='<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"); }





Replace it with.
Code:
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");
}

NOTE: Once you have replace the code please keep using the next lot of steps on the 1st post made by Typlo and darren1

APE
Manager
Manager

Male Posts : 8636
Reputation : 756
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 9th 2010, 10:30 pm

I'm guessing that doesn't work for PunBB, because I tried it and nothing happened still. Can anyone answer my question from above?...

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by APE on June 11th 2010, 2:57 am

@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

Matt-m Please Try This Code I Have Gave On This Post
I HAVE MADE SURE IT'S WORKING ON phpBB3

APE
Manager
Manager

Male Posts : 8636
Reputation : 756
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 12th 2010, 10:49 pm

Any idea of why the tutorial doesn't work for PUnBB?

Has anyone WITH PunBB been able to try this?

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by wonder_girl on June 13th 2010, 10:17 am

Is there a way to make a style switcher with temporary themes?

wonder_girl
Forumember

Posts : 108
Reputation : 0
Language : English

http://pokenaruto.forumotion.com/

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on June 20th 2010, 3:01 am

any help I can get with PunBB would be super ^_^ Please PM me if you have a suggestion <3333

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by y2day on July 18th 2010, 12:59 am

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

y2day
New Member

Posts : 2
Reputation : 0
Language : English

http://stainlesssteel.heavenforum.com/forum.htm

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by ankillien on July 18th 2010, 2:32 pm

@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.

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on July 18th 2010, 7:10 pm

still waiting for a punbb solution, or to know if anyone else with PunBB has gotten this to work o_o thanks!!!!

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on July 25th 2010, 10:18 pm

Does ANYONE know why this doesn't work on PunBB? Or if you HAVE gotten it to work with PunBB, please help me out?

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by CloverTea on July 25th 2010, 10:19 pm

Couldn't find the edit button, but the OP should be edited. Step 2 doesn't display correctly on all browsers. Perhaps it should be taken of of the spoiler/quote thing that it's in.

CloverTea
Forumember

Female Posts : 99
Reputation : 0
Language : English

http://clover.top-forum.net

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by y2day on July 28th 2010, 8:02 pm

@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.

I'm using phpBB2 and am the founding Admin.

Only reference I see to templates is....

Templates modified and published
Templates modified and awaiting


Any help would be great. Mad


y2day
New Member

Posts : 2
Reputation : 0
Language : English

http://stainlesssteel.heavenforum.com/forum.htm

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by richardyusan on August 7th 2010, 12:00 pm

thx !

richardyusan
New Member

Posts : 2
Reputation : 0
Language : Indonesia

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by Reflections7 on August 16th 2010, 9:13 pm

good job .. thanx alot

Reflections7
New Member

Female Posts : 10
Reputation : 0
Language : English

Back to top Go down

Re: Split: Add multi-themes to your forum

Post by Linky on August 19th 2010, 4:16 pm

Can someone help me?
I got lost after step on.
I am doing the non CSS.
I have step on done but from there I am lost. XD

~Linky

Linky
Forumember

Posts : 75
Reputation : 0
Language : english

http://www.clubpenguiniceberg.forummotion.com

Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


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