Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
UKBL ~ Choose Multiple Forum Colors - like VB.Org Details »
UKBL ~ Choose Multiple Forum Colors - like VB.Org
Mod Version: 1.00, by UKBusinessLive (Designer) UKBusinessLive is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (9 votes - 5.00 average) Installs: 64
Released: 18 Feb 2009 Last Update: Never Downloads: 568
Not Supported Template Edits Re-usable Code Translations  

UKBL ~ Choose Multiple Forum Colors - like VB.Org


With recent requests to do something similar to VB.org without all the complications of seperate CCS scripts and pages, Now you'll be able to change your forums color, Just like VB.org This hack will show you how to make and customise your own forum styles - Great Fun




PLEASE NOTE, The demo Screenshots are not the Colors you will be getting They are just quick examples i made to show different colors. The Colours are custom made by you when you Edit the CSS in your Styles template folder

Lets get Started

First you will need to decide how many colors you want, For example we'll chose just 4, but you can have as many or as little as you want.

Then decide which forum style you want to use to offer your color changes, I've used just the VB default style for this example.

So here we go..........

1. Go to your Admin CP and select Style Manager

2. Click the Link at the bottom - Add New Style

3. Parent Style - Select the Style that you want to offer Color Changes on, Normally this would be your chosen default style, and name it Default - Green Allow User selection - Yes Display order - 20 Then Save

4. You will see that you've created a copy of your default style called default green. Now we'll need to play with our Colors

5. On your defalt Green style click on All Style Options and GO, scroll down untill you come to the Body CSS

Then basically you need to work your way down this changing Background Colors, font colors etc,, If you click on one of the colored squares you will bring up a selector of colors which can let you chose the color you want without having to know Hex color numbers.

Trust me, I've not done this before and already within minutes i was making different forum styles, It really is that simple, The key word here is experiment You'll love it

To see your changes save and then click on the Forum Home Page link at the top right of your screen.

So basically thats what we need to do to make our different color Styles, Do a new Default Style for each color you want.

Color Squares

Next we'll need our color Squares









Just make your own in the color which best represents your Style and save to your forums /images/misc folder To fit nicely in the bottom navbar, I made mine 13 x 13 pixels and made them in paint.net, You can use photoshop or even windows paint

Half way there

Now comes the Fun Part

We need to Make our Color Squares Clickable so for that we'll have to edit a bit of code.

Open Notepad or a similar Text editor and add the following Code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now we will need to add our url of our style to the Front of that code like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can find out which Style id you need in the Style Manager in your AdminCP, Next we add the url of our color square.

If you already havn't done so, Upload your Color squares to your forums image/misc folder and use the full url to link to that in the code, so now our code will be like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then we add a spacer Code to the end of our coded like this  



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thats it, Then you do that with all the colors and save them one after the other, so you end up with one long line of code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thats the code done, Now to add a few words to the Front of it


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remember to add a unedited Link back to your normal Style so members can keep using the original, You can use a white color square for this.

and thats it save your work

Next we'll need to upload the code to our footer template of our Parent Style

Go to Default (Parent) style in the Admin CP and select All style Options > Edit Templates > Footer
and then find


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and below it add your code, Then save.

You'll see that it will copy to all the child styles automatically

You should get something along the lines of this









Thats all folks

Please Click Install and i'll support 100%

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	choser.png
Views:	506
Size:	48.9 KB
ID:	95081   Click image for larger version

Name:	bluepage.png
Views:	174
Size:	50.8 KB
ID:	95086   Click image for larger version

Name:	orangepage.png
Views:	157
Size:	50.8 KB
ID:	95087   Click image for larger version

Name:	redpage.png
Views:	200
Size:	50.4 KB
ID:	95088  

Click image for larger version

Name:	greenpage.png
Views:	238
Size:	51.0 KB
ID:	95089  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 18 Feb 2009, 08:02
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Reserved
Reply With Quote
  #3  
Old 18 Feb 2009, 12:27
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
1st to reply nice work gonna try this out now, let you know how it goes!
Reply With Quote
  #4  
Old 18 Feb 2009, 12:30
Aclikyano Aclikyano is offline
 
Join Date: Apr 2006
anyway you can make the banner colors change like it does on VB.org? hmmm
Reply With Quote
  #5  
Old 18 Feb 2009, 12:33
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Thanks ...nice work and thanks for your help!

regards

macc
__________________

Welcome to Libar
Reply With Quote
  #6  
Old 18 Feb 2009, 12:54
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by Aclikyano View Post
anyway you can make the banner colors change like it does on VB.org? hmmm
Yes and its so easy
Reply With Quote
  #7  
Old 18 Feb 2009, 12:55
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by macc View Post
Thanks ...nice work and thanks for your help!

regards

macc
Thanks Macc, Glad you liked it
Reply With Quote
  #8  
Old 18 Feb 2009, 13:00
ry215's Avatar
ry215 ry215 is offline
 
Join Date: May 2006
Real name: Nelson
This mod isnt like vbOrg
__________________
My Mods & Styles

Contace me now for more details!
Reply With Quote
  #9  
Old 18 Feb 2009, 13:04
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by ry215 View Post
This mod isnt like vbOrg
lol It changes forum colours like VB.org



Reply With Quote
  #10  
Old 18 Feb 2009, 13:29
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
This looks really ugly but its real nice
Reply With Quote
  #11  
Old 18 Feb 2009, 13:36
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by Shazz View Post
This looks really ugly but its real nice
Ha ha, Please don't go by the colors, i just did them as an example

I guess when admins change their own colors they'll do it with a bit more care and attention, God forbid anyone having a forum with those colors


Last edited by UKBusinessLive; 18 Feb 2009 at 13:44.
Reply With Quote
  #12  
Old 18 Feb 2009, 14:46
ry215's Avatar
ry215 ry215 is offline
 
Join Date: May 2006
Real name: Nelson
Originally Posted by UKBusinessLive View Post
lol It changes forum colours like VB.org






You MUST add some new fields to Database, and use PHP Codes for this, not only edit template

Only use Main CSS and StyleID for all colors.
__________________
My Mods & Styles

Contace me now for more details!
Reply With Quote
  #13  
Old 18 Feb 2009, 14:56
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by ry215 View Post





You MUST add some new fields to Database, and use PHP Codes for this, not only edit template

Only use Main CSS and StyleID for all colors.
Well i'm not just going to copy someone elses code??

Plus this is a quite and simple way for people not advanced in coding and databases, to have a similar function to their site, If i wanted to copy VB.orgs code i'd copy the source code, but thats not the idea.

My Heading states "Choose Multiple Forum Colors - like VB.Org"

Notice it says "Like" Not spitting image or a copy.

also "With recent requests to do something similar to VB.org without all the complications of seperate CCS scripts and pages"

i'm sorry if its not met your expectations

Last edited by UKBusinessLive; 18 Feb 2009 at 15:02.
Reply With Quote
  #14  
Old 18 Feb 2009, 15:06
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Your code works also fine (on my site) !

here i had read that many asked and requested about this code or hack ...but never get help from here -mean vbulletin org.

Thanks again UKbusinesslive - nice mod and nice help!

regards

macc
__________________

Welcome to Libar
Reply With Quote
  #15  
Old 18 Feb 2009, 15:12
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by macc View Post
Your code works also fine (on my site) !

here i had read that many asked and requested about this code or hack ...but never get help from here -mean vbulletin org.

Thanks again UKbusinesslive - nice mod and nice help!

regards

macc
Thanks Macc,

Always happy to help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:22.

Layout Options | Width: Wide Color: