Customizing SMF > SMF Coding Discussion
Re-ordering Post Profile
(1/1)
mad_man:
I was assuming it would be in the themes folder in the file called
--- Code: ---display.template.php.
--- End code ---
I have tried re-ordering the code and I think I am missing something.
I have removed the group name in there as I have images for admins, global mods, clan leader, banned and Bots.
But I now want to put those images above the title for posts.
Edit
using smf version 2.0.2
mad_man:
I was in the right section... 20 lines or so too high
--- 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="stars">', $message['member']['group_stars'], '</li>';
echo '
<li class="poststars">', $message['member']['post_group'], '</li>';
--- End code ---
I changed it to this
--- Code: --- <li class="stars">', $message['member']['group_stars'], '</li>';
echo '
<li class="poststars">', $message['member']['post_group'], '</li>';
--- End code ---
That was the code which i swapped around.
Navigation
[0] Message Index
Go to full version