Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) [YaBB 2.3/2.3.1] YaBB Style Switcher (Read 7408 times)
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
[YaBB 2.3/2.3.1] YaBB Style Switcher
Oct 28th, 2008 at 8:39am
Print Post  
Hi YaBB Friends .....

..... Mod updated for YaBB 2.3 and YaBB 2.3.1

YaBB Style Switcher 1.1 for YaBB 2.3
YaBB Style Switcher 1.2 for YaBB 2.3.1


Author Information:

Orginal Code by AK108
Code Modification and Mod Writer: ThM

Credit:

Special Thanks goes to AK108 for the permission to use his Set Template in URL 1.0 for YaBB 2.0/2.1 Mod for a YaBB 2.2.2 mod, to Namster for permission to use his Style Sheet Sets and to Deti for a little bit Support. Thanks Guys.

Description:

This mod allows users and guests a quick design change by using multiple template stylesheet in combination with a simple dropdown box. the last setting is save by a cookie. New: You can enabled/disabled these option in your admin center -> Forum configuration -> Forum settings -> Tab main

Demo with all included stylesheets:

Take a look at the middle on the top at the header.

http://www.yabbwelt.de/cgi-bin/forum/YaBB.pl

Two Packages in the zip File included:

- One for YaBB 2.3 - Version 1.1
- One for YaBB 2.3.1 - Version 1.2

  • Style Switcher Version 1.2 for YaBB 2.3.1
  • Style Switcher Version 1.2 for YaBB 2.3.1 German_Du Patch
  • Style Switcher Version 1.2 for YaBB 2.3.1 German Patch
  • Style Switcher Version 1.2 for YaBB 2.3.1 Dutch Patch
  • 14 Style sheets therefrom 11 created by Namster (modified for using with YaBB 2.3 by me)


  • Style Switcher Version 1.1
  • Style Switcher Version 1.1 German_Du Patch
  • Style Switcher Version 1.1 German Patch
  • 14 Style sheets therefrom 11 created by Namster (modified for using with YaBB 2.3 by me)
    - Strawberry,
    - Cherry,
    - Orange,
    - Banana,
    - Kiwi,
    - Melon,
    - Mint,
    - Ice,
    - Plum,
    - Grape,
    - Sakura as well as
    - standard (default), yabb21 and
    - inspire.

Installation:

1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

  • Sources/Load.pl
  • Templates/default/default.html
  • Templates/yabb21/yabb21.html
  • Languages/English/Admin.lng
  • Languages/English/Main.lng
  • Admin/ManageTemplates.pl  
  • Admin/Modlist.pl
  • Admin/NewSettings.pl
  • Admin/Settings_Main.pl
  • yabbfiles/Templates/Forum/*.css Files (Set chmod to 666)


Additional important duty after upload:

Go into your admin Center -> Template Configuration and choose a added stylesheet. Then save the Template with the same name as the stylesheet. It's needed, that you make this too with all other styesheets.

Example:
stylesheet name -> strawberry - Save Template as -> strawberry
stylesheet name -> banana - Save Template as -> banana
.... and so on ....

Old YaBB Style Template:

Change also Images, Header, Board Index, Message Index and Posts to yabb21.

Possibly it's needed re-start your browser, delete temporary internet files and cookies.

Mod History:

Status Style Switcher 1.2 for YaBB 2.3.1 - January 2009 - relaese 21th Aor. 2009
Status Style Switcher 1.1 for YaBB 2.3 - Oct. 28 2008
- Modified all css files for YaBB 2.3
- Added a enable/disable admin option in your admin center
Status Style Switcher 1.0 for YaBB 2.2.1/2.2.2 - June 16 2008

Note: Tested on a fresh YaBB 2.3 installation.



Have fun - Feedback welcome  Smiley
« Last Edit: Apr 21st, 2009 at 1:29pm by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #1 - Oct 28th, 2008 at 11:11pm
Print Post  
Modded this on to my test forum today. As far as I can see, it mostly works. Everything is in place, and the lists show up properly.

The switcher can switch from the regular template to any of the colored templates, and from any of the colored templates to any of the other colored templates.

It will not switch from any of the other templates back to the basic 2.3 template or the old 2.1 template. Whether this is a bug, or some step I have not understood, I do not know.

But for the most part, it seems to work fine. Just thought I would report my results.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #2 - Oct 29th, 2008 at 3:06am
Print Post  
Sounds like you missed resaving Template Configuration for
standard.css  <~~~ default template css
yabb21.css
  

Love to live and love on the water
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #3 - Oct 31st, 2008 at 7:13am
Print Post  
batchman wrote on Oct 28th, 2008 at 11:11pm:
It will not switch from any of the other templates back to the basic 2.3 template or the old 2.1 template. Whether this is a bug, or some step I have not understood, I do not know.


Jep, it's right what CJ wrote.
Read this part from the first post:
Quote:
Additional important duty after upload


  

Greeting ThM
Back to top
 
IP Logged
 
magnum
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 48
Joined: Jun 1st, 2008
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #4 - Nov 8th, 2008 at 1:47am
Print Post  
I don't get it  Grin Maybe I've done something wrong or thought this Mod did something different.

I have my own templates I've designed so I don't need or have any use for the ones that have come with this mod... is there anyway for me to be able to use my templates and they be able to be in the drop down?
  
Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #5 - Nov 8th, 2008 at 7:56pm
Print Post  

 You can add your own Template Configurations simply by either renaming or adding the options to fit your template names.

   Open the MOD file, find where Main.lng is edited or if already installed open the Main.lng file in the Languages folder and edit.
  

Love to live and love on the water
Back to top
 
IP Logged
 
magnum
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 48
Joined: Jun 1st, 2008
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #6 - Nov 9th, 2008 at 4:36am
Print Post  
Thanks Captain John!

Changing the Main.lng file did what I was looking for this Mod to do
  
Back to top
 
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #7 - Dec 13th, 2008 at 11:51am
Print Post  
I installed it, and got it working.

I have changed the template names to ones I want to use, and have tried to create some templates for the old style too, as my current forum uses the old template.

The issue I have is that when logged in you can switch any style with the new 2.3 templates, any colour works and it all switches.  However, you cannot choose any of the old 2.1 styles or colours. They just do not work.

If you log out, it works perfectly as you are a guest!

Any clues?

Great mod!
  
Back to top
WWW  
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #8 - Dec 13th, 2008 at 12:15pm
Print Post  
UPDATE.

If I delete all my cookies once logged in, it then works perfectly?
  
Back to top
WWW  
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #9 - Dec 13th, 2008 at 1:23pm
Print Post  
Quote:
Old YaBB Style Template:

Change also Images, Header, Board Index, Message Index and Posts to yabb21.

Possibly it's needed re-start your browser, delete temporary internet files and cookies.


Wink
  

Greeting ThM
Back to top
 
IP Logged
 
Martin_W
Senior Member
****
Offline


I love YaBB 1G - SP1.2!

Posts: 463
Location: Devon
Joined: Jun 22nd, 2005
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #10 - Dec 13th, 2008 at 6:13pm
Print Post  
*edited*

I am working my way through creating the colours for the YaBB2.1 templates.  My users can then choose the modern or tradional template with a choice of colours for both.

« Last Edit: Dec 14th, 2008 at 10:40am by Martin_W »  
Back to top
WWW  
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #11 - Jan 7th, 2009 at 9:36am
Print Post  
I'm having some problems installing this, it seems to be when I upload the load.pl file or the default.html 

I installed it like 5 times and same thing?
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #12 - Jan 7th, 2009 at 10:28am
Print Post  
What problems exactly. This mod isn't still adapted / tested with YaBB 2.3.1
  

Greeting ThM
Back to top
 
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #13 - Jan 7th, 2009 at 4:15pm
Print Post  
I'm not exactly sure, My 404error page redirects you to the home page.

after I install this mod and open my browser to my site, the browser just refreshes its self over and over again!
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: [YaBB 2.3] YaBB Style Switcher 1.1
Reply #14 - Jan 7th, 2009 at 4:22pm
Print Post  
Please give me a link where I can take a look on your site (Board) or PN me.
  

Greeting ThM
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint