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 Sat 21 Dec - 19:49

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 Sat 21 Dec - 20:30; edited 1 time in total

Van-Helsing
Hyperactive

Male Posts : 2222
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 Sat 21 Dec - 20:21

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 : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: How can I add a mini avatar?

Post by Van-Helsing on Sat 21 Dec - 20:29

Thank you very much Marios its working.

Van-Helsing
Hyperactive

Male Posts : 2222
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 Sat 21 Dec - 23:49

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 : 36657
Reputation : 2443
Language : English
Location : United States

http://ztwds.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