[Error]  ayuda- boton me gusta facebook
* URL del foro: http://paratodos.ih1.com.ar * Versión del foro: 1.6.5 * Actualización: no hola de nuevo amigos siii ya se que ya existe el tema. ...


hola de nuevo amigos
siii ya se que ya existe el tema. lo que pasa que soy nuevo y no entiendo los temas que ya existen. como leyeron en el titulo, necesito el codigo del boton de me gusta de facebook y twitter... donde colocarlos y como activarlos.

desde ya les agradezco su ayuda.

muchas gracias!!!
les deje el adjunto para que puedan ver el area donde quisiera que quedaran los botones en el cuadro rojoo

gracias amigos!
Última modificación: 12 Dec, 2011, 11:40 pm por bolotovb2022.
A mí me funcionan bien estos:

[fieldset=Facebook]<iframe src="http://www.facebook.com/plugins/like.php?href={$mybb->settings['bburl']}/showthread.php?tid={$tid}&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action={$rofl1}&amp;colorscheme=light&amp;height=20px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:20px;" allowTransparency="true"></iframe>[/fieldset]

[fieldset=Twitter]<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="es">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> [/fieldset]

Los uso en:
  • Estilos y plantillas [Imagen: nav_sep.gif] Plantillas [Imagen: nav_sep.gif] Mostrar tema [Imagen: nav_sep.gif] Showthread.

Pero creo que poniendolos en:
  • Estilos y plantillas [Imagen: nav_sep.gif] Plantillas [Imagen: nav_sep.gif] Caja del mensaje [Imagen: nav_sep.gif] Postbit_classic (que es donde lo quieres poner).

funcionaría...
Saludos! Smile

(12 Dec, 2011, 11:46 pm)Ryuuseiken escribió: A mí me funcionan bien estos:

[fieldset=Facebook]<iframe src="http://www.facebook.com/plugins/like.php?href={$mybb->settings['bburl']}/showthread.php?tid={$tid}&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action={$rofl1}&amp;colorscheme=light&amp;height=20px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:20px;" allowTransparency="true"></iframe>[/fieldset]

[fieldset=Twitter]<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="es">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> [/fieldset]

Los uso en:
  • Estilos y plantillas [Imagen: nav_sep.gif] Plantillas [Imagen: nav_sep.gif] Mostrar tema [Imagen: nav_sep.gif] Showthread.

Pero creo que poniendolos en:
  • Estilos y plantillas [Imagen: nav_sep.gif] Plantillas [Imagen: nav_sep.gif] Caja del mensaje [Imagen: nav_sep.gif] Postbit_classic (que es donde lo quieres poner).

funcionaría...
Saludos! Smile

intentare dame unos minutos y te cuento!
gracias

mmmmm no se donde colocarlooo! jajaja ya estoy en showthread.... y ahora? al final del codigo que aparece ahi?
Última modificación: 12 Dec, 2011, 11:52 pm por bolotovb2022.
Es donde te guste más xd.
Te recomiendo dentro del <table="....
Deja tu plantilla showthread y te lo acomodo lo mejor posible Smile
[fieldset=Fieldset]<html> <head> <title>{$thread['subject']}</title> {$headerinclude} <script type="text/javascript"> <!-- var quickdelete_confirm = "{$lang->quickdelete_confirm}"; // --> </script> <script type="text/javascript" src="jscripts/thread.js?ver=1603"></script> </head> <body> {$header} {$pollbox} <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;"> <tr> <td class="thead" align="center"><strong>{$thread['threadprefix']}{$thread['subject']}</strong></td> </tr> <tr> <td class="tcat smalltext"> <div style="float: right;"> <span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span> </div> <div> {$usersbrowsing} </div> </td> </tr> <tr> <td class="trow1"> {$ratethread} <div style="padding: 5px 0px;"> <a href="printthread.php?tid={$tid}" class="printable smalltext">{$lang->view_printable}</a> <a href="sendthread.php?tid={$tid}" class="sendthread smalltext">{$lang->send_thread}</a> <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}" class="subscription_{$add_remove_subscription} smalltext">{$add_remove_subscription_text}</a> </div> </td> </tr> <tr> <td class="trow2"> <div style="float: right; margin: 4px 0px;"> {$newreply} </div> <div> {$multipage} </div> </td> </tr> <tr> <td class="tfoot"> </td> </tr> </table> <br /> <div id="posts" style="margin: 0px 15px;"> {$posts} </div> <br /> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> <td colspan="2" class="thead"> {$search_thread} <div style="margin-top: 2px;"> <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong> </div> </td> </tr> <tr> <td class="trow1"> <div style="float: right; margin: 4px 0px;"> {$newreply} </div> <div> {$multipage} </div> </td> </tr> <tr> <td class="tfoot"> </td> </tr> </table> {$quickreply} {$threadexbox} {$similarthreads} <br /> <div class="float_right" style="text-align: right;"> {$moderationoptions} {$forumjump} </div> <br style="clear: both;" /> {$footer} </body> </html>[/fieldset]
no se si era asi Sad
asi lo querias o noooo?
Última modificación: 13 Dec, 2011, 12:05 am por bolotovb2022.
Bueno lo quería en etiquetas php xD, lo estube ordenando un rato pero ya esta xD.

