Опубліковано 17 листопада, 20159 р Адміністратор В шаблоне userInfoPane находим :<span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span> </p> </div> </li> </ul> </if>Ниже добавить:<!--REPUTATION BEGIN--> <if test="RepPositive:|:$author['pp_reputation_points'] > 0"> <div class='reputation positive' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div> </if> <if test="RepNegative:|:$author['pp_reputation_points'] < 0"> <div class='reputation negative' > <div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div> </if> <if test="RepZero:|:$author['pp_reputation_points'] == 0"> <div class='reputation zero' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div> </if><!--REPUTATION END-->Если вы хотите, чтобы данные уровни отображались, вместо предложенного выше кода добавьте следующий:<!--REPUTATION BEGIN--> <if test="RepPositive:|:$author['pp_reputation_points'] > 0"> <div class='reputation positive' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </if> <if test="RepNegative:|:$author['pp_reputation_points'] < 0"> <div class='reputation negative' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </if> <if test="RepZero:|:$author['pp_reputation_points'] == 0"> <div class='reputation zero' ><div style='font-size:1.1em'>Репутация: {parse exp[b][/b]ression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </if> <if test="RepText:|:$author['author_reputation'] && $author['author_reputation']['text']"> <span class='title'>{$author['author_reputation']['text']}</span> </if> <if test="RepImage:|:$author['author_reputation'] && $author['author_reputation']['image']"> <span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['m_reputation']}' /></span> </if></div><!--REPUTATION END-->
Для публікації повідомлень створіть обліковий запис або авторизуйтесь