GoodApples
Customer
Okay thanks wasn't going to use it anyway
"Displays avatars online users on forumhome"
"Displays avatars online users on forumhome"
<ol id="wgo_onlineusers_list2" class="commalist">
Yes, In the What's going on block.Were they at the bottom of the forums in the What's going on block?
<li>{vb:stylevar dirmark} <vb:if condition="$loggedin[avatarurl]">
<img height="20" width="20" class="inlineimg" src="{vb:raw loggedin.avatarurl}" border="0" /></vb:if> <a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
<li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
<li>{vb:stylevar dirmark} <vb:if condition="$loggedin[avatarurl]">
<img height="20" width="20" class="inlineimg" src="{vb:raw loggedin.avatarurl}" border="0" /></vb:if> <a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
<?php
if (!class_exists('vB_Template'))
{
// Ensure we have this
require_once(DIR . '/dbtech/infopanels/includes/class_template.php');
}
cache_permissions($loggedin);
$word = 'member';
if ((bool)($loggedin['permissions']['genericoptions'] & $vbulletin->bf_ugp_genericoptions['showgroup']))
{
// This are a staf grup
$word = 'staff';
}
require_once('./includes/functions_user.php'); if($userid)
$loggedin[avatarurl] = fetch_avatar_url($loggedin[userid]);
if (!$loggedin[avatarurl]) {
$loggedin[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
}
else
{
$loggedin[avatarurl] = $vbulletin->options['bburl'] . '/' .
$loggedin[avatarurl][0];
}
if (fetch_online_status($loggedin))
{
$show['comma_leader'] = ($onlinegroups["$word"] != '');
$templater = vB_Template::create('forumhome_loggedinuser');
$templater->register('loggedin', $loggedin);
$onlinegroups["$word"] .= $templater->render();
}
require_once('./includes/functions_user.php'); if($userid)
$loggedin[avatarurl] = fetch_avatar_url($loggedin[userid]);
if (!$loggedin[avatarurl]) {
$loggedin[avatarurl] = $stylevar['imgdir_misc'] . 'images/misc/unknown.gif';
}
else
{
$loggedin[avatarurl] = $vbulletin->options['bburl'] . '/' .
$loggedin[avatarurl][0];
}
?>
We use essential cookies to make this site work, and optional cookies to enhance your experience.