TheProphet
New Member
Ok the aria avatar is being called by the aria product on the forumhome true the navbar template.
product-aria.xml
Witch called in this piece the template. ("$aria[0]")
Aria navbar template:
How can we make the code worked on the vbadvanced aswell from the product?
Changing the hook location doesnt work either.
Anyone who can provide a working code on this?
Thx
product-aria.xml
PHP:
<hookname>forumhome_start</hookname>
<phpcode><![CDATA[if ($vbulletin->userinfo['userid']){
require_once('./includes/functions_user.php');
$aria = fetch_avatar_url($vbulletin->userinfo['userid']);
if (!is_array($aria)){
$aria[0] = $vbulletin->options['bburl'] . "/images/aria/misc/noavatar.gif";
}
}]]></phpcode>
Witch called in this piece the template. ("$aria[0]")
Aria navbar template:
PHP:
<div align="center"><a href="profile.php?do=editavatar"><img src="$aria[0]" alt="" border="0" /></a></div></td><td width="100%" class="alt1">
How can we make the code worked on the vbadvanced aswell from the product?
Changing the hook location doesnt work either.
Anyone who can provide a working code on this?
Thx