Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: clopex on January 18, 2011, 05:46:23 AM

Title: How i can change this on picture?
Post by: clopex on January 18, 2011, 05:46:23 AM
Hello, i need to change this on picture. As u can see i have bellow username names of Membergroups and last is my image PUBLIC ADMIN, how can i change to on first place be this image and bellow image names of Membergroups??

Title: Re: How i can change this on picture?
Post by: Looking on January 18, 2011, 12:09:31 PM
Off the top of my head you would look in the display.template for that and look for the associated code.
Title: Re: How i can change this on picture?
Post by: clopex on January 18, 2011, 12:49:16 PM
can u explain more? i fined only one line of code in display.template but i can not change anything there
Title: Re: How i can change this on picture?
Post by: IchBin™ on January 18, 2011, 04:50:37 PM
(http://www.katzy.dsl.pipex.com/SMF/SmartCat.jpg)
Title: Re: How i can change this on picture?
Post by: clopex on January 19, 2011, 05:41:40 AM
hehe latest version, 2.0 RC4
Title: Re: How i can change this on picture?
Post by: IchBin™ on January 19, 2011, 02:08:18 PM
In Display.template.php file find this code:
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';


Move that code right before these lines:
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
Title: Re: How i can change this on picture?
Post by: clopex on January 23, 2011, 06:37:38 AM
thanks it works ;)