Avatar template syntax?

  • Thread starter Thread starter grantus
  • Start date Start date

grantus

Guest
Member
What would be the proper avatar code to display in a template within my loop?

I've tried <xf:avatar user="{$value.user_id}" size="s" defaultname="{$value.username}" /> within my own foreach loop, yet it doesn't return a user_id.

I've also tried

Code:

<img src="{{ link('data/avatars/m/') }}{{ number(floor({$value.user_id})/1000) }}/{$value.user_id}.jpg" alt="{$value.username}" />

and it works, however the issue is the number(floor part. It seems to round up over 5.

For...

Read more


free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top