Posted Tue Dec 01, 2015 9:47 am
Display the avatar of a member on the toolbar
First go to Administration Panel > Display > Colors > CSS Stylesheet and paste the code below.
CODE:
(You can modify the style to your liking if you wish)
Then go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Toolbar avatar
Placement : In all the pages
Paste the following code and submit.
CODE:
xerocks
First go to Administration Panel > Display > Colors > CSS Stylesheet and paste the code below.
CODE:
- Code:
.fa_avatar img {
width:25px;
height:25px;
margin-right:5px;
margin-bottom:-6px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
(You can modify the style to your liking if you wish)
Then go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Toolbar avatar
Placement : In all the pages
Paste the following code and submit.
CODE:
- Code:
$(function(){$(function(){$('#fa_welcome').prepend('<span class="fa_avatar">'+_userdata.avatar+'</span>')})});
xerocks