Thank you very much, Antechinus!
So - for example - it would be possible to hide the link to the personal stats for users, but still show it to admins?
First it seems to be very simple, but it is too difficult for me.
This change could be done somewhere here? Please, can you show me how?
// Some links to this users fine work
echo '
<dt>', $txt['profile_activity'], ': </dt>
<dd>
<a href="', $scripturl, '?action=profile;area=showposts;u=', $context['id_member'], '">', $txt['showPosts'], '</a>
<br />';
if ($context['user']['is_owner'] && !empty($modSettings['drafts_enabled']))
echo '
<a href="', $scripturl, '?action=profile;area=showdrafts;u=', $context['id_member'], '">', $txt['drafts_show'], '</a>
<br />';
echo '
<a href="', $scripturl, '?action=profile;area=statistics;u=', $context['id_member'], '">', $txt['statPanel'], '</a>
</dd>';