Código PHP:
<html
<
head
<
title>{$thread['subject']}</title>
{
$headerinclude}
 <
script type="text/javascript"
<!-- var 
quickdelete_confirm "{$lang->quickdelete_confirm}"// --> </script>
 
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
 </
head>
 <
body>
 {
$header}
 {
$pollbox}
 <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both;">
 <
tr
<
td class="thead" align="center">
<
strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</
td
</
tr>
 <
tr>
 <
td class="tcat smalltext">
 <
div style="float: right;"> <span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span> </div>
 <
div> {$usersbrowsing} </div
</
td>
 </
tr
<
tr
<
td class="trow1"> {$ratethread} <div style="padding: 5px 0px;"> <a href="printthread.php?tid={$tid}class="printable smalltext">{$lang->view_printable}</a> <a href="sendthread.php?tid={$tid}class="sendthread smalltext">{$lang->send_thread}</a> <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}class="subscription_{$add_remove_subscription} smalltext">{$add_remove_subscription_text}</a> </div> </td> </tr> <tr> <td class="trow2"> <iframe src="http://www.facebook.com/plugins/like.php?href={$mybb->settings['bburl']}/showthread.php?tid={$tid}&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action={$rofl1}&amp;colorscheme=light&amp;height=20px" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:20px;" allowTransparency="true"></iframe> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="es">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><div style="float: right; margin: 4px 0px;"> {$newreply} </div> <div> {$multipage} </div> </td> </tr> <tr> <td class="tfoot"> </td> </tr> </table> <br /> 

<
div id="posts" style="margin: 0px 15px;">
 {
$posts
</
div>
 <
br /> 

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder"> <tr> <td colspan="2" class="thead"> {$search_thread} <div style="margin-top: 2px;"> <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong> </div> </td> </tr
<
tr
<
td class="trow1"> <div style="float: right; margin: 4px 0px;"> {$newreply} </div> <div> {$multipage} </div> </td
</
tr
<
tr> <td class="tfoot"> </td> </tr
</
table
{
$quickreply
{
$threadexbox
{
$similarthreads
<
br /> 
<
div class="float_right" style="text-align: right;"
{
$moderationoptions
{
$forumjump
</
div
<
br style="clear: both;" /> 
{
$footer
</
body
</
html

Una captura de como quedaría:

[Imagen: captura-132644.png]

No se si es como lo querías, pero según mi criterio queda bien ahí.
Saludos! Big Grin
si se ve lindo... gracias! ya lo active!
oye y si quiero un boton para publicar en fb??
cual seria el codigo???
(13 Dec, 2011, 12:00 am)Ryuuseiken escribió: Deja tu plantilla showthread y te lo acomodo lo mejor posible Smile

me ayudas con la opcion de publicar en facebook??
gracias de antemano Wink
Última modificación: 13 Dec, 2011, 12:38 am por bolotovb2022.
yaa tema resueltooo!
no habia revisado y si se publica en fb cuando le doy me gustaaa!

gracias por la ayuda Smile muy eficiente!