Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2225)
This very simple mod colors the users group name in posts:
Before:
(http://i38.tinypic.com/2vtvfhz.png)
After:
(http://i38.tinypic.com/331kkjq.png)
http://www.foszor.com
Hi i cannot seem to find the edit manually and when try using packages its saying failed for display.template.php
Ive attachted my display.template below and i hope you can edit this for me and add the code where needed.
thanks,
Paul
Color Group Name In Post - Installation Instructions for 2.0 RC1-1
File Edits
./Themes/default/Display.template.php
Find:
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
<li>', $message['member']['group'], '</li>';
Replace with:
if (isset($message['member']['group']) && $message['member']['group'] != '')
{
if (isset($message['member']['group_color']))
{
echo '
<li style="color: ',$message['member']['group_color'], '; font-weight: bold;">', $message['member']['group'], '</li>';
}
else if (isset($message['member']['post_group_color']))
{
echo '
<li style="color: ',$message['member']['post_group_color'], '; font-weight: bold;">', $message['member']['group'], '</li>';
}
else
{
echo '
<li>', $message['member']['group'], '</li>';
}
}