Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Usersgroups Legend For Each Style
Merjawy
Join Date: Sep 2002
Posts: 505

USA
by Merjawy Merjawy is offline 15 Jul 2012
Rating: (1 vote - 5.00 average)

There are few mods for that, but this one is different

This mod will allow you to change the usergroups colors based on each style, so if you use more than one style, the colors might not look right on some styles.

Inspired by a user's request and Matthew Gordon. Thanks Matthew

Install instructions:

Step 1

Edit each usergroup and use it's title (use whatever title you prefer)

In the Username HTML Markup 1st box:

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


In 2nd box:


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


Repeat the steps for each usergroup using the title for the usergroup.

Step 2

Edit additional.css template and add this code to it (this is just an example)


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

Use the above titles or use your own as long they match what you put in the usergroups settings in step 1

Use any color you like to wrok with your styles and you can use the hex code of the lable I used both in this example.

Change the colors for each style as you see fit.
Attached Images
File Type: png usergroupcolor1.png (37.1 KB, 211 views)
File Type: jpg usergroupcolor2.jpg (37.9 KB, 258 views)

Last edited by Merjawy; 22 Jul 2012 at 02:24..
Views: 3839
Reply With Quote
Comments
  #2  
Old 16 Jul 2012, 21:40
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Thanks for this.
Reply With Quote
  #3  
Old 16 Jul 2012, 21:53
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Enjoy and thanks
Reply With Quote
  #4  
Old 21 Jul 2012, 01:51
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Real name: nexia
VERY BAD CSS VARIABLES... sorry but learn a little css before posting something like that.
Reply With Quote
  #5  
Old 21 Jul 2012, 03:00
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Thanks
Reply With Quote
  #6  
Old 22 Jul 2012, 00:58
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Moved to articles, this is really a "how to".

As vbenhancer mentions, those css class names are bad, dont use dots, use underscores. I would probably shorten them somewhat as well.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #7  
Old 22 Jul 2012, 02:22
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Thanks Paul... I updated the code

Last edited by Merjawy; 25 Jul 2012 at 05:43.
Reply With Quote
  #8  
Old 24 Jul 2012, 05:13
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
very nice and simple
__________________
Egypt News website, latest Egyptian news updated instantly.
Reply With Quote
  #9  
Old 25 Jul 2012, 05:43
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Thanks
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article 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 07:31.

Layout Options | Width: Wide Color: