Cambiare sistema reputazione Wed Aug 10, 2011 1:38 pm
Pubblicato da: Spacca Spacca
Ciao!
PhpBB2 version e PunBB
Trovare:
Sostituirlo con:
PhpBB3 version e Invision
Trovare:
Cambiare con:
Poi aggiungere questo nel CSS:
PhpBB2 version e PunBB
Administration Panel <Visualizzazione Templates General viewtopic_body |
Trovare:
- Code:
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
Sostituirlo con:
- Code:
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar" style="display: none;">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button" style="display: none;"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"></a></div>
<!-- END switch_vote -->
DEMO:
Php:
PunBB
Php:
PunBB
PhpBB3 version e Invision
Administration Panel <Visualizzazione Colori Css |
- Code:
/ *-- Removal of negative voting button in messages --* /
.vote .vote-button, .vote-no-bar {
display:none;
}
.vote .vote-button:first-child {
display:block;
}
PhpBB3:
Invision:
Invision:
Administration Panel <Visualizzazione Templates General viewtopic_body |
Trovare:
- Code:
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
Cambiare con:
- Code:
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i22.servimg.com/u/f22/09/02/12/09/001_1810.png" title="Avis positif" alt="Avis positif" /></a></div>
<!-- END switch_vote -->
Poi aggiungere questo nel CSS:
Administration Panel <Visualizzazione Colori Css |
- Code:
.vote {
width: 24px; / *-- Width of the image chosen --* /
}
DEMO: