Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Rank Banners using CSS Details »
User Rank Banners using CSS
Mod Version: 1.0, by tpearl5 (Coder/Designer) tpearl5 is offline
Developer Last Online: Jun 2018 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 7
Released: 09 Oct 2014 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

I use the user rank system on one of my sites to give users in one or more usergroups a little flare. I didn't want to use graphics, which would add to the number of images being loaded, so I used CSS.

Here's how to set it up.

Add something like the following to additional.css:

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

Naturally you can adjust the colors to match your site.

Go to User Ranks > Add New User Rank
  • Number of times to repeat rank: 1
  • Choose the usergroup - in this example the code is for the super mods
  • Minimum Posts: whatever you want, but mine is setup to depend on usergroup, which in some cases may be set based on user upgrades anyway
  • Stack Rank: No
  • Display Type: Always
  • User Rank File Path: clear this field
  • OR you may enter text: enter something like the following -

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

You will need to create a new user rank for each banner that you want to use. You would just need to change the second half of the div class to match the name of the group, for example the sr_members would get <div class="user_banner sr_member">Sr Member</div>

The banners will stack if the user is in more than one group that meets the requirements set in the User Rank. (see screen shot below)

This will also work for 3.x versions.

Enjoy!

Download Now

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

Screenshots

Click image for larger version

Name:	vbulletin_user_banners.PNG
Views:	340
Size:	11.8 KB
ID:	150675  

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 09 Dec 2014, 16:54
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Nice mod..
Reply With Quote
  #3  
Old 09 Dec 2014, 21:50
Phillip Phillip is online now
 
Join Date: Apr 2014
Wondering if this could work for vB3 as well?
__________________
Reply With Quote
  #4  
Old 10 Dec 2014, 10:41
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Originally Posted by GhostX View Post
Wondering if this could work for vB3 as well?
States in the original post:

This will also work for 3.x versions.
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 18:55.

Layout Options | Width: Wide Color: