Quote:
Originally Posted by Saviour
I have vMoods for 3.7 along with this mod, but the mood dropdown isn''t working in the navbar area of pages I've created using this mod.
Can someone assist?
Much appreciated...
|
Open view.php, find this line:
PHP Code:
//construct_forum_jump();
After that add:
PHP Code:
if ($vbulletin->options['vmoods_active'] && $vbulletin->userinfo['userid'] > 0 && !in_array($vbulletin->userinfo['usergroupid'], explode(",", $vbulletin->options['vmoods_usergroups'])))
{
$vmoods_list = explode("\n", $vbulletin->options['vmoods_list']);
$vmoods_path = $vbulletin->options['vmoods_images_path'];
foreach ($vmoods_list as $vmood)
{
$vmood = trim($vmood);
$vmood_id = ($vbulletin->userinfo['vmood'] == $vmood) ? 'mine' : $vmood;
if ($vbulletin->options['vmoods_li_option'] == 'text'){
eval('$vmoods_li .= "' . fetch_template('vmoods_li_text') . '";');
} else
if ($vbulletin->options['vmoods_li_option'] == 'images'){
eval('$vmoods_li .= "' . fetch_template('vmoods_li') . '";');
}
}
eval('$vmoods_form = "' . fetch_template('vmoods_form') . '";');
$footer = $vmoods_form . $footer;
}