SMF Support > SMF 2.0.x Support
Switching post count and reg group postition
Arantor:
Hmm, you're really not supposed to do that :/ It can cause all kinds of problems if you ever have to edit it later, since most of the time the field truncates the HTML and you're not then able to edit it afterwards (or indeed, anything else)
But since you have done it that way, you can just edit Display.template.php:
--- Code: --- // 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($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
--- End code ---
replace with
--- Code: --- // 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.
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
--- End code ---
nebby:
What folder is it in?
Packages
smileys
souces
... so on?
Arantor:
Well... if your custom theme has its own Display.template.php, it'll be in Themes/yourtheme/ but if not, look in Themes/default/
nebby:
it the display.template.php i could not find
// 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($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
Arantor:
Can you attach your theme's custom Display.template.php please?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version