|
![]() |
#1
|
|||
|
|||
![]()
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! ![]() |
#2
|
||||
|
||||
![]()
Open functions_global.php in ../library/functions/
find: Code:
function member_info_bar() { global $TSUE; Code:
$_avatar = get_member_avatar($M["memberid"], $M["gender"], "s"); add where you want to implemente avatar picture Code:
<img src="{$_avatar}" class="avatar"> |
#3
|
|||
|
|||
![]()
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?
|
#4
|
||||
|
||||
![]()
Download nulled functions_global.php and try it ....
|
#5
|
|||
|
|||
![]()
Ok, it worked but it shows only the default picture, not my avatar that i have on my profile page. Any thoughts?
|
#6
|
||||
|
||||
![]() 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"); |
The Following User Says Thank You to Botanicar For This Useful Post: | ||
harapalb (2nd May 2018)
|
#7
|
|||
|
|||
![]()
Thank you very much man! It worked.
|
![]() |
Tags |
22 , avatar , bring , memberinfobar , tsue |
|
|