vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=259)
-   -   Miscellaneous Hacks - User Drop Down Icons + Message drop down icons (CSS only) - vb5.2.5 (https://vborg.vbsupport.ru/showthread.php?t=324325)

napy8gen 01-29-2017 10:00 PM

User Drop Down Icons + Message drop down icons (CSS only) - vb5.2.5
 
1 Attachment(s)
This is better than previous mod because the unread and read messages icons are different.
Previous mod cannot be used in vb5.2.5 because changes in CSS classes.

1. Put font awesome in head_include template
style manager> style name> edit templates>head_include
HTML Code:

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
2. Put this in css_additional.css
style manager> style name> edit templates> CSS templates> css_additional.css
HTML Code:

/*-- top right menu icons --*/
.username-container .b-comp-menu-dropdown .b-comp-menu-dropdown__content-item:first-child a:before {
    font-family: "FontAwesome";
    content: "\f2be";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
.username-container .b-comp-menu-dropdown .b-comp-menu-dropdown__content-item:nth-child(2) a:before {
    font-family: "FontAwesome";
    content: "\f0e6";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
.username-container .b-comp-menu-dropdown .b-comp-menu-dropdown__content-item:nth-child(3) a:before {
    font-family: "FontAwesome";
    content: "\f013";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
.username-container .b-comp-menu-dropdown .b-comp-menu-dropdown__content-item:last-child a:before {
    font-family: "FontAwesome";
    content: "\f08b";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
/*--- messages menu ---*/
.js-pmchat__dropdown-submenu .js-pmchat__submenu__ephemeral a:before {
    font-family: "FontAwesome";
    content: "\f2b6";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
.js-pmchat__dropdown-submenu .js-pmchat__submenu__ephemeral.b-comp-menu-dropdown__content-item--unread a:before {
    font-family: "FontAwesome";
    content: "\f0e0";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
.js-pmchat__dropdown-submenu .b-comp-menu-dropdown__content-item.b-comp-menu-dropdown__content-item--divider a:before {
    font-family: "FontAwesome";
    content: "\f040";
    padding-right: 10px;
    top: -1px;
    position: relative;
}
.js-pmchat__dropdown-submenu .b-comp-menu-dropdown__content-item:nth-last-child(2) a:before {
    font-family: "FontAwesome";
    content: "\f01c";
    padding-right: 10px;
    top: -1px;
    position: relative;
}


napy8gen 01-30-2017 09:10 PM

For vb5.2.4 below please use this one: https://vborg.vbsupport.ru/showthread.php?t=319772

Screenshots taken from 2 of my new styles

shimei 01-31-2017 03:19 AM

Works perfectly!

Fleiding 02-05-2017 07:38 AM

Awesome!

Manuela 04-14-2017 01:35 PM

Can´t vote for it (don´t know why)... so I reply to your thread.

Works great. Thank you!

MarkFL 04-14-2017 05:37 PM

Quote:

Originally Posted by Manuela (Post 2585297)
Can?t vote for it (don?t know why)... so I reply to your thread...

If you mark it as "Installed" then you will be able to rate it. :)

goxy63 04-22-2017 07:22 PM

Cool, works just fine with VB5.2.6, installed and rated.
Thank you

willie53 03-24-2018 12:23 AM

Ok i have created a product for this and i am happy to release this all credits will be given to you


All times are GMT. The time now is 03:33 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.00977 seconds
  • Memory Usage 1,731KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete