- Código:
jQuery(document).ready(function(){jQuery('.buttons').after('<p><iframe src="http://www.facebook.com/plugins/like.php?locale=pt_BR&href=http://www.shift.forumactif.com;send=false&layout=box_count&width=60&show_faces=false&action=like&colorscheme=light&font&height=60" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:60px; height:60px;" allowtransparency="true"></iframe><iframe src="http://platform0.twitter.com/widgets/tweet_button.html?_=1311006182541&count=vertical&id=twitter_tweet_button_0&lang=en&original_referer=http://www.shift.forumactif.com;text=Shiftactif;url=http://www.shift.forumactif.com" allowtransparency="true" frameborder="0" scrolling="no" class="twitter-share-button twitter-count-vertical" style="width: 55px; height: 62px; " title="Twitter For Websites: Tweet Button"></iframe><g:plusone size="tall"></g:plusone><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script></p>')});
Verde: Classe ao qual o botão vai aparecer. Ou seja, determinando a classe, o botão share do Twitter vai aparecer onde tem uma classe .buttons.
Como observamos no termo em verde, você estará atribuíndo o botão diretamente a classe "Buttons", se desejar colocar nos tópicos, você precisa colocar p.author e na página JS, marque em Investimento a opção Nos tópicos (Nos temas) e confirme a mudança.
Vermelho: Deverá colocar o link de seu fórum, incluindo http:// e www.
Painel de controle Visualização Templates Geral viewtopic_body
Encontre este código
- Código:
<div class="post-options">
{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
Altere por este
- Código:
<div class="post-options">
{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}
<br /><iframe src="http://www.facebook.com/plugins/like.php?locale=pt_BR&href=ENDEREÇO_DO_FORUM;send=false&layout=box_count&width=60&show_faces=false&action=like&colorscheme=light&font&height=60" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:60px; height:60px;" allowtransparency="true"></iframe><iframe src="http://platform0.twitter.com/widgets/tweet_button.html?_=1311006182541&count=vertical&id=twitter_tweet_button_0&lang=en&original_referer=ENDEREÇO_DO_FORUM;text=NOME_DO_FORUM;url=ENDEREÇO_DO_FORUM" allowtransparency="true" frameborder="0" scrolling="no" class="twitter-share-button twitter-count-vertical" style="width: 55px; height: 62px; " title="Twitter For Websites: Tweet Button"></iframe><g:plusone size="tall"></g:plusone><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script></br>
Vermelho: Deverá colocar o link de seu fórum, incluindo http:// e www.https://2img.net/r/ihimizer/img201/3937/86219223.png
Verde: Deverá colocar o nome de seu fórum.
Painel de controle Visualização Templates Geral viewtopic_body
Encontre este código
- Código:
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle">
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
</td>
</tr>
</table>
Altere por este
- Código:
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="middle">
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}<br /><iframe src="http://www.facebook.com/plugins/like.php?locale=pt_BR&href=ENDEREÇO_DO_FORUM;send=false&layout=box_count&width=60&show_faces=false&action=like&colorscheme=light&font&height=60" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:60px; height:60px;" allowtransparency="true"></iframe><iframe src="http://platform0.twitter.com/widgets/tweet_button.html?_=1311006182541&count=vertical&id=twitter_tweet_button_0&lang=en&original_referer=ENDEREÇO_DO_FORUM;text=NOME_DO_FORUM;url=ENDEREÇO_DO_FORUM" allowtransparency="true" frameborder="0" scrolling="no" class="twitter-share-button twitter-count-vertical" style="width: 55px; height: 62px; " title="Twitter For Websites: Tweet Button"></iframe><g:plusone size="tall"></g:plusone><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script></br>
</td>
</tr>
</table>
Substitua ENDEREÇO_DO_FORUM Pelo URL do seu forum, Incluindo http:// e www.
Desenvolvido por Sasuky! | © Fórum dos Fóruns
Editado e Postado por 2012 © Staffer Group BR™
Editado e Postado por 2012 © Staffer Group BR™