Not Solved display user avatar on index
#1
Not Solved
Hello there,

I was sure this used to work on my site, but I just noticed that it hasn't since updating. I had used a variable <img src="{$mybb->user['avatarcdn']}">

This has displayed the user's avatar in the header formerly, but now it doesnt do a thing. I'm sure I didn't mess up the variable during the theme switchover from icyboards to mybb. So, can anyone help here? Have i missed something in the transfer or does this no longer work with the update?

If this is fixed via a plugin, please direct me to which one, or what I've missed in the code. 

Thank you.
Reply
#2
Not Solved
(2018-10-15, 06:55 PM)Meow Purrdock Wrote: <img src="{$mybb->user['avatarcdn']}">

The reason it is not working is because avatarcnd was specific to icyboards. Instead just use:
<img src="{$mybb->user['avatar']}" />
> SELECT finger FROM hand WHERE id='3'
Reply
#3
Not Solved
(2018-10-15, 10:11 PM)isoldehn Wrote:
(2018-10-15, 06:55 PM)Meow Purrdock Wrote: <img src="{$mybb->user['avatarcdn']}">

The reason it is not working is because avatarcnd was specific to icyboards. Instead just use:
<img src="{$mybb->user['avatar']}" />

Oh I guessed it was something small I just overlooked. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)