Posted March 26, 201212 yr Всем привет в мысль идея пришла помоигет пожалуйста как сделать вот мой профиль на форуме Можно как ни будь сделать вот так Это пример
March 26, 201212 yr Author да там <!--Репутация--> <img src="{style_images_url}/icon_reputation.png" height="16px" width="16px alt="" "> <if test="RepPositive:|:$author['pp_reputation_points'] > 0"> Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"} </if> <if test="RepNegative:|:$author['pp_reputation_points'] < 0"> Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"} </if> <if test="RepZero:|:$author['pp_reputation_points'] == 0"> Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"} </if> <!--Репутация-->
March 26, 201212 yr {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"} Это сама репутация! Придай ей класс, например repcount и разукрась в ipb_styles.css как тебе захочется)
March 26, 201212 yr <!--Репутация--> <img src="__ipbmafia.ru/public/style_images/mafia_board/icon_reputation.png" height="16px" width="16px alt="" "> <if test="RepPositive:|:$author['pp_reputation_points'] > 0"> Репутация: <span class="repPositive">{parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</span> </if> <if test="RepNegative:|:$author['pp_reputation_points'] < 0"> Репутация: <span class="repNegative">{parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</span> </if> <if test="RepZero:|:$author['pp_reputation_points'] == 0"> Репутация: <span class="repZero">{parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</span> </if> <!--Репутация--> Этот код замени на тот, что ты мне дал, а вот этот код добавь в самый низ ipb_styles.css: .repNegative, .repPositive, .repZero { font-weight: bold; padding: 2px 8px; display: inline-block; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color:#363636 !important; text-shadow:#c2c2c2 0px 1px 0px !important; font-size: 12px;} [/code]
March 26, 201212 yr Поиграйся маленько со свойствами, например я не добавил бекграунд, добавь: background: #979797;
March 26, 201212 yr Author как сделать как у вас? все равно не получилось а все сделал кеш обновить забыл