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

Reply
 
Thread Tools
Ranks Without Usergroups Details »»
Ranks Without Usergroups
Version: 1.2, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-28-2016 Last Update: 02-23-2016 Installs: 21
Uses Plugins
Translations  
No support by the author.

Overview

This product allows you to define ranks that can be assigned to individual users without having to create usergroups with which to associate them. These ranks will then display beneath ranks defined in the "User rank Manager" in postbits and profile pages. All of the settings are self-explanatory.

In postbit:



In profile:



Updates:

Version 1.1:
  • Fixed problem arising on some sites where only last user shows rank.

Version 1.2:
  • Removed case sensitivity of usernames.

Compatibility:

Tested and working on VB 4.2.x and should work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Ranks Without Usergroups v1.2.zip (2.8 KB, 83 views)

Screenshots

File Type: png markfl_rng_profile.png (6.3 KB, 0 views)
File Type: png markfl_rng_postbit.png (4.2 KB, 0 views)
File Type: png markfl_rng_acp.png (47.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Alan_SP, alcazarx, In Omnibus, Lynne, RichieBoy67, z3r0

Comments
  #2  
Old 02-17-2016, 08:58 PM
Xarwin Xarwin is offline
 
Join Date: Jan 2011
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice!

Is there a way to make users select their own ranks?
That would make the plugin even more useful to me :-).
Reply With Quote
  #3  
Old 02-17-2016, 10:14 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xarwin View Post
Looks nice!

Is there a way to make users select their own ranks?
That would make the plugin even more useful to me :-).
No, this product, as it stands, allows you as an admin to define the HTML/CSS for ranks and then apply them to users. The way I see it, such a rank is earned though contributions to the site, rather than simply chosen by users.

For example, one of our global moderators puts in a great deal of time helping me beta test mods on our dev site, and so I gave her a small icon to denote her role as a beta tester. It was something I felt she deserved

However, I realize not everyone will have the same use for any particular mod, and so when I get time (currently working on a bear of a mod), I will see if I can do something useful with your suggestion.
Reply With Quote
  #4  
Old 02-18-2016, 11:43 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downloaded and installed with thanks...

Immediately noticed there is no CSS code as shown in the pic, to use as a template for those of us who aren't experienced as coders?

Is it supposed to be there?

Regards,
Doug
Reply With Quote
  #5  
Old 02-18-2016, 02:12 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Downloaded and installed with thanks...

Immediately noticed there is no CSS code as shown in the pic, to use as a template for those of us who aren't experienced as coders?

Is it supposed to be there?

Regards,
Doug
Hey Doug,

You have to add your own CSS when you define your ranks badges. The CSS isn't really necessary unless you are going to define more than one badge that uses the same CSS...this lets you be more efficient.

The screenshot just shows an example of CSS classes being defined.
Reply With Quote
  #6  
Old 02-19-2016, 08:39 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, tried it and still nothing appears using vBullletin 4.1.3PL8 as a rank for the user named Badger. (see attached)

Most likely mod is not compatible with 4.1 series... just a guess?

Regards,
Doug
Attached Images
File Type: jpg Screen Shot 2016-02-19 at 5.38.30 AM.jpg (69.1 KB, 0 views)
Reply With Quote
  #7  
Old 02-22-2016, 08:43 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark...

In order to save my old brain a lot of time and possible mistakes, could you copy the text versions of the code you show in your graphic pic of your mod into a post here?

Thanks .. appreciate it..

Regards,
Doug
Reply With Quote
Благодарность от:
Alan_SP
  #8  
Old 02-23-2016, 05:43 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Mark...

In order to save my old brain a lot of time and possible mistakes, could you copy the text versions of the code you show in your graphic pic of your mod into a post here?

Thanks .. appreciate it..

Regards,
Doug
The CSS you see in the screenshot is just what I used for the screenshots. It is not meant to be a part of the product itself. I just used it so the screenshots would be pretty. It is nearly identical to the HTML/CSS badges I designed for the site I help admin, and I would rather not make them available to the public, as I want them to be somewhat unique to that site.

It is up to you to design your own badges to fit your site...the same knowledge required to use vBulletin's intrinsic "Ranks Manager" is also required for this product. This product just allows you to assign such badges to individual users without having to create usergroups for those users.
Reply With Quote
  #9  
Old 02-24-2016, 09:26 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mark very nice mod.

A little extra help for code i made in testing condition for my self.
Mark has a good point there for his code and we must respect this.

Attachment 154244

CSS Classes/Selectors
HTML Code:
.badge_rank {
position: relative;
top: 0px;
left: 0px;
width: 178px;
height: 20px;
vertical-align: middle;
border: solid 2px;
color: #F4FFFF;
border-color: #5D5B4E;
border-radius: 5px;
font-family: Georgia;
font-weight: 600;
font-size: 12pt;
text-align: center;
background-color: transparent;
box-shadow: 4px 4px 5px #8E7B7B;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background: -moz-linear-gradient(top, #D42121 10%, #EF5656 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(10%,#D42121), color-stop(100%,#EF5656));
background: -webkit-linear-gradient(top, #D42121 10%,#EF5656 100%);
background: -o-linear-gradient(top, #D42121 10%,#EF5656 100%);
background: linear-gradient(to bottom, #D42121 10%,#EF5656 100%);
}
Ranks Definitions
HTML Code:
Test1|<div class="badge_rank">Nice Rank</div>
Assign Ranks To Users
HTML Code:
Stratis|Test1
Don't forget to change Stratis with your name users

You can play around adding or changing with your needs.
Reply With Quote
2 благодарности(ей) от:
Alan_SP, MarkFL
  #10  
Old 02-24-2016, 09:46 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Stratis ..

This makes the mod very useful to non coders... appreciate it..

How would I make the background a nice shade of blue instead of red?

Regards,
Doug

Edit: As soon as more then 1 username is added to the list, the rank stops showing up in forums. If you just use a single username, it works for that user. (see attached)
Attached Images
File Type: jpg Screen Shot 2016-02-24 at 7.39.41 AM.jpg (74.4 KB, 0 views)
Reply With Quote
Благодарность от:
Stratis
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 12:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06272 seconds
  • Memory Usage 2,358KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_html
  • (3)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
  • (10)post_thanks_box
  • (10)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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