
Did try to add this code at ratefile template, cause than normal users can´t pushed the voting button but there is the same problem after i add the code in the template. The ratefile page don´t work.
this was the code for the ratingfile template
<{if $xoops_isuser}>
<{php}>
global $xoopsUser;
$redaktion = '4';
$name = $xoopsUser->getVar('uname');
$groups = $xoopsUser->getGroups();
if (in_array($redaktion, $groups))
{
echo '<{$xoops_url}>/modules/PDdownloads/singlefile.php?cid=<{$file.cid}>&lid=<{$file.id}>'" />n
n";
}
<{/php}>
<{/if}>