I need this hack:
Advanced Userbars Management System v2.0:
http://www.vbulletin.org/forum/showthread.php?t=171621
Thanks.
Advanced Userbars Management System v2.0:
http://www.vbulletin.org/forum/showthread.php?t=171621
Thanks.
case 'smilie':
$itemtype = 'smilie';
$itemtypeplural = 'smilies';
$catid = 3;
break;
case 'userbar':
$itemtype = 'userbar';
$itemtypeplural = 'userbars';
$catid = 4;
break;
$tables = array('avatar' => $vbphrase['avatar'], 'icon' => $vbphrase['post_icon'], 'smilie' => $vbphrase['smilie']);
$tables = array('avatar' => $vbphrase['avatar'], 'icon' => $vbphrase['post_icon'], 'smilie' => $vbphrase['smilie'], 'userbar' => $vbphrase['userbar']);
'avatarid' => TYPE_INT,
'iconid' => TYPE_INT,
'smilieid' => TYPE_INT,
'userbarid' => TYPE_INT,
if ($vbulletin->GPC['avatarid'])
{
$id = $vbulletin->GPC['avatarid'];
}
else if ($vbulletin->GPC['iconid'])
{
$id = $vbulletin->GPC['iconid'];
}
else if ($vbulletin->GPC['smilieid'])
{
$id = $vbulletin->GPC['smilieid'];
}
else if ($vbulletin->GPC['userbarid'])
{
$id = $vbulletin->GPC['userbarid'];
}
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
<if condition="$vbulletin->options[enable_advanced_userbars_system]">
<if condition="$userinfo[userbar]">
<div id="userbar"><b>$userbar[title]</b></div>
<div id="userbar"><img src="$userbar[userbarpath]" border="0"></div>
<br />
</if>
</if>
<tr><td class="thead">$vbphrase[networking]</td></tr>
<if condition="$vbulletin->options['advanced_userbars_system_usercp_link']">
<tr><td class="$navclass[userbar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=selectuserbar">$vbphrase[select_userbar_picture]</a></td></tr>
</if>
$template_hook[postbit_signature_end]
<if condition="$vbulletin->options[enable_advanced_userbars_system]">
<br />
<if condition="$post[userbar]">
<fieldset><legend>$post[username]-s Userbar:</legend><table><tr><td>
<b>$userbar[title]</b>
<img src="$userbar[userbarpath]" border="0">
</td></tr>
</table></fieldset>
</if>
<br />
</if>