Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Easy Style Color switcher Details »»
Easy Style Color switcher
Version: 1.1, by chennairam chennairam is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.1 Rating:
Released: 03-16-2009 Last Update: 03-23-2009 Installs: 78
Template Edits
Code Changes  
No support by the author.

Hello Friends

This is Our Frist Modification in Vbulletin...
Easily Style Switcher For Vbulletin like A Vb.org

It will Work On Version 3.7.X , 3.8.X


Live Demo Click Here


using java script colorchooser.js

Description: This is a "plug & play" style sheet switcher that lets your visitors switch between a list of alternative style sheets to apply to your forum. With a change of style sheet the entire look of your site can be transformed. Persistent cookies are used to store the user's selection and automatically recall that style sheet upon his return.

.

This is Work perfectly vbulletin default Style
if you Want More Change just edit made a CSS Code for like


Easy Style Color switcher Installation method

Styles & Templates > Style Manager > Main CSS > Scroll to the bottom and paste it in the second text area.

Add the following css code

Code:
#topbar {
height: 32px;
background: #CCCCCC;
}
.colorchooser {
float:right;
margin-right:10px;
margin-top:10px;
}
.colorchooser span {
  font-family:arial; 
  color:#FFFFFF; 
  font-size:10px; 
  text-decoration:none; 
  float:left; 
  display:block;
}
.colorchooser a {
  width:10px; 
  height:10px; 
  display:block;
  float:left;
  margin-left:5px
}
Styles & Templates > Search in template > Find > header

Add the following code first
Code:
<link rel="alternate stylesheet" type="text/css" title="orange-theme" href="orange.css" />
<link rel="alternate stylesheet" type="text/css" title="violet-theme" href="violet.css" />
<link rel="alternate stylesheet" type="text/css" title="red-theme" href="red.css" />
<link rel="alternate stylesheet" type="text/css" title="grey-theme" href="grey.css" />
<link rel="alternate stylesheet" type="text/css" title="black-theme" href="black.css" />
<link rel="alternate stylesheet" type="text/css" title="pinkish-theme" href="pinkish.css" />
<script src="colorchooser.js" type="text/javascript"></script>

<div id="topbar">
<div class="colorchooser"> <span>Choose your color scheme: </span>
<a href="javascript:ChennaigsmStyle('none')" style="background-color:#5A0000;"></a>
<a href="javascript:ChennaigsmStyle('orange-theme')" style="background-color:#FF9900;"></a>
<a href="javascript:ChennaigsmStyle('violet-theme')" style="background-color:#003366;"></a>
<a href="javascript:ChennaigsmStyle('red-theme')" style="background-color:#990000;"></a>
<a href="javascript:ChennaigsmStyle('grey-theme')" style="background-color:#999999;"></a>
<a href="javascript:ChennaigsmStyle('black-theme')" style="background-color:#000000;"></a>
<a href="javascript:ChennaigsmStyle('pinkish-theme')" style="background-color:#B26267;"></a> </div> 
</div>


Upload All Files In color Coding Folder Which i Attached here IN your Forum Root

/public_html/www.youdomain.com Or www.youdomain.com/forum/

Red.css , black.css , grey.css , orange.css , pinkish.css , violet , colorchooser.js

Download Now

File Type: zip Colour coding.zip (2.3 KB, 594 views)

Screenshots

