News:

Wondering if this will always be free?  See why free is better.

Main Menu

Moving Group Title

Started by Surf3rDud3, January 03, 2012, 04:21:53 AM

Previous topic - Next topic

Surf3rDud3

Id like to move the group title to the bottom and get rid of the Post count if possible? Thx

SMF 2.0.2

Surf3rDud3


Antes

Open Display.template.php

Code (Find) Select
         // Show the member's primary group (like 'Administrator') if they have one.
         if (!empty($message['member']['group']))
         echo '
                        <li class="membergroup">', $message['member']['group'], '</li>';


Code (After) Select
         // Show how many posts they have made.
         if (!isset($context['disabled_fields']['posts']))
            echo '
                        <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';


How to get rid of Post Count

Code (Find) Select
         // Show how many posts they have made.
         if (!isset($context['disabled_fields']['posts']))
            echo '
                        <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';

Code (Change) Select
         /* Show how many posts they have made.
         if (!isset($context['disabled_fields']['posts']))
            echo '
                        <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>'; */

Surf3rDud3

I removed the Post thx for that but the First part of code does not help with moving the Group Title Image to the bottom.

Antes

may i get your display.template.php ?

Surf3rDud3

The first bit has two completely different lines...

Advertisement: