![]() |
Ranks Without Usergroups
1 Attachment(s)
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: https://vborg.vbsupport.ru/attachmen...1&d=1454095972 In profile: https://vborg.vbsupport.ru/attachmen...1&d=1454095972 Updates: Version 1.1:
Version 1.2:
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:
https://vborg.vbsupport.ru/attachmen...1&d=1454095972 Support for this product can be found here: |
Looks nice!
Is there a way to make users select their own ranks? That would make the plugin even more useful to me :-). |
Quote:
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. :) |
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 |
Quote:
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. |
1 Attachment(s)
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 |
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 |
Quote:
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. |
1 Attachment(s)
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 { HTML Code:
Test1|<div class="badge_rank">Nice Rank</div> HTML Code:
Stratis|Test1 You can play around adding or changing with your needs. :) |
1 Attachment(s)
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) |
1 Attachment(s)
Quote:
*Confirmed that when include a second user for me it shows the second user, assume that if I put 3 user it will show the third only. *And something else, is there a way to have an option to hide for visitors or to show which usergroup we want. Thanks EDIT: In profile text is under, maybe this is my fault? Attachment 154247 Same time in postbit is ok. |
I get neither issue...I can assign as many users the same badge as I wish and they look the same in postbits as in profiles.
|
Quote:
Regards, Doug |
Quote:
and in update you fixed it. |
Updates - Version 1.1:
|
Thanks, thanks, Now users are ok.
The issue with the profile was from my code css interfere. |
Sometimes when you explode text into an array, you get unexpected spaces in the resulting array elements, so I had to trim that off. :)
|
Yes I have seen this difference if (trim($rank) :)
I play know with css, see some time with usergroups. |
Quote:
|
Quote:
Perhaps in a future version, accept any "case" status, as vBulletin does with its own logins. I couldn't figure out why it worked for username "Badger" and not username "badger" ... Regards, Doug |
Update - Version 1.2:
|
Quote:
Now, I'm still trying to master color changes... Quite a learning process for a 68 year old veteran, but interesting.. Regards, Doug |
Quote:
|
Hey Mark, anyway to have a copy of the CSS for the rank shown in the image? I remember you posting it on my forum somewhere but can't find it.
|
This is something that I really like the look of, and will explore it once our new userbars are in place (thanks again for all the help you've provided with our custom display!)
|
Can I use this to just apply text ranks?
|
Quote:
|
1 Attachment(s)
there might be a bug either in the product or in the css provided in post #9
when stacked with an image rank there is an issue in the profile page, the container will overlap the image rank and the text will be under the container |
Quote:
|
could you kindly provide your own css code?
will test if issue is specific to the css |
Quote:
Code:
.rank_wrapper_EP { Code:
test_badge|<div class="rank_wrapper_EP"><div class="rank_badge_EP badge_siteowner_EP">Test Badge</div></div> Code:
username|test_badge |
1 Attachment(s)
Thank you, I'm still getting a specific error in profile page when user has an image rank as well
Like the other css, it is fine in postbit but bugged in profile page :-( |
Can you post a link to that profile so I can see what's up within the DOM?
|
if you say you tested and you have no such issue, well....
it's odd though as someone reported a similar issue in post #11 I would like to stress the bug occurred in profile page only for me, not in postbit, and only with image ranks |
Without a link to that profile, I can't really say what the issue might be. :(
|
Nice Mod..
|
Sorry but for privacy reason I can't post link to profile.
Try to fix the product in your test site. Use an image rank to reproduce the bug in profile page. |
Quote:
|
Quote:
Mine was order issue Quote:
If you have same problem, see this, https://vborg.vbsupport.ru/showthread.php?t=319659 If something else only with css, ok than ignore it. Hope at least you test it in your default skin to see if you see issue there to :) |
^I have same issue as post#11
the text and container are not aligned it happens when you have an image rank, I don't remember if option stack is set to yes or no mark do you use an image rank or not? did you test both stack = yes & no? |
All times are GMT. The time now is 05:31 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|