Compartilhar Tópicos |
Créditos á Ace(FORUMEIROS), e á mim por adicionar e traduzir algumas coisas.
--> Tutoriais, dicas e astúcias <--
Compartilhar Tópicos
Compartilhar Tópicos
1º - Templates
Acesse Painel de Controle -> Visualização --> Templates -> Geral -> viewtopic_body
Adicione após
- Código:
<a href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC} »
- Código:
<div class="main">
<div class="avt_recent">
<div class="main-head clearfix">
<style type="text/css">
.avt-r {
float: left;
}
.avt-r img {
width: 36px;
height: 36px;
margin: 3px;
padding: 1px;
border: 1px solid #D5D5D5;
background: white;
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.avt-r img:hover {
border-color: #a1a1a1;
-webkit-box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
}</style>
<script type="text/javascript">
jQuery(document).on('ready', function() {
jQuery('.avt_recent').prepend('<div class="avt-r"><div>');
jQuery('.avt_recent .avt-r').each(function () {
var profileUserURL = jQuery(this).parent().children('.recent_space').children('a:last').attr('href');
jQuery(this).html('<a href="' + profileUserURL + '" class="avt-r-enlace"><img src="http://r14.imgfast.net/users/1417/27/86/76/avatars/1-19.png" alt="No Avatar" /></a>');
jQuery(this).children('a').load(profileUserURL + ' .module:eq(0) img:eq(0)')
});
});</script>
<p class="h2">Compartilhe este tópico!</p>
</div>
<div class="main-content frm comp">
<table border="0">
<tr>
<td><strong>URL direta</strong></td>
<td><input type="text" style="width:850px;" value="{FORUM_URL}{TOPIC_URL}" /></td>
</tr>
<tr>
<td><strong>BBcode</strong></td>
<td><input type="text" style="width:850px;" value="[url={FORUM_URL}{TOPIC_URL}] {TOPIC_TITLE} em nome-do-forum-sem-acentos[/url]" /></td>
</tr>
<tr>
<td><strong>HTML</strong></td>
<td><input type="text" style="width:850px;" value="<a href='{FORUM_URL}{TOPIC_URL}'> {TOPIC_TITLE} em nome-do-forum-sem-acentos</a>" /></td>
</tr>
</table>
</div>
</div>
</div>
2º - Resultado
© PunBB Community
Se tiver alguma dúvida relacionada com este tópico crie um tópico com o seguinte título: Compartilhar Tópicos |
Última edição por BαηgBαηg em Dom 30 Jun 2013, 9:09 am, editado 1 vez(es)