How can i add the user's avatar in the control panel, like this screen:
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<span class="AVATAR"></span>
<TABLE border=0 width="100%"><TBODY><TR><span class="AVATAR"></span><TD align=left><p><IMG alt="" src="http://www.iconlook.com/icondb/glaze/16x16/actions/configure.png"><STRONG> Your profile</STRONG> </p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile" target=_blank>Information</A></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&page_profil=preferences" target=_blank>Preference</A></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&page_profil=signature" target=_blank>Signature</A></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&page_profil=avatars" target=_blank>Avatar</A></p></TD></TR><TR><TD align=left><p><IMG alt="" src="http://www.iconlook.com/icondb/CrystalClear/16x16/apps/kwalletmanager.png"><STRONG> Social</STRONG></p><p><A href="URL_GOES_HERE/profile.forum?mode=editprofile&page_profil=friendsfoes" target=_blank>Friends and Foes</A></p><p><A href="URL_GOES_HERE/memberlist.forum" target=_blank>Memberlist </A></p><p><A href="URL_GOES_HERE/groupcp.forum" target=_blank>Groups</A></p></TD></TR><TR><TD align=left><p><STRONG><IMG alt="" src="http://www.iconlook.com/icondb/CrystalClear/16x16/actions/newmsg.png"> Private messages</STRONG></p><p><A href="URL_GOES_HERE/msg.forum?folder=inbox" target=_blank>Inbox</A></p><p><A href="URL_GOES_HERE/msg.forum?folder=sentbox" target=_blank>PM sent</A></p></TD></TR><TR><TD align=left><p><IMG alt="" src="http://www.iconlook.com/icondb/bnw/16x16/apps/kthememgr.png"> <STRONG>Other</STRONG></p><p><A href="URL_GOES_HERE/search.forum?search_id=watchsearch" target=_blank>Topic is being watched</A></p></TD></TR>
</TBODY></TABLE>
LGforum wrote:If that Forum isn't forumotion-official, there's some bad copyright infringement going on there
$(function() {
var x=$('#left .module')[0].getElementsByTagName('img'); var uav;
if (x.length>0){ uav='<img src="'+x[0].src+'" />'; } else { uav='<img src="http://www.guiapuertordaz.com/images/avatar_icon.jpg" />'; }
$('.AVATAR').html(uav);
});
YoshiGM wrote:Got it.
Thanks LG
Topic Solved & Locked |