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
Sustituir HORA por REPUTACIÓN
Hatsue   21 Dec, 2010, 9:08 am
#1

Hola, me gustaria poder hacer un pequeño cambio estetico a mi foro.

Actualmente tengo una forma algo especial de ver los mensajes, y la hora sale repetida, tanto arriba como abajo del tema... para solucionar esto, y apañarlo mejor, se me ocurrio algo.

Querria poner en el espacio donde aparece la hora normalmente, en el postbit-classic. Poder colocar ahi el boton para añadir o disminuir reputación a la persona...

¿Como seria el codigo de dar la reputación a la persona autora del mensaje?
¿Donde lo sustituyo?
nentab   21 Dec, 2010, 9:18 am
#2
Pon aquí el postbit_classic.
Hatsue   21 Dec, 2010, 9:46 am
#3
Posbit_Classic...
Código:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="tcat" colspan="2">
            {$post['posturl']}<span class="smalltext">{$post['postdate']} {$post['posttime']}</span>
        </td>
    </tr>
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
            <div class="trow4 smalltext" style="-moz-box-shadow: 0px 0px 8px #777777; -webkit-box-shadow: 0px 0px 8px #777777; box-shadow: 0px 0px 8px #777777;">
              
                    <strong><span class="largetext">{$post['profilelink']}</span></strong><br />
                    {$post['usertitle']}<br />
                  
                
                <br />
                {$post['groupimage']}<br />
                {$post['useravatar']}<br /><br/>
<img src="{$theme['imgdir']}/sexo/{$post['fid3']}.png" title="{$post['fid3']}" /><br />
{$post['onlinestatus']}<br/><br/>
<b> · Temas: {$post['ThreadCounts']}</b><br/>
                {$post['user_details']}
            </div>
        </td>
        <td class="{$altbg}" valign="top">
            <table width="100%">
                <tr>
                    <td>
                        <span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
                        <br />
                        <div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
                            {$post['message']}
                        </div>
                        {$post['attachments']}
                        {$post['signature']}
                        <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                            <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                            {$post['iplogged']}
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
        <td class="{$altbg}" style="vertical-align: middle;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr valign="bottom">
                    <td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
                    <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
                </tr>
            </table>
        </td>
    </tr>
</table>
nentab   21 Dec, 2010, 9:58 am
#4
Así:

Código:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="tcat" colspan="2">
            {$post['posturl']}<span class="smalltext">{$post['postdate']} {$post['posttime']}</span>
        </td>
    </tr>
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
            <div class="trow4 smalltext" style="-moz-box-shadow: 0px 0px 8px #777777; -webkit-box-shadow: 0px 0px 8px #777777; box-shadow: 0px 0px 8px #777777;">
              
                    <strong><span class="largetext">{$post['profilelink']}</span></strong><br />
                    {$post['usertitle']}<br />
                  
                
                <br />
                {$post['groupimage']}<br />
                {$post['useravatar']}<br /><br/>
<img src="{$theme['imgdir']}/sexo/{$post['fid3']}.png" title="{$post['fid3']}" /><br />
{$post['onlinestatus']}<br/><br/>
<b> · Temas: {$post['ThreadCounts']}</b><br/>
                {$post['user_details']}
            </div>
        </td>
        <td class="{$altbg}" valign="top">
            <table width="100%">
                <tr>
                    <td>
                        <span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
                        <br />
                        <div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
                            {$post['message']}
                        </div>
                        {$post['attachments']}
                        {$post['signature']}
                        <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                            <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                            {$post['iplogged']}
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['button_rep']}</span></td>
        <td class="{$altbg}" style="vertical-align: middle;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr valign="bottom">
                    <td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
                    <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
                </tr>
            </table>
        </td>
    </tr>
</table>
Hatsue   21 Dec, 2010, 10:41 am
#5
Muchas gracias.

Aun que... me gustaria saber que he de eliminar para que el icono que aparecia desaparezca.... es decir.

En donde aparece el icono de añadir reputacion, desde siempre. Poder quitarlo de ahi. Ya que repetido queda feo.
nentab   21 Dec, 2010, 11:21 am
#6
Así?

Código:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="tcat" colspan="2">
            {$post['posturl']}<span class="smalltext">{$post['postdate']} {$post['posttime']}</span>
        </td>
    </tr>
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
            <div class="trow4 smalltext" style="-moz-box-shadow: 0px 0px 8px #777777; -webkit-box-shadow: 0px 0px 8px #777777; box-shadow: 0px 0px 8px #777777;">
              
                    <strong><span class="largetext">{$post['profilelink']}</span></strong><br />
                    {$post['usertitle']}<br />
                  
                
                <br />
                {$post['groupimage']}<br />
                {$post['useravatar']}<br /><br/>
<img src="{$theme['imgdir']}/sexo/{$post['fid3']}.png" title="{$post['fid3']}" /><br />
{$post['onlinestatus']}<br/><br/>
<b> · Temas: {$post['ThreadCounts']}</b><br/>
                {$post['user_details']}
            </div>
        </td>
        <td class="{$altbg}" valign="top">
            <table width="100%">
                <tr>
                    <td>
                        <span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
                        <br />
                        <div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
                            {$post['message']}
                        </div>
                        {$post['attachments']}
                        {$post['signature']}
                        <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                            <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                            {$post['iplogged']}
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['button_rep']}</span></td>
        <td class="{$altbg}" style="vertical-align: middle;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr valign="bottom">
                    <td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}</span></td>
                    <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
                </tr>
            </table>
        </td>
    </tr>
</table>
Hatsue   21 Dec, 2010, 1:54 pm
#7
Si, muchas gracias.

Con esto ya puedes cerrar el tema Tongue
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.