Remove the posts count / postgroup from an user details
This commit is contained in:
parent
2ab0bfc793
commit
2a7b7bfe96
2 changed files with 0 additions and 27 deletions
|
@ -539,19 +539,6 @@ function template_single_post($message)
|
||||||
echo '
|
echo '
|
||||||
<li class="membergroup">', $message['member']['group'], '</li>';
|
<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.
|
// Show the user's avatar.
|
||||||
if (!empty($modSettings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
|
if (!empty($modSettings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
|
||||||
echo '
|
echo '
|
||||||
|
|
|
@ -354,20 +354,6 @@ function template_single_pm($message)
|
||||||
// Don't show these things for guests.
|
// Don't show these things for guests.
|
||||||
if (!$message['member']['is_guest'])
|
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?
|
// Show their personal text?
|
||||||
if (!empty($modSettings['show_blurb']) && $message['member']['blurb'] != '')
|
if (!empty($modSettings['show_blurb']) && $message['member']['blurb'] != '')
|
||||||
echo '
|
echo '
|
||||||
|
|
Loading…
Reference in a new issue