TSUE 2.2 I need to bring the avatar to member_info_bar
I'm working on a new theme and i tried to add the avatar picture to the member_info_bar, but it doesn't work. I used all codes like {$_avatar}, {$clickable_member_avatar} etc. but on the main page doesn't work....so someone can help me? I'll leave a picture bellow for you to see what i want to do.
Thnx for help guys! https://jiotorrents.net/data/gallery/l/avatar.png |
Avatar on members info bar
Open functions_global.php in ../library/functions/
find: Code:
function member_info_bar() Code:
add where you want to implemente avatar picture Code:
|
Thx man for answering. But the problem is that i'm working on the "oficial" version, so for me the functions_global.php file is cripted. There is another way to do that?
|
Quote:
|
Ok, it worked but it shows only the default picture, not my avatar that i have on my profile page. Any thoughts?
|
Quote:
Code:
$_avatar = get_member_avatar($M["memberid"], $M["gender"], "s"); add Code:
$_avatar = get_member_avatar($TSUE["TSUE_Member"]->info["memberid"], $TSUE["TSUE_Member"]->info["gender"], "m"); |
Thank you very much man! It worked.
|
Quote:
Regards |
All times are GMT +2. The time now is 02:58. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.