Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/plugins/avatarep.php on line 1102

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Como poner Boton Me Gusta?
psycho_cb   12 Jul, 2012, 11:03 am
#1
Hola buenas tardes mi duda es como poner Botón Me Gusta y Twittear?
Trate de seguir los pasos de este post: http://www.mybb-es.com/Hilo-a%C3%B1adir-...y-twittear
Pero solo se me ve el Boton Twittear y no el de Facebook, ya e probado muchas veces pero no aparece el de Face, como puedo solucionar eso?
Desde ya muchas gracias.
Dark_Soul   12 Jul, 2012, 12:44 pm
#2
si tienes abierto tu facebook pueda que no salga por lo tanto ciérralo
Edit : a mi me sale el Botón "como invitado"
psycho_cb   12 Jul, 2012, 12:56 pm
#3
Intente con el facebook cerrado, como tambien limpiando el registro pero resulto ser lo mismo me sigue apareciendo solo el icono de Twittear.

Asi esta editada mi plantilla showthread:
<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}
<div class="float_left">
{$multipage}

</div>
<div class="float_right">
{$newreply}
</div>
<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>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2">
<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>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
{$classic_header}
</table>
<div id="posts">
{$posts}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<tr>
<td colspan="2" class="tfoot">
{$search_thread}
<div>
<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>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="float_left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</ul>
</div>

<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$usersbrowsing}
{$footer}
</body>
</html>

Tambien e probado con esta:
<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}
<div class="float_left">
{$multipage}

</div>
<div class="float_right">
{$newreply}
</div>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://clantherippers.com.ar/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>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2">
<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>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
{$classic_header}
</table>
<div id="posts">
{$posts}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<tr>
<td colspan="2" class="tfoot">
{$search_thread}
<div>
<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>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="float_left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</ul>
</div>

<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$usersbrowsing}
{$footer}
</body>
</html>
Dark_Soul   12 Jul, 2012, 4:06 pm
#4
Intenta poner este....

Código PHP:
<?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}
<
div class="float_left">
{
$multipage}
</
div>

<
div class="float_right">
{
$newreply}
</
div>
<
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>

{
$ratethread}
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<
tr>
<
td class="thead" colspan="2">
<
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>
<
strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</
div>
</
td>
</
tr>
{
$classic_header}
</
table>
<
div id="posts">
{
$posts}
</
div>
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<
tr>
<
td colspan="2" class="tfoot">
{
$search_thread}
<
div>
<
strong><a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a></strong>
</
div>
</
td>
</
tr>
</
table>
<
div class="float_left">
{
$multipage}
</
div>
<
div style="padding-top: 4px;" class="float_right">
{
$newreply}
</
div>
<
br style="clear: both;" />
{
$quickreply}
{
$threadexbox}
{
$similarthreads}
<
br />
<
div class="float_left">
<
ul class="thread_tools">
<
li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<
li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<
li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</
ul>
</
div>

<
div class="float_right" style="text-align: right;">
{
$moderationoptions}
{
$forumjump}
</
div>
<
br style="clear: both;" />
{
$usersbrowsing}
{
$footer}
</
body>
</
html>

Tambien e probado con esta:
<
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}
<
div class="float_left">
{
$multipage}

</
div>
<
div class="float_right">
{
$newreply}
</
div>
<
iframe src="http://www.facebook.com/plugins/like.php?href=http://clantherippers.com.ar/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>
{
$ratethread}
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<
tr>
<
td class="thead" colspan="2">
<
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>
<
strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</
div>
</
td>
</
tr>
{
$classic_header}
</
table>
<
div id="posts">
{
$posts}
</
div>
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<
tr>
<
td colspan="2" class="tfoot">
{
$search_thread}
<
div>
<
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>
</
table>
<
div class="float_left">
{
$multipage}
</
div>
<
div style="padding-top: 4px;" class="float_right">
{
$newreply}
</
div>
<
br style="clear: both;" />
{
$quickreply}
{
$threadexbox}
{
$similarthreads}
<
br />
<
div class="float_left">
<
ul class="thread_tools">
<
li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<
li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<
li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</
ul>
</
div>

<
div class="float_right" style="text-align: right;">
{
$moderationoptions}
{
$forumjump}
</
div>
<
br style="clear: both;" />
{
$usersbrowsing}
{
$footer}
</
body>
</
html>
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.