Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Style Switcher like on vB.org Details »»
Style Switcher like on vB.org
Mod Version: 1.00, by MoMan (Coder) MoMan is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.6 Rating: (0 vote - 0 average) Installs: 8
Released: 04 Sep 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes Re-usable Code  

I've written a simple JS function that can be used if you want to implement a style selector like on vB.org (using colored icons instead of a dropdown).

Simply add this to vbulletin_global.js, or include it in your footer template:


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

Then, you'd use something like this in your footer template:


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

This will then switch your style to an ID of your choice (9 in the example above). You will have to have separate styles for each color you want to switch between.

Hope someone will find this useful! Enjoy!

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Easy Style Color switcher chennairam vBulletin 3.8 Add-ons 67 10 Sep 2012 20:17
Style Bnat Syria way Sheet Switcher Syria BoY vBulletin 3.7 Styles 17 11 Mar 2008 01:58

Comments
  #2  
Old 10 Sep 2010, 08:51
Silencer Groans's Avatar
Silencer Groans Silencer Groans is offline
 
Join Date: Dec 2007
Real name: Muslim Hassan
thank
__________________
موقعي الشخصي : منتديات الوداد
Reply With Quote
  #3  
Old 05 Oct 2010, 20:31
Konstantinos's Avatar
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
and what happens with styles that are only viewable by admins ?
Reply With Quote
  #4  
Old 05 Oct 2010, 23:56
Eduardo Leon's Avatar
Eduardo Leon Eduardo Leon is offline
 
Join Date: Oct 2009
Real name: Eduardo
you can give some screenshots ?
Reply With Quote
  #5  
Old 19 Oct 2010, 06:35
MoMan MoMan is offline
 
Join Date: Oct 2005
Originally Posted by Konstantinos View Post
and what happens with styles that are only viewable by admins ?
Nothing would happen- the style wouldn't be selected. You obviously don't want to be creating icons for styles that aren't public.

You can view a demo here on vB.org - just try the style switcher. My implementation is the same, except that it's JS-powered.
__________________
Adam

Admin of PentaxForums.com - Big-Board
Reply With Quote
  #6  
Old 22 Jul 2011, 23:00
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Gonna try this in vb4.1.4
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #7  
Old 22 Jul 2011, 23:04
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Hmm. Doesn't work.
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #8  
Old 22 Jul 2011, 23:09
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Octavius. View Post
Hmm. Doesn't work.
I could've told you that
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #9  
Old 22 Jul 2011, 23:19
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Originally Posted by HMBeaty View Post
I could've told you that
LOL Is there one like this for vb4?
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #10  
Old 22 Jul 2011, 23:22
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Octavius. View Post
LOL Is there one like this for vb4?
I don't believe so.....not at the moment anyway.....
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #11  
Old 22 Jul 2011, 23:23
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
I'll PM MoMan then.
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #12  
Old 23 Jul 2011, 03:47
great kitten great kitten is offline
 
Join Date: Mar 2010
screenshots please
Reply With Quote
  #13  
Old 23 Jul 2011, 03:57
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Originally Posted by great kitten View Post
screenshots please
Scroll down to the bottom of the page. Do you see the style switcher? That's what it looks like.
__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #14  
Old 23 Jul 2011, 12:20
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
It works in vb4. He just gave bad directions, that's all.

Put this javascript in your headinclude or footer.



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

__________________
www.8thos.com
www.qapla.com
Reply With Quote
  #15  
Old 23 Jul 2011, 18:46
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Real name: DRE
Same code but compressed to reduce page load time.


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

__________________
www.8thos.com
www.qapla.com
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 10:30.

Layout Options | Width: Wide Color: