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)
-   -   Mini Mods - Usergroup Legend with Links To FAQ (https://vborg.vbsupport.ru/showthread.php?t=321181)

MarkFL 12-23-2015 10:00 PM

Usergroup Legend with Links To FAQ
 
1 Attachment(s)
Overview:

This product allows you to display a legend of selected usergroups in your WGO block, directly below the list of users who have visited the site recently. You may link each usergroup name to an FAQ item if you have such items defined to describe certain usergroups. You may choose to strip the trailing "s" from the usergroup names in case the usergroup names are plural, but you want the singular to show in the legend. You may choose to simply delimit the list with commas, or choose one from 10 special characters, or enter you own custom character(s). You may choose the size of the delimiter as a percentage of the default font-size. You may assign any custom CSS to the legend's usergroup list.

https://vborg.vbsupport.ru/attachmen...1&d=1450974853

Updates:

Version 1.1:
  • Added setting for the control of the delimiter CSS.

Version 1.2:
  • Legend is only visible for users that can either see who is online or can see who has visited.

Version 1.2.1:
  • Fixed bug with diamond delimiter.

Version 1.3:
  • Added setting to allow for image as custom delimiter.

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.

https://vborg.vbsupport.ru/attachmen...1&d=1483363584

Support for this product can be found here:

Dragonsys 12-24-2015 04:17 PM

very nice

Stratis 12-24-2015 05:07 PM

Mark very nice.
Some questions to small issues.

a) When i use "Custom Delimiter" than character is shown at the begin to.
- Administrator - Supermoderator - Moderator, an so on.

b) is there a way to trim icons to be at the left of usergroups (closer) and not in the middle.
This because i use color code for each usergroup, so every icon(star) has other color
and when its in the middle its not good for me.

Thanks for the new Mod :)

MarkFL 12-24-2015 05:16 PM

Quote:

Originally Posted by Stratis (Post 2561118)
Mark very nice.
Some questions to small issues.

a) When i use "Custom Delimiter" than character is shown at the begin to.
- Administrator - Supermoderator - Moderator, an so on.

b) is there a way to trim icons to be at the left of usergroups (closer) and not in the middle.
This because i use color code for each usergroup, so every icon(star) has other color
and when its in the middle its not good for me.

Thanks for the new Mod :)

Do you mean you want the delimiter character(s) to be to the immediate left of the usergroup names with no spacing? to the right of the usergroup names as well?

MarkFL 12-24-2015 05:49 PM

Update version 1.1 :
  • Added setting for the control of the delimiter CSS.

Stratis 12-24-2015 06:08 PM

1 Attachment(s)
While answering you made the change, very well for the icon position.

Although I think this supposed not to be there (at start), or it should be?
When we use a character
Attachment 153886

All other ok for me :up:

MarkFL 12-24-2015 06:22 PM

It was an easy change to make, so I went ahead and did it.

Yes, when you use a delimiter other than a comma, then it appears to the left of each usergroup. :)

Stratis 12-24-2015 06:34 PM

Ok :D

Last think to remind you, when ever make an update, and its easy don't forget to include an option "Usergroups can NOT view VILXH box (comma separated ID list)" Visitors are better not to see this.

:p

MarkFL 12-24-2015 07:48 PM

Quote:

Originally Posted by Stratis (Post 2561132)
Ok :D

Last think to remind you, when ever make an update, and its easy don't forget to include an option "Usergroups can NOT view VILXH box (comma separated ID list)" Visitors are better not to see this.

:p

I agree that not everyone needs to see it, really only those who can see who is online and/or who has recently visited.

Update version 1.2:
  • Legend is only visible for users that can either see who is online or can see who has visited.

Elixar 12-24-2015 11:23 PM

This was always an awesome addition to MHB that I loved. Nicely done. :)


All times are GMT. The time now is 05:32 AM.

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.01365 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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