File Type: jpg black_silver.jpg (73.0 KB, 0 views)
File Type: jpg Red.jpg (65.4 KB, 0 views)
File Type: jpg silver_color.jpg (25.7 KB, 0 views)

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #62  
    Old 03-04-2010, 09:53 PM
    archet1337's Avatar
    archet1337 archet1337 is offline
     
    Join Date: Sep 2009
    Location: Norway
    Posts: 251
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Any chance of having this updated to vb4?
    Reply With Quote
      #63  
    Old 03-07-2010, 07:08 AM
    princeedward's Avatar
    princeedward princeedward is offline
     
    Join Date: Jan 2007
    Location: Deutschland
    Posts: 901
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    great to have this on vb4.0.2

    Reply With Quote
      #64  
    Old 03-07-2010, 07:53 AM
    archet1337's Avatar
    archet1337 archet1337 is offline
     
    Join Date: Sep 2009
    Location: Norway
    Posts: 251
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by princeedward View Post
    great to have this on vb4.0.2

    Give please
    Reply With Quote
      #65  
    Old 04-07-2010, 10:16 AM
    chennairam's Avatar
    chennairam chennairam is offline
     
    Join Date: Aug 2007
    Posts: 284
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I didnt Upgrade my forum to vb4

    when i update my forum vb4 .. i will update this mod too
    Reply With Quote
      #66  
    Old 04-27-2010, 05:18 AM
    obetyance's Avatar
    obetyance obetyance is offline
     
    Join Date: Jul 2007
    Location: Philippines
    Posts: 32
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    is this the same as what is being use here at vB.org? at the bottom left of the page, it says:

    Layout Options | Width: Fixed Color: - - - - - -

    How can we add, Width?
    Reply With Quote
      #67  
    Old 06-28-2011, 02:37 AM
    oldfan's Avatar
    oldfan oldfan is offline
     
    Join Date: Jul 2004
    Posts: 813
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    *bump*
    Reply With Quote
      #68  
    Old 02-18-2012, 12:34 PM
    dany_danay dany_danay is offline
     
    Join Date: Jul 2009
    Posts: 142
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    *bump*
    Please vb4!!!
    Reply With Quote
      #69  
    Old 09-10-2012, 07:17 PM
    TravisWPaquin's Avatar
    TravisWPaquin TravisWPaquin is offline
     
    Join Date: Aug 2012
    Posts: 55
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    It won't let me type my web address to add the color? Where can I find besides typing it which is not working.
    Reply With Quote
      #70  
    Old 01-02-2015, 03:59 PM
    adwade adwade is offline
     
    Join Date: Aug 2006
    Location: SouthEast, TN
    Posts: 323
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I just wanted to say that after reviewing all the color changing scheme MODs here on vBulletin.org I found this to be the easiest to implement and the slickest to use. Kudos to Chennairam for such a great job at coding & releasing it. :up:
    Reply With Quote
      #71  
    Old 01-05-2015, 10:17 PM
    adwade adwade is offline
     
    Join Date: Aug 2006
    Location: SouthEast, TN
    Posts: 323
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by ddo36 View Post
    Installed nice nice nice. =)

    BUT Is there a way to add another color?'

    how do you do that?

    nevermind. ive done it.
    HOW did you do it?

    I created an additional green.css containing...

    Code:
    .tcat
    {
    	background: #336633;
    
    }
    .vbmenu_control
    {
    background: #336633;
    }
    Then uploaded it to my forum's root folder.

    I also added the lines in red below to my header, to allow for a green color option...
    Code:
    <link rel="alternate stylesheet" type="text/css" title="orange-theme" href="orange.css" />
    <link rel="alternate stylesheet" type="text/css" title="green-theme" href="green.css" />
    <link rel="alternate stylesheet" type="text/css" title="violet-theme" href="violet.css" />
    <link rel="alternate stylesheet" type="text/css" title="red-theme" href="red.css" />
    <link rel="alternate stylesheet" type="text/css" title="grey-theme" href="grey.css" />
    <link rel="alternate stylesheet" type="text/css" title="black-theme" href="black.css" />
    <link rel="alternate stylesheet" type="text/css" title="pinkish-theme" href="pinkish.css" />
    <script src="colorchooser.js" type="text/javascript"></script>
    
    <div id="topbar">
    <div class="colorchooser"> <span>Choose your color scheme: </span>
    <a href="javascript:ChennaigsmStyle('none')" style="background-color:#ffffff;"></a>
    <a href="javascript:ChennaigsmStyle('orange-theme')" style="background-color:#FF9900;"></a>
    <a href="javascript:ChennaigsmStyle('green-theme')" style="background-color:#336633;"></a>
    <a href="javascript:ChennaigsmStyle('violet-theme')" style="background-color:#003366;"></a>
    <a href="javascript:ChennaigsmStyle('red-theme')" style="background-color:#990000;"></a>
    <a href="javascript:ChennaigsmStyle('grey-theme')" style="background-color:#999999;"></a>
    <a href="javascript:ChennaigsmStyle('black-theme')" style="background-color:#000000;"></a>
    <a href="javascript:ChennaigsmStyle('pinkish-theme')" style="background-color:#B26267;"></a> </div> 
    </div>
    The new green pick box shows up just fine. When I hover over it it says: javascript:ChennaigsmStyle('green-theme') [S]However, when i click on it, it acts just like the 'none' selection[/S]. (Code above is now correct & works perfectly!)

    EDIT: Nevermind, I too just found my error. In copying the violet lines of code to make new ones for the green color, I did not change the word violet to green in all places, see my mistake below.

    Oops! When I copied the violet line, I only revised the last occurrence of violet to green
    Code:
    <link rel="alternate stylesheet" type="text/css" title="violet-theme" href="green.css" />
    when it should have been
    Code:
    <link rel="alternate stylesheet" type="text/css" title="green-theme" href="green.css" />
    Reply With Quote
    Reply


    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

    Forum Jump


    All times are GMT. The time now is 01:40 PM.


    Powered by vBulletin® Version 3.8.12 by vBS
    Copyright ©2000 - 2024, vBulletin Solutions Inc.
    X vBulletin 3.8.12 by vBS Debug Information
    • Page Generation 0.08810 seconds
    • Memory Usage 2,349KB
    • Queries Executed 27 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (6)bbcode_code
    • (2)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (2)pagenav_pagelink
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (4)postbit_attachment
    • (11)postbit_onlinestatus
    • (11)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.php
    • ./global.php
    • ./includes/init.php
    • ./includes/class_core.php
    • ./includes/config.php
    • ./includes/functions.php
    • ./includes/class_hook.php
    • ./includes/modsystem_functions.php
    • ./includes/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.php 

    Hooks Called:
    • init_startup
    • init_startup_session_setup_start
    • init_startup_session_setup_complete
    • cache_permissions
    • fetch_threadinfo_query
    • fetch_threadinfo
    • fetch_foruminfo
    • style_fetch
    • cache_templates
    • global_start
    • parse_templates
    • global_setup_complete
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • fetch_musername
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_attachment
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete