News:

Create A Forum Installed

Author Topic: Just a quick question  (Read 3640 times)

0 Members and 1 Guest are viewing this topic.

Offline Pyro

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter Level 1 First Post
Just a quick question
« on: August 08, 2011, 03:14:23 am »
I setup a forum recently and I used one of the themes posted here (the only one I could find tbh :P ), and I have some members who do like it, and others who prefer the default which is fine, but the members who want the original "style" can't get it to revert back. When they go to Look & Layout, the only thing that seems to be close to what they are looking for is "Current Theme". When they click it, it gives them two sections with two options each.

The one they should be using is "Default Theme - Core", BUT it doesn't go to the original. Any ideas? No rush. I know you guys might be busy, just when you get a chance. Thank you in advance! :)

My forum is: http://imperiallegion.createaforum.com/index.php

Share on Facebook Share on Twitter


Offline simply sibyl

  • Full Member
  • ***
  • Posts: 189
  • Karma: 35
    • View Profile

Badges: (View All)
Level 4 Windows User Topic Starter
Re: Just a quick question
« Reply #1 on: August 08, 2011, 03:24:44 am »
When you change the style of the forum it changes it for everyone and there is no option whereby members can change to other styles.    You ARE using the Default theme;  it is the only theme available for you to use -  you are just using a different stylesheet for it that changes how it appears.
« Last Edit: August 08, 2011, 03:31:35 am by simply sibyl »

Offline Pyro

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter Level 1 First Post
Re: Just a quick question
« Reply #2 on: August 08, 2011, 05:10:31 am »
Ah, so whatever I decide to make the forum look like (color-wise), they all must look at it that way? Ty for the speedy response. :)

Offline Pyro

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter Level 1 First Post
Re: Just a quick question
« Reply #3 on: August 18, 2011, 06:01:51 am »
just a slight bump-

So whichever is the default theme, they must use it?

Offline simply sibyl

  • Full Member
  • ***
  • Posts: 189
  • Karma: 35
    • View Profile

Badges: (View All)
Level 4 Windows User Topic Starter
Re: Just a quick question
« Reply #4 on: August 18, 2011, 05:17:13 pm »
just a slight bump-

So whichever is the default theme, they must use it?
Yes.  Members can not choose styles.   They see the style that you choose for the forum.

Offline Pyro

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter Level 1 First Post
Re: Just a quick question
« Reply #5 on: August 19, 2011, 07:31:31 am »
Ah - will that ever be possible in the future? This seems to be the first forum I've seen where members can't choose their own style provided in a list.

Just curious. Thank you for the speedy replies. :P

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: Just a quick question
« Reply #6 on: August 20, 2011, 12:07:50 am »
I doubt that'll be possible in the future
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Seldom Fail

  • Global Moderator
  • *****
  • Posts: 207
  • Karma: 30
  • Gender: Male
    • View Profile

Badges: (View All)
Karma Good Karma Bad Level 5
Re: Just a quick question
« Reply #7 on: August 20, 2011, 10:46:11 pm »
I doubt that'll be possible in the future

not necessarily true. If someone can come up with a style changer code that works with CAF, then it would be possible.
<--- Donate to CreateAForum! :D

Jeremiah 33:3

Offline Pyro

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter Level 1 First Post
Re: Just a quick question
« Reply #8 on: August 21, 2011, 12:58:55 am »
I would love to have one. :)

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: Just a quick question
« Reply #9 on: August 22, 2011, 01:58:08 am »
I doubt that'll be possible in the future

not necessarily true. If someone can come up with a style changer code that works with CAF, then it would be possible.
Yes but the chances of someone doing that for CaF is pretty low. This is unless Createaforum himself tries to find a way but I'm pretty sure he's busy
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Alex

  • CAF Support Team
  • Full Member
  • ***
  • Posts: 235
  • Karma: 13
  • Gender: Male
  • Location: Greenville, North Carolina
    • View Profile

Badges: (View All)
Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: Just a quick question
« Reply #10 on: August 22, 2011, 02:31:47 am »
If any of you would like this, feel free to make a topic in the suggestions board. ;)
Terms Of Service

Please don't PM me with support questions

Offline simply sibyl

  • Full Member
  • ***
  • Posts: 189
  • Karma: 35
    • View Profile

Badges: (View All)
Level 4 Windows User Topic Starter
Re: Just a quick question
« Reply #11 on: August 22, 2011, 03:12:21 am »
I doubt that'll be possible in the future

not necessarily true. If someone can come up with a style changer code that works with CAF, then it would be possible.
Yes but the chances of someone doing that for CaF is pretty low. This is unless Createaforum himself tries to find a way but I'm pretty sure he's busy
Actually the chances are not low at all.   One of the style changer codes that is used with the SMF for Free forums WILL work with the forums with Createaforum with just a small edit to the code.  I have it working on my CreateaForum test forum.    The thing is though that there are few styles posted here and those that are are not all updated to work properly with smf 2.0 so for right now the codes pretty senseless for me to bother posting.

I'll go ahead and post it if anyone wants to play around with it but as I said there arent many styles to use with it at the moment.

This code is a combination of Agent Moose's dropdown code and some tweaks by me

A.  Set your forum to the Default Style

B.  Find other styles you want to use.   Add each of them in Style Manager. 

C.  For each of those stylesheets edit these lines in the code:
     (add more if you need them, delete those you do not need)

Code: [Select]
Skin[n++] = ["STYLE NAME","http://www.createaforum.com/styles/FORUM NAME/STYLE.css?fi11"];
1.   Replace "STYLE NAME"  with the name of the style
        (this is how the name will show in the dropdown box)
2.   Replace "FORUM NAME"  with the name of your forum.
3.   Replace "STYLE" with the name of the style.
        (the name you named the style when you created it in manage styles)

Do this for each one you want to use.

D.  When done with the edits the code goes in your Header and will center the dropdown box at the top of your forum.

Code: [Select]

<script>
var n = 0;var Skin = new Array();
Skin[n++] = ["STYLE NAME","http://www.createaforum.com/styles/FORUM NAME/STYLE.css?fi11"];
Skin[n++] = ["STYLE NAME","http://www.createaforum.com/styles/FORUM NAME/STYLE.css?fi11"];
Skin[n++] = ["STYLE NAME","http://www.createaforum.com/styles/FORUM NAME/STYLE.css?fi11"];
Skin[n++] = ["STYLE NAME","http://www.createaforum.com/styles/FORUM NAME/STYLE.css?fi11"];

//Created by Agent Moose (smcodes.smfforfree3.com)
document.write("<center><select id='SkinChooser'><option value='default'>Choose Style</option>");
for(i=0;i<Skin.length;i++){
document.write("<option value='" + Skin[i][1] + "'>" + Skin[i][0] + "</option>");
};
document.write("</select> <input type='button' value='Change' onclick='setSkin();' /></center>");
function setCookie(name, value, expires){
var deCookie = name + "=" + escape(value);
if(expires){
expires= expires.toGMTString();
deCookie += "; expires=";
deCookie += expires;
};
document.cookie = deCookie;
};
function getCookie(name){
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1){
begin = dc.indexOf(prefix);
if (begin != 0) return false;
}else begin += 2;
var end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length, end));
};
function delCookie(name){
expires = new Date(1807,1,1);
expires = expires.toGMTString();
deCookie = name;
deCookie += "=delete; expires=";
deCookie += expires;
document.cookie = deCookie;
};
function changeSkin(Agent){
document.write("<link rel='stylesheet' type='text/css' href='" + Agent + "' />");
};
var Omi = "default";
document.getElementById("SkinChooser").onchange = function(){
if(Skin[parseInt(document.getElementById("SkinChooser").selectedIndex)-1]){
Omi = Skin[parseInt(document.getElementById("SkinChooser").selectedIndex)-1][1]
}else{
Omi = "default";
};};
function setSkin(){
if(Omi == "default") delCookie("Skin");
if(Omi != "default") setCookie("Skin",Omi,new Date(9999,1,1));
window.location.reload();
};
changeSkin(getCookie("Skin"));
</script>
<br />
« Last Edit: August 22, 2011, 03:23:18 am by simply sibyl »

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: Just a quick question
« Reply #12 on: August 22, 2011, 03:44:38 am »
Cool, I got an idea on what to do with this code now :D
And does it really have to use cookies?
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline simply sibyl

  • Full Member
  • ***
  • Posts: 189
  • Karma: 35
    • View Profile

Badges: (View All)
Level 4 Windows User Topic Starter
Re: Just a quick question
« Reply #13 on: August 22, 2011, 02:58:17 pm »
xboi - yes.    That is how it knows what style you have chosen.  Otherwise you will have to keep choosing it when you visit the forum.     Of course if you have your browser remove cookies upon closing it, or use a program that cleans up cookies for you, you'll have to do so each time too.   The code does not access your Look & Layout settings preferences for themes.  It merely gives you an option of which style to use  (styles only change the look of the default theme) and via cookies remembers your choice.
« Last Edit: August 22, 2011, 03:02:36 pm by simply sibyl »

Offline Pyro

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter Level 1 First Post
Re: Just a quick question
« Reply #14 on: August 25, 2011, 11:12:24 pm »
Alright! That is awesome! :)

Thank you so much! :D

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
537 Views
Last post May 31, 2016, 01:43:15 pm
by joey
0 Replies
360 Views
Last post June 10, 2016, 09:50:31 am
by joey
6 Replies
1149 Views
Last post April 06, 2017, 09:50:19 pm
by yosihatem
1 Replies
341 Views
Last post July 12, 2018, 05:02:29 am
by CreateAForum
1 Replies
823 Views
Last post January 14, 2019, 12:07:58 am
by CreateAForum