Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: coucnilhomeswap - helmikuu 08, 2009, 02:02:41 IP

Otsikko: Profile template parse error
Kirjoitti: coucnilhomeswap - helmikuu 08, 2009, 02:02:41 IP
can someone fix the error some were in this line of code please and post it back here

            <h4>', $context['member']['name'], ' <span class="position">', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group'], $context['member']['group_stars']), '</span></h4>
Otsikko: Re: Profile template parse error
Kirjoitti: aldo - helmikuu 08, 2009, 02:12:47 IP
See if this does it:

<h4>', $context['member']['name'], ' <span class="position">', (!empty($context['member']['group']) ? $context['member']['group'] : $context['member']['post_group']), $context['member']['group_stars'], '</span></h4>
Otsikko: Re: Profile template parse error
Kirjoitti: coucnilhomeswap - helmikuu 08, 2009, 02:19:45 IP
cheers mate. i was trying to create my own mod and you helped me to fix it. it only add a tiny bit of code so people can see the member stars or banners. if i make it a proper mod you will recieve credit in the desription to. again cheers mate