Olá,
Adicione á teu CSS:
- Código:
#prefixs {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background-color: #7ba60d;
background-image: url(http://i.imgur.com/EHGpChd.png);
background-position: 0 -1px;
background-repeat: repeat-x;
border-radius: 3px;
color: #fff;
cursor: default;
font-size: 9px;
font-weight: 700;
height: 16px;
line-height: 16px;
padding: 3px 5px;
text-shadow: rgba(0,0,0,0.2) 0 -1px 0;
text-transform: uppercase;
margin-right: 5px;
}
Crie um js com investimento em todas as páginas:
- Código:
$(document).ready(function() {
$('a:contains("[PHPBB3]")').each(function() {
var htm = $(this).html();
$(this).html(htm.split('[PHPBB3]').join('<strong id="prefixs">PHPBB3</strong>'));
});
$('a:contains("[PHPBB2]")').each(function() {
var htm = $(this).html();
$(this).html(htm.split('[PHPBB2]').join('<strong id="prefixs">PHPBB2</strong>'));
});
$('a:contains("[PUNBB]")').each(function() {
var htm = $(this).html();
$(this).html(htm.split('[PUNBB]').join('<strong id="prefixs">PUNBB</strong>'));
});
$('a:contains("[INVISION]")').each(function() {
var htm = $(this).html();
$(this).html(htm.split('[INVISION]').join('<strong id="prefixs">INVISION</strong>'));
});
});
Para adicionar o prefixo, no título do tópico adicione [VERSÃO] por exemplo "[PUNBB] Tutorial blablabla" ou "[PHPBB3] tuts tuts quero ve".
Até mais.
Última edição por [F]lames em Seg 20 Jan 2014 - 18:22, editado 1 vez(es)