in file "forum/dbtech/vbnominate/hooks/forumhome_complete.php"
find:
Code:
if ($vbulletin->options['dbtech_vbnomnom_fh_enabled'])
replace:
Code:
if ($vbulletin->options['dbtech_vbnomnom_fh_enabled'] AND $vbulletin->userinfo['usergroupid'] != '1')
if you want to change location on forumhome in file "forum/dbtech/vbnominate/hooks/forumhome_complete.php"
at the bottom find:
Code:
// Ensure we're always first in line
$ad_location['ad_navbar_below'] = $ad_location['ad_navbar_below'] . $vbnomnom_info_panel;
}
else
{
// Ensure we're always first in line
$ad_location['global_below_navbar'] = $ad_location['global_below_navbar'] . $vbnomnom_info_panel;
}
I used one of template hooks... you can use own or create one or add new template location:
Code:
// Ensure we're always first in line
$template_hook['forumhome_below_navbar'] = $template_hook['forumhome_below_navbar'] . $vbnomnom_info_panel;
}
else
{
// Ensure we're always first in line
$template_hook['forumhome_below_navbar'] = $template_hook['forumhome_below_navbar'] . $vbnomnom_info_panel;
Well, I want to disable nomination for guests posts as there no use as I can't reward winning guests.. Some are deleted users and may have been nominated before deletion, so at result when poll created there is NO username!
I think this is need to be done here: "forum/dbtech/vbnominate/hooks/showthread_query.php" but I have not enough skills to do it myself