Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Usergroup Legend with Links To FAQ Details »»
Usergroup Legend with Links To FAQ
Version: 1.3, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 12-23-2015 Last Update: 01-01-2017 Installs: 29
Uses Plugins
Translations  
No support by the author.

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.



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.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Usergroup Legend v1.3.zip (4.0 KB, 160 views)

Screenshots

File Type: png markfl_usergroup_legend.png (17.4 KB, 0 views)
File Type: jpg markfl_usergroup_legend_acp.jpg (85.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
seb5594, yin9

Comments
  #52  
Old 06-07-2017, 07:02 AM
JARNAR JARNAR is offline
 
Join Date: Apr 2017
Location: Pistoia, Italy
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Mark, I removed "& nbsp; & nbsp" and I overwritten the product, now it's ok.

There is only a small segment in the separator (attached)

If you know how remove this, let me know
Attached Images
File Type: jpg Screenshot (73).jpg (7.8 KB, 0 views)
Reply With Quote
  #53  
Old 06-07-2017, 03:23 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look in this product's plugin titled "Display Usergroup Legend in WGO" and locate the line:

Code:
$usergroup_list .= '<div style="display: inline-block; padding-left: 0">' . $vbulletin->usergroupcache[$id_arr[0]]['opentag'] . '<span style="font-size: ' . $vbulletin->options['markfl_usergroup_legend_delimitsize'] . '%; ' . $vbulletin->options['markfl_usergroup_legend_delimcss'] . '">' . $delimiter . '</span>' . $uname . $vbulletin->usergroupcache[$id_arr[0]]['closetag'] . '&nbsp;&nbsp;</div>';
You can edit that to your liking.
Reply With Quote
  #54  
Old 05-29-2020, 12:34 AM
yin9 yin9 is offline
 
Join Date: Dec 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working on 4.2.5 and PHP 7.1.3.

Thanks for this mod.
Reply With Quote
Reply

Thread Tools

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 09:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04478 seconds
  • Memory Usage 2,264KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_code
  • (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
  • (4)post_thanks_box
  • (2)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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