vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Ranks Without Usergroups (https://vborg.vbsupport.ru/showthread.php?t=321645)

Stratis 02-24-2016 11:32 AM

1 Attachment(s)
Quote:

Originally Posted by BadgerDog (Post 2565500)
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)

Where you see this symbol # in front, like this #D42121 are all colors, change as you like.

*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.

MarkFL 02-24-2016 12:10 PM

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.

BadgerDog 02-24-2016 12:13 PM

Quote:

Originally Posted by Stratis (Post 2565508)

*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.

Yes, it only shows one user, I think whomever is the username in the last position. Of course, that's why it works for only 1 user, because they're in the last position.

Regards,
Doug

Stratis 02-24-2016 01:16 PM

Quote:

Originally Posted by MarkFL (Post 2565509)
I get neither issue...I can assign as many users the same badge.

Ok Mark thanks for your information, I will try to play with plugin code combining with other plugin (Restrict Posting By Forum) I had the same issue (with more than one user)
and in update you fixed it.

MarkFL 02-24-2016 01:19 PM

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

Stratis 02-24-2016 01:31 PM

Thanks, thanks, Now users are ok.

The issue with the profile was from my code css interfere.

MarkFL 02-24-2016 01:39 PM

Sometimes when you explode text into an array, you get unexpected spaces in the resulting array elements, so I had to trim that off. :)

Stratis 02-24-2016 01:47 PM

Yes I have seen this difference if (trim($rank) :)
I play know with css, see some time with usergroups.

MarkFL 02-24-2016 01:59 PM

Quote:

Originally Posted by Stratis (Post 2565516)
Yes I have seen this difference if (trim($rank) :)

Thank you for confirming the update resolved the issue too. :up:

BadgerDog 02-24-2016 02:45 PM

Quote:

Originally Posted by Stratis (Post 2565514)
Thanks, thanks, Now users are ok.

The issue with the profile was from my code css interfere.

I also noticed that unless you put in a user's name exactly, including case sensitivity, the rank doesn't appear.

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


All times are GMT. The time now is 03:12 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.01484 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete