Páginas (2): 1 2   
WaLeon_mybb_import9186   12 Dec, 2011, 11:34 pm
#1

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.
Ryuuseiken   12 Dec, 2011, 11:46 pm
#2
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:

Pero creo que poniendolos en:

funcionaría...
Saludos! Smile

WaLeon_mybb_import9186   12 Dec, 2011, 11:49 pm
#3
(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:

Pero creo que poniendolos en:

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.
Ryuuseiken   12 Dec, 2011, 11:53 pm
#4
Es donde te guste más xd.
Te recomiendo dentro del <table="....
WaLeon_mybb_import9186   12 Dec, 2011, 11:59 pm
#5
nooo puedoo me siento frustrado... Sad me ayudan?
gracias Smile
Ryuuseiken   13 Dec, 2011, 12:00 am
#6
Deja tu plantilla showthread y te lo acomodo lo mejor posible Smile
WaLeon_mybb_import9186   13 Dec, 2011, 12:05 am
#7
[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.
Ryuuseiken   13 Dec, 2011, 12:19 am
#8
Bueno lo quería en etiquetas php xD, lo estube ordenando un rato pero ya esta xD.

<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
WaLeon_mybb_import9186   13 Dec, 2011, 12:24 am
#9
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.
WaLeon_mybb_import9186   13 Dec, 2011, 12:25 pm
#10
yaa tema resueltooo!
no habia revisado y si se publica en fb cuando le doy me gustaaa!

gracias por la ayuda Smile muy eficiente!
Páginas (2): 1 2   
  
Powered By MyBB, © 2002-2025 MyBB Group.
Made with by Curves UI.