I replace in MembersRep.php from Line 81-121 to make this addon work with all roster languages:
- Code: Select all
if ($row['standing'] == $wordings[$roster_conf['roster_lang']]['exalted'])
{
$colorstyle = 'style=\'color : #007662;\'';
$imgbar = 'addons/reputation/img/barbit_b.gif';
}
else if ($row['standing'] == $wordings[$roster_conf['roster_lang']]['revered'])
{
$colorstyle = 'style=\'color : #227501;\'';
$imgbar = 'addons/reputation/img/barbit_g.gif';
}
else if($row['standing'] == $wordings[$roster_conf['roster_lang']]['honored'])
{
$colorstyle = 'style=\'color : #547301;\'';
$imgbar = 'addons/reputation/img/barbit_h.gif';
}
else if($row['standing'] == $wordings[$roster_conf['roster_lang']]['friendly'])
{
$colorstyle = 'style=\'color : #787701;\'';
$imgbar = 'addons/reputation/img/barbit_f.gif';
}
else if ($row['standing'] == $wordings[$roster_conf['roster_lang']]['neutral'])
{
$colorstyle = 'style=\'color : #A48618;\'';
$imgbar = 'addons/reputation/img/barbit_y.gif';
}
else if ($row['standing'] == $wordings[$roster_conf['roster_lang']]['unfriendly'])
{
$colorstyle = 'style=\'color : orange;\'';
$imgbar = 'addons/reputation/img/barbit_o.gif';
}
else if ($row['standing'] == $wordings[$roster_conf['roster_lang']]['hostile'])
{
$colorstyle = 'style=\'color : #974414;\'';
$img = 'addons/reputation/img/barbit_host.gif';
}
else if ($row['standing'] == $wordings[$roster_conf['roster_lang']]['hated'])
{
$colorstyle = 'style=\'color : #FF3333;\'';
$img = 'addons/reputation/img/barbit_r.gif';
}
The gifs used by this code missed in the zipfile
Download Page
Link to my roster: Link
greetings
daddelkopp