Modificar postbit_legacy

  • Autor Autor PabloAM
  • Fecha de inicio Fecha de inicio
P

PabloAM

Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Buenas, tengo ahora mismo el foro asi:

Y quiero que la tabla esa que esta en gris, señalada en la imagen anterior como "ESTO", se rellene todo de gris y se quede algo parecido a esto:


El codigo que tengo metido dentro de postbit_legacy ahora mismo es asi:
Y nose que puedo cambiar para crear como quiero 🙁
HTML:
<!-- start top info post -->
<table cellpadding="$stylevar[cellpadding]" width="100%" height="100%" cellspacing="0" border="0">
<tr>
<td class="alt2" align="left">
<if condition="$show['avatar']">
                <div class="smallfont">
                    &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]" border="1">$vbphrase[xs_avatar]</phrase>" border="1" /></a>
                </div>
            </if></td>
<td class="alt2" style="font-weight:normal;font-size:10px;width:100%" align="left">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>$post[onlinestatus]
                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
</div>
</td>
<td class="alt2" style="font-weight:normal;font-size:10px;width:200px" align="right">
<if condition="$post['field5']">
<a href="http://live.xbox.com/member/$post[field5]"><img src="http://www.glop.org/gamercard/card/$post[field5]-forumgames.png" alt="Gamercard de $post[field5]" border="0" /></a>
<br />
</if>
<if condition="$post['rank']"><center><div class="smallfont">$post[rank]</div></center></if>
</td>


</tr>
</table>

<BR>
<!-- End top info post -->

A ver si me podeis hechar una manita que se que aqui hay mucho maestro 😉

SALUDOS!
 
Lo que veo ahi no hay nada raro.
Ese codigo es de la tabla que vos pusiste y no hay nada raro ahi.
Pone todo el codigo del postbit-legacy pero todo.

por que no metiste ese codigo en el legacy, osea integrar una celda nueva (<td></td>) al que ya existe en ves de poner toda una tabla nueva ?

esperando...
 
GRACIAS POR CONTESTAR DANI! 😀😀

Bueno el code que e posteado es la parte de la tabla esa, que es justo lo que quiero cambiar, si quito ese codigo quito todo el cuadrado de arriba gris con el avatar y tal...

Queiro que se quede como la segunda imagen que e dibujado con el paint como si fusionaramos los 2 bloques , sabes?

Creo que tendria que eliminar el table y hacerlo con td, pero he probado a quitar <table></table> y se descoloca todo, tienes alguna idea?

Si quieres te pongo mas codigo del postbit...

MUCHAS GRACIAS DE NUEVO 😉
SALUDOS!
 
el postbit es en una tabla con 2 celdas y vos lo queres pasar 3 celdas, hablando a grandes rasgos.

Asi tenes que pensarlo, pasar una tabla de 2 celdas a 3 celdas.
Suena simple pero despues esas 3 celdas se convierten en muchas mas por que le pones muchas cosas y se divide en mas, pero en realidad son 3 celdas.

Espero te ayude lo que te digo.
Si queres pasame TODO el codigo del postbit tuyo y lo veo.

Suerte
 
GRACIAS NO ME CABE TODO 🙁
Insertar CODE, HTML o PHP:
<!-- START INSTANT MESSAGING LEGEND -->
<if condition="$show['hasimicons']">
<fieldset class="fieldset">
<legend>Mensajería de $post[musername]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="1">
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</table>
</fieldset>
</if>
<!-- / END INSTANT MESSAGING LEGEND -->
</div>
<!-- START COLLAPSABLE POSTBIT ENDING -->
<if condition="THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost'">
</td></tr></tbody></table>
</if>
<!-- / END COLLAPSABLE POSTBIT ENDING --> 
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>
 
<!-- start top info post -->
<table bgcolor="888888" cellpadding="$stylevar[cellpadding]" width="100%" height="100%" cellspacing="0" border="0">
<tr>
<td class="alt2" align="left">
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]" border="1">$vbphrase[xs_avatar]</phrase>" border="1" /></a>
</div>
</if></td>
<td class="alt2" style="font-weight:normal;font-size:10px;width:100%" align="left">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
</div>
</td>
<td class="alt2" style="font-weight:normal;font-size:10px;width:200px" align="right">
<if condition="$post['field5']">
<a href="<A href="http://live.xbox.com/member/$post[field5]"><img">http://live.xbox.com/member/$post[field5]"><img src="[URL="http://www.glop.org/gamercard/card/$post"]http://www.glop.org/gamercard/card/$post[/URL][field5]-forumgames.png" alt="Gamercard de $post[field5]" border="0" /></a>
<br />
</if>
<if condition="$post['rank']"><center><div class="smallfont">$post[rank]</div></center></if>
</td>
 
</tr>
</table>
<BR>
<!-- End top info post -->
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
 
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
 
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
 
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
 
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
 
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
 
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset> 
</if>
 
</div>
<!-- / attachments -->
</if>
 
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
 
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
 
</td>
</tr>
<tr>
</if> 
<td class="alt2">
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
<!-- show awards -->
<if condition="$post[showuserawards]">
<div>
$post[userawards]
<br>
$vbphrase[total_awards]: $post[num_awards] (<a href="member.php?$session[sessionurl]u=$post[userid]#award">$vbphrase[more_awards] ...</a>)
</div>
</if>
<!-- /show awards -->
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]">
<else />
<td class="alt1" align="$stylevar[right]">
</if>
<!-- controls -->
<a href="#" onclick="Fenster1=window.open('http://babelfish.altavista.com/babelfish/urltrurl?url=http://www.xboxers360.net/showpost.php?p=$post[postid]&lp=es_en','','directories=no,location=no,resizable=yes,scrollbars=yes,toolbar=no,status=no,menubar=no,width=600,height=400')">
<img src="$stylevar[imgdir_button]/gb.gif" alt="Translate (powered by babelfish)" width="50" height="18" border="0" /></a>
<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<!-- / controls -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&amp;t=$post[threadid]&amp;u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
<if condition="!$GLOBALS['FIRSTPOSTID']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[formspacer]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left">Publicidad</td>
</tr>
<tr>
<td class="alt1" align="center">
</td>
</tr>
</table>
</div>
$spacer_close
</if>
 
Perdona por la tardanza 🙁
Aqui tienes:

GRACIAS POR AYUDARME! A ver si lo arreglamos ya y dejo de molestarte 😱

SALUDOS!
 
Atrás
Arriba