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 el perfil de mi foro como el de qui
Páginas (3):    1 2 3
quico   25 Feb, 2011, 7:15 am
#21
ya se porque no a he encontrado, porque al instalar el plugin altero todas las plantillas y por eso no estaba en ninguna plantilla.
PD: ya he puesto este código para intentar lograr eso:
Cita:<div class="postbit_details" align="right"><b>{$buddy_options}</b></div>
y me ssale el cuadro negro y todo eso, pero cuando voy al perfil empez de salir a la derecha sale abajo de todo, que ago?
nentab   25 Feb, 2011, 7:25 am
#22
Pero así no estás creando una celda nueva... Como lo estás haciendo tal vez te valga así:

Código:
<div class="postbit_details" style="align: right;"><b>{$buddy_options}</b></div>
quico   25 Feb, 2011, 7:47 am
#23
me sigue saliedo abajo, te dejo la plantilla y revisas aber si esta mal puesto:
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="0" cellpadding="0" border="0" align="center">
<tr>
<td width="75%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td align="left" class="trow1" valign="middle">{$avatar}</td>
<td class="trow1" align="left" width="100%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
<div class="postbit_details" style="align: right;"><b>{$buddy_options}</b></div>
</span>
</td>
</tr>
{$awaybit}
{$buddies}
</table>
<br />
<div id="toolbar" class="usertabs"><div id="nav"><ul id="countrytabs" class="shadetabs">
<li><a href="#" rel="country1" class="selected"><b>Mensajes de visita</b></a></li>
<li><a href="#" rel="country2"><b>Acerca de 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>Firma</b></a></li>
<li><a href="#" rel="country6"><b>Sus amigos</b></a></li>
</ul></div></div>
<div style="border:1px solid gray; width:100%px; margin-bottom: 1em; padding: 0px">
<div id="country1" class="tabcontent">
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
</div>
<div id="country2" class="tabcontent">
{$profilefields}
</div>
<div id="country3" class="tabcontent">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<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">
{$signature}
</div>
<div id="country6" class="tabcontent">
{$buddylist}
</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="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="25%" valign="top">
{$last_visit}
</td>
</tr>
</tale>
<br>
<br />{$modoptions}
{$adminoptions}
{$footer}
</body>
</html>
Última modificación: 25 Feb, 2011, 7:56 am por Cluster.
nentab   25 Feb, 2011, 8:08 am
#24
Prueba así a ver:

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="0" cellpadding="0" border="0" align="center">
        <tr>
            <td width="75%" valign="top">
                <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
                    <tr>
                        <td align="left" class="trow1" valign="middle">{$avatar}</td>
                        <td class="trow1" align="left" width="100%">
                            <span class="largetext"><strong>{$formattedname}</strong></span><br />
                            <span class="smalltext">
                                ({$usertitle})<br />
                                {$groupimage}
                                <strong>{$lang->registration_date}</strong> {$memregdate}<br />
                                <strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
                                <strong>{$lang->local_time}</strong> {$localtime}<br />
                                <strong>{$lang->postbit_status}</strong> {$online_status}
                            </span>
                        </td>
                        <td align="center" class="trow1" valign="middle">{$buddy_options}</td>
                    </tr>
                    {$awaybit}
                </table>
                <br />
                <div id="toolbar" class="usertabs">
                    <div id="nav">
                        <ul id="countrytabs" class="shadetabs">
                            <li><a href="#" rel="country1" class="selected"><b>Mensajes de visita</b></a></li>
                            <li><a href="#" rel="country2"><b>Acerca de 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>Firma</b></a></li>
                            <li><a href="#" rel="country6"><b>Sus amigos</b></a></li>
                        </ul>
                    </div>
                </div>
                <div style="border:1px solid gray; width:100%px; margin-bottom: 1em; padding: 0px">
                <div id="country1" class="tabcontent">
                    <!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
                </div>
                <div id="country2" class="tabcontent">
                    {$profilefields}
                </div>
                <div id="country3" class="tabcontent">
                    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
                        <tr>
                            <td class="trow1"><strong>{$lang->joined}</strong></td>
                            <td class="trow1">{$memregdate}</td>
                        </tr>
                        <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">
                    {$signature}
                </div>
                <div id="country6" class="tabcontent">
                    {$buddylist}
                </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="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
            <td width="25%" valign="top">
            {$last_visit}
            </td>
        </tr>
    </table>
    <br>
    <br />
    {$modoptions}
    {$adminoptions}
    {$footer}
</body>
</html>
quico   25 Feb, 2011, 8:18 am
#25
Si pongo ese cuadro no me slae recuadrado :S y otra cosa como puedo hazer para cambiar el texto de "[Imagen: remove_buddy.gif]Añadir a mi lista de amigos"
nentab   25 Feb, 2011, 8:26 am
#26
Cómo te queda? Vete poniendolo en el foro y así puedo ir viendo.

Eso sería editando los archivos de lenguaje.
quico   25 Feb, 2011, 8:41 am
#27
http://tpmega.com/foro/member.php?action=profile&uid=2

Ya esta terminado, como veo que lo que quiero es un poco dificil lo he echo un poco cambiado así tanpoco es exacto como aqui como aqui.
nentab   25 Feb, 2011, 8:45 am
#28
Ok, mientras quede a tu gusto todo bien. ^^

Algo más? O solucionado ya?
quico   25 Feb, 2011, 8:51 am
#29
Solucionado ya que ya tengo lo que queria Las tablas, Ultimos visitantes...
Páginas (3):    1 2 3
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.