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
Problema con el perfil
Sergio033_mybb_import8143   27 Nov, 2010, 4:28 am
#1

-Información del problema:
he subido el archivo para poner en español el plugin profile comment cuando al meterme en el perfil desde invitado veo los comentarios a la derecha y no en la pestaña de comentarios, también la franja negra la quiero colocar bien porque se me a subido xD y desde usuario se me ve como en la 2º imagen, haber si podeis echarme una mano con estos problemas



[Imagen: sinttulo2ey.png]

Asi lo ven los invitados, y los usuarios lo ven de esta manera:

[Imagen: problemax.png]

Un saludo! Big Grin
Última modificación: 27 Nov, 2010, 5:39 am por Cluster.
nentab   27 Nov, 2010, 5:07 am
#2
Pega aquí tu plantilla del member_profile Wink

PD: Usa la etiqueta [code] ^^
Sergio033_mybb_import8143   27 Nov, 2010, 5:12 am
#3
Código PHP:
<?php 
<html>

<
head>

<
title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{
$headerinclude}
</
head>

<
body>

<
script type="text/javascript" src="{$theme['imgdir']}/tabcontent.js"></script>

{
$header}



<
table width="100%" cellspacing="20" cellpadding="0" border="0" align="left">
<
tr>
<
td width="85%" valign="top">



<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;">
<
tr>

<
tr><td colspan="5" class="thead"><center><strong></strong>Perfil</center></td></tr>
</
td>

<
td class="trow1" align="left" width="100%" style="-webkit-border-top-right-radius: 5px;-webkit-border-bottom-right-radius: 5px;-moz-border-radius-topright: 5px;-moz-border-radius-bottomright: 5px;border-top-right-radius: 5px;border-bottom-right-radius: 5px;">
<
span class="largetext">
<
strong>{$formattedname}</strong></span><br />
<
span class="smalltext"><strong>{$usertitle}</strong><br />{$groupimage}
<
strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<
strong>{$lang->postbit_status}</strong> {$online_status}</span>


</
td>
</
tr>
{
$awaybit}
</
table>

<
br />

<
div id="toolbar" class="usertabs">

<
div id="nav">
<
div id="toolbar" class="usertabs"><div id="nav"> <ul id="countrytabs"class="shadetabs ">
<
li><a href="#" rel="country1" class="selected"><b>Comentarios</b></a></li>
<
li><a href="#" rel="country2"><b>Sobre mi</b></a></li>
<
li><a href="#" rel="country3"><b>Estadisticas</b></a></li>
<
li><a href="#" rel="country4"><b>Contactar</b></a></li>
<
li><a href="#" rel="country5"><b>Amigos</b></a></li>


</
ul>
</
div>

</
div>


<
div style="border:1px solid gray; width:100%; margin-bottom: 1em; padding: 0px">
<
div id="country1" class="tabcontent">

</
div>



<
div id="country2" class="tabcontent">
{
$profilefields}
{
$signature}
</
div>




<
div id="country3" class="tabcontent">
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">



<
tr>
<
td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<
td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</
tr>

<
tr>
<
td class="trow1"><strong>{$lang->total_posts}</strong></td>
<
td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</
tr>

<
tr>
<
td class="trow2"><strong>{$lang->timeonline}</strong></td>
<
td class="trow2">{$timeonline}</td>
</
tr>




{
$reputation}
{
$warning_level}

</
table>
</
div>



<
div id="country4" class="tabcontent">
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="trow1"><strong>{$lang->homepage}</strong></td>
<
td class="trow1">{$website}</td>
</
tr>
{
$sendemail}
<
tr>
<
td class="trow2"><strong>{$lang->pm}</strong></td>
<
td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</
tr>

<
tr>
<
td class="trow1"><strong>{$lang->icq_number}</strong></td>
<
td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</
tr>

<
tr>
<
td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<
td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</
tr>

<
tr>
<
td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<
td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</
tr>

<
tr>
<
td class="trow2"><strong>{$lang->msn}</strong></td>
<
td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</
tr>

</
table>
</
div>



<
div id="country5" class="tabcontent">
{
$buddylist}
</
div>


<
div id="country6" class="tabcontent">
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
</
table>
</
div>

</
div>

<
script type="text/javascript">



var
countries=new ddtabcontent("countrytabs")

countries.setpersist(true)

countries.setselectedClassTarget("link") //"link" or "linkparent"

countries.init()



</
script>


