Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2009, 08:16 AM
Dygear's Avatar
Dygear Dygear is offline
 
Join Date: Apr 2008
Location: Levittown, NY
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Stacking Username Styles

In the vein of setting an accounts username Color / Font / Style on a user group basis, I would also like to be able to stack these styles.

For example, different colors would have different meanings in different locations. A member's who name is colored in green would denote a low level of training obtained, where as a red would denote a medium level of training, and blue would denote an advanced level of training. However, red in the underline would denote that users rank in the organization, and orange would also note a different rank but only in the underlined text.

To show you what I mean by this I'm going to have to give you some insight into the organizations structure, and the certification levels of the New York State Department of Health for Pre-Hospital Providers.

Level of Care

New York State DoH Certification Levels for Pre-Hospital Providers.
Cardiopulmonary Resuscitation (CPR) - Not a DoH cert, but required for all providers.
Certified First Responder (CFR)
Emergency Medical Technician - Basic (EMT-B or Just EMT)
Emergency Medical Technician - Intermediate (EMT-I)
Emergency Medical Technician - Critical Care (EMT-CC)
Emergency Medical Technician - Paramedic (EMT-P)

Within the department all members who provide care on an ambulance are required to hold at least the CPR level of care (who names are colorized green). CFR while they are a level of certification provider by the DoH they do not have the level of training to provide care to a patient by them self. As such CFRs names are colorized as Black. For the ambulance to be able to provide care there needs to be at least an EMT (EMT-B) provider present on the ambulance. When you obtain the level of certification at the EMT-Basic level your name is colorized Red to denote this level, and also denote that you are capable of being 'In charge' of a patient. Both CFR and EMT-Basic are consider BLS or Basic Life Support.

EMT-I are the first level of ALS (Advanced Life Support) that the DoH offers, they provide additional care to patients in forums of Advanced airway management (Intubation) and IV Access. But this level is not recognized in my area and thus all EMT-Is are downgraded to the BLS level of care, thus their names are also red, and those providers can not provide ALS skills, even though they have been trained to do so while they are in this area. EMT-CC are ALS providers and they can provide in this area, and provide more care in the cadiac nature then that of an EMT-I, EMT-CC's names are colorized blue EMT-P are Also ALS and they are the highest level of Pre-Hospital provider their name is also colorized blue to denote this level of training.

Rank
Within the department there are two branches of rank. Operations who oversees the day to day operations of the ambulance. There is also the board who provide a more long term look and have ultimate authority over the building and buying power. Operations overlooks the board, and the board over looks operations to provide checks and balances for each other.

Within the Operations Office we have these ranks.
Chief of Operations, who is in charge of the ambulance and provides ultimate authority over the ambulances and equipment. There also also Assistant Chiefs who provide help to the main Chief. All of their names are colorized Gold (Or Orange in the case of HTML). Operations Officers who hold the rank of Captain or Lieutenant are colorized as Silver (Or Grey in the case of HTML). Engineers are also consider part of the Operations Office, but have no formal authority never the less their names are still colorized as Silver (Or Grey in the case of HTML).

Within the Executive Board we have these ranks.
Chairman of the Board who oversees the whole executive board, but has no rank color.
President who oversees the committees, and has a rank color of Red.
Vice President who takes authority from the President when the President in not Present, has no rank color.
Trustees who have the financial authority, has no rank color.
Recoding, Finical, and Service Sectary, has not rank color.

In the case where a member also have a DoH level of certification, then the certification level supersedes that of Rank, as an EMT Chief can not tell a Paramedic member who is in charge what they can and cannot do with a patient.

Putting all of this in HTML
While it is true that DoH level of certification supersedes the level of Rank, I would like to provide both information to the user visually. In this case, where the user has a Rank but no certification then the color of Rank will be displayed over the name, with the name underlined. In the case where the user DoH certification but no rank, then their name should be at the color of that level and bolded. In the case where the user has both a DoH level of certification and a Rank then their name should be in the color of the certification but the underline shall be in the color of their rank. And this is how I've done this via HTML:

Certification Colors
Username CPR
Username CFR
Username BLS (EMT-B or EMT-I)
Username ALS (EMT-CC or EMT-P)

Rank Colors
Username President
Username Operations Officer (Cpt. Lt.)
Username Operations Chief

Certification with Rank
CPR:
Username CPR
Username CPR President
Username CPR Operations Officer (Cpt. Lt.)
Username CPR Operations Chief

CFR:
Username CFR
Username CFR President
Username CFR Operations Officer (Cpt. Lt.)
Username CFR Operations Chief

BLS:
Username BLS (EMT-B or EMT-I)
Username BLS President
Username BLS Operations Officer (Cpt. Lt.)
Username BLS Operations Chief

ALS:
Username ALS (EMT-CC or EMT-P)
Username ALS President
Username ALS Operations Officer (Cpt. Lt.)
Username ALS Operations Chief

The Question
The question is, how does one implement this system inside of vB? CPR/CFR/BLS/ALS members are apart of the have their own respective user group. Exec. Board have their own user group, and Operations Officers and Chiefs of Operations have their own group. How would one automatically implement this color scheme to the users name, based on their user group?
Reply With Quote
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 07:55 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.06384 seconds
  • Memory Usage 2,216KB
  • Queries Executed 13 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete