The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How can I add a mini avatar?

View previous topic View next topic Go down

Solved How can I add a mini avatar?

Post by Van-Helsing on December 21st 2013, 8:49 pm

Hi dear all,
How can I add a mini avatar in forumotion toolbar? My forum version is phpbb2.

Best Regards,
Dark-Avenger


Last edited by Dark-Avenger on December 21st 2013, 9:30 pm; edited 1 time in total

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add a mini avatar?

Post by Luffy on December 21st 2013, 9:21 pm

You have to add:

Javascript:
Code:
$(function () {
            $(window).load(function () {
                var av = $('#fa_usermenu img:eq(0)').attr('src');
                $('#fa_welcome').prepend('<img src="' + av + '" class="toolbar_avatar" />');
            });
        });

and CSS Stylesheet:
Code:
.toolbar_avatar {
 height: 25px;
width: 25px;
margin-right: 3px;
position: relative;
top: -1px;
}






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: How can I add a mini avatar?

Post by Van-Helsing on December 21st 2013, 9:29 pm

Thank you very much Marios its working.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add a mini avatar?

Post by SLGray on December 22nd 2013, 12:49 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35672
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum