solved it ...
I made two droplets one called "downloadcountstart" the other one called "downloadcountend"
global $database, $wb;
if ($wb->is_authenticated() ) {
return 'downloads: ';
}
else {
return '<!--';
}
global $database, $wb;
if ($wb->is_authenticated() ) {
return '|';
}
else {
return '-->';
}
after that I made a change to the loop in the downloadmodule settings-tab
I changed "downloads: [DL] |" to: "[[downloadcountstart]] [DL] [[downloadcountend]]"
this way it only is shown to a user that is logged in, for all regular visitors it is not shown