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

Overlay on avatar click question

R

ragtek

Guest
#2
There's a helper which can/should be used
<xen:avatar user="$user" size="s" img="true" />
 
R

ragtek

Guest
#4
Then it should be something like

<a{$href} class=\"avatar Av{$user[user_id]}{$size}{$class}\"{$attribs} data-avatarHtml=\"true\">{$image}{$content}</a>

BUT you'll need to include the xenforo.js too (and also initialize it)
 

DarkVodka

Formerly Wuebit
#5
Then it should be something like

<a{$href} class=\"avatar Av{$user[user_id]}{$size}{$class}\"{$attribs} data-avatarHtml=\"true\">{$image}{$content}</a>

BUT you'll need to include the xenforo.js too (and also initialize it)
Thanks but I thought some html might of worked with me pulling most of the xenforo css and Js no worrys

Undefined variable: href