Remove the posts count / postgroup from an user details

This commit is contained in:
Antoine Le Gonidec 2024-07-25 14:07:40 +02:00
parent 2ab0bfc793
commit 2a7b7bfe96
Signed by: vv221
GPG key ID: 636B78F91CEB80D8
2 changed files with 0 additions and 27 deletions

View file

@ -539,19 +539,6 @@ function template_single_post($message)
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
// Show the post group icons
//echo '<li class="icons">', $message['member']['group_icons'], '</li>';
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($modSettings['hide_post_group']) || empty($message['member']['group'])) && !empty($message['member']['post_group']))
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
// Show how many posts they have made.
//if (!isset($context['disabled_fields']['posts']))
// echo '
// <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';
// Show the user's avatar.
if (!empty($modSettings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '

View file

@ -354,20 +354,6 @@ function template_single_pm($message)
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show the post group icons
echo '
<li class="icons">', $message['member']['group_icons'], '</li>';
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($modSettings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';
// Show their personal text?
if (!empty($modSettings['show_blurb']) && $message['member']['blurb'] != '')
echo '