1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem showing avatar on forumbits

Discussion in 'Styling and Customization Questions' started by Miner, Jan 22, 2013.

  1. Miner

    Miner Well-Known Member

    We are working on a new theme Metro and facing one problem in displaying the avatar on forum home for last post, if member have custom avatar it is displaying but the no avatar default image is not showing up when a member not specified a custom avatar.

    Screenshot http://minerskinz.com/update/metroxen/metro_home.jpg

    This is one issue which is stopping us the style release:( any help please...
  2. MattW

    MattW Well-Known Member

    Miner likes this.
  3. Miner

    Miner Well-Known Member

    Thanks Mattw,
    I am requiring this for my commercial theme so i am not able to use plugins made from other authors, it seems no ways to implement this with template edits, we need to create our own plugin :eek:
  4. ManOnDaMoon

    ManOnDaMoon Well-Known Member

    What are you using in order to fetch the avatar?

    I'm using
    {xen:helper avatar, {$user}, s}
    on my site. If I remember clearly, I was forced to use XenForo_Model_User::getFullUserById() in order to get it working.

    EDIT : You can also use
    <xen:avatar user="$user" size="s" img="true" />
    Tell me which one is failing.
  5. Miner

    Miner Well-Known Member

    I am not the the tech guy designing is my skill :) my partner who is the tech guy created a custom plugin and its working fine in our theme.

    Thanks for the tip and help.(y)

Share This Page