Customizing SMF > SMF Coding Discussion
$board['last_post']['member']['avatar'] not working
(1/1)
PS4DEV:
I wanted to import the latest post avatars to the boardindex but $board['last_post']['member']['avatar'] doesn´t work.
Nothing will be displayed. I have SMF Version 2.0.2
I really like to know, what is the mistake ?
thank you.
Yoshi:
Without your code, we can't investigate anything.
emanuele:
Have a look at the code of this mod, it should help you.
Kays:
Hi, try using:
$board['last_post']['member']['avatar']['link']
Arantor:
Um, the member shouldn't be loaded in the board index - no call to loadMemberData should be in place, so it would have to be based on the mod linked above (though you could possibly modify it like that)
Navigation
[0] Message Index
Go to full version