</
td>
<
td><img src="images/night/pixel.gif" height="1" width="1" alt=""/></td>
<
td width="7%" valign="top">
<
table class="tborder" border="0" cellspacing="1" cellpadding="1">
<
tr><td colspan="5" class="thead"><center><strong>Mini Estadisticas</strong></center></td></tr>
<
td class="trow1">{$avatar}<br />

<
td class="trow1">&nbsp;<FONT SIZE=2><strong>Ingresó:</strong>&nbsp;{$memregdate}&nbsp;<strong><br />&nbsp;<FONT SIZE=2><strong>Mensajes:</strong>&nbsp;</strong>{$memprofile['postnum']}&nbsp;<br />
</
table>





</
div>
{
$modoptions}<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
{
$adminoptions}
{
$buddy_options}
<
br />




</
td>

</
tr>

</
table>

{
$footer}

</
body>

</
html>
nentab   27 Nov, 2010, 5:26 am
#4
Lo que voy a hacer es cambiar esto de sitio:
Código:
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->


Y aquí el código para que lo cambies por el que tienes tú:
Código:
<html>

<head>

<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>

<body>

<script type="text/javascript" src="{$theme['imgdir']}/tabcontent.js"></script>

{$header}



<table width="100%" cellspacing="20" cellpadding="0" border="0" align="left">
<tr>
<td width="85%" valign="top">



<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;">
<tr>

<tr><td colspan="5" class="thead"><center><strong></strong>Perfil</center></td></tr>
</td>

<td class="trow1" align="left" width="100%" style="-webkit-border-top-right-radius: 5px;-webkit-border-bottom-right-radius: 5px;-moz-border-radius-topright: 5px;-moz-border-radius-bottomright: 5px;border-top-right-radius: 5px;border-bottom-right-radius: 5px;">
<span class="largetext">
<strong>{$formattedname}</strong></span><br />
<span class="smalltext"><strong>{$usertitle}</strong><br />{$groupimage}
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}</span>


</td>
</tr>
{$awaybit}
</table>

<br />

<div id="toolbar" class="usertabs">

<div id="nav">
<div id="toolbar" class="usertabs"><div id="nav"> <ul id="countrytabs"class="shadetabs ">
<li><a href="#" rel="country1" class="selected"><b>Comentarios</b></a></li>
<li><a href="#" rel="country2"><b>Sobre mi</b></a></li>
<li><a href="#" rel="country3"><b>Estadisticas</b></a></li>
<li><a href="#" rel="country4"><b>Contactar</b></a></li>
<li><a href="#" rel="country5"><b>Amigos</b></a></li>


</ul>
</div>

</div>


<div style="border:1px solid gray; width:100%; margin-bottom: 1em; padding: 0px">
<div id="country1" class="tabcontent">
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
</div>



<div id="country2" class="tabcontent">
{$profilefields}
{$signature}
</div>




<div id="country3" class="tabcontent">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">



<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>

<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>

<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>




{$reputation}
{$warning_level}

</table>
</div>



<div id="country4" class="tabcontent">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow2"><strong>{$lang->pm}</strong></td>
<td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>

<tr>
<td class="trow1"><strong>{$lang->icq_number}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>

<tr>
<td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>

<tr>
<td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>

<tr>
<td class="trow2"><strong>{$lang->msn}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>

</table>
</div>



<div id="country5" class="tabcontent">
{$buddylist}
</div>


<div id="country6" class="tabcontent">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
</table>
</div>

</div>

<script type="text/javascript">



var countries=new ddtabcontent("countrytabs")

countries.setpersist(true)

countries.setselectedClassTarget("link") //"link" or "linkparent"

countries.init()



</script>


</td>
<td><img src="images/night/pixel.gif" height="1" width="1" alt=""/></td>
<td width="7%" valign="top">
<table class="tborder" border="0" cellspacing="1" cellpadding="1">
<tr><td colspan="5" class="thead"><center><strong>Mini Estadisticas</strong></center></td></tr>
<td class="trow1">{$avatar}<br />

   <td class="trow1">&nbsp;<FONT SIZE=2><strong>Ingresó:</strong>&nbsp;{$memregdate}&nbsp;<strong><br />&nbsp;<FONT SIZE=2><strong>Mensajes:</strong>&nbsp;</strong>{$memprofile['postnum']}&nbsp;<br />
</table>





</div>
{$modoptions}
{$adminoptions}
{$buddy_options}
<br />




</td>

</tr>

</table>

{$footer}

</body>

</html>
Sergio033_mybb_import8143   27 Nov, 2010, 5:33 am
#5
vale, solucionado muchisimas gracias ^^
Última modificación: 27 Nov, 2010, 5:34 am por Omar G..
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.