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
Poner Postbits en recuadro.
leoclaros   20 Dec, 2010, 12:52 am
#1
-Titulo: Poner Postbits en recuadro y Postbit v2
-URL: Net-Games
-Version del Foro: 1.6.1
-Actualizacion: 1.6 a 1.6.1
-Informacion del problema: Alguien me podria poner el postbits, aca les dejos los codigos Smile

postbit_author_user
Cita: {$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['warninglevel']}



postbit_classic
Cita:{$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="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}
</span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<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>
Maxii   20 Dec, 2010, 7:07 am
#2
Pero pon el global.css -.-" que somos, adivinos?
Edson Ordaz   20 Dec, 2010, 8:50 am
#3
postbit auto user
Código PHP:
<?php 
<table width="100%" border="0" cellspacing="2" cellpadding="1" style="font-size:12px">
<
div class="postbit2_header">Info de usuario</div>
<
div class="postbit2">
{
$lang->postbit_posts} {$post['postnum']}<br />
{
$lang->postbit_joined} {$post['userregdate']}
{
$post['replink']}{$post['warninglevel']}
</
div></div></td></tr>


postbit_classic
Código PHP:
<?php 
{$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="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<
table width="100%" border="0" cellspacing="2" cellpadding="1" style="font-size:12px"> <tr><td class="postbit2_header" align="right">
<
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<
span class="smalltext">
{
$post['usertitle']}<br />
{
$post['userstars']}
{
$post['groupimage']}
{
$post['useravatar']}<br /></td></tr>
{
$post['user_details']}</table>
</
span>
</
td>
<
td class="{$altbg}" valign="top">
<
table width="100%">
<
tr><td>{$post['posturl']}<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>

al final del global.css agrega

Código:
.postbit2_header {
background: #f9f9f9 url(images/wbo/tcat_bg.png) top left repeat-x;
width: 160px;

color: #000;
border-top: 1px solid #999999;
border-bottom: 1px solid #bebebe;
border-left: 1px solid #999999;
border-right: 1px solid #999999;
margin-top: 5px;

padding: 5px 10px;
text-align: center;
font-size: 11px;
font-weight: bold;
}

.postbit2 {
background: #f9f9f9;
width: 160px;
color: #000;
border-bottom: 1px solid #999999;
border-left: 1px solid #999999;
border-right: 1px solid #999999;
padding: 5px 10px;
text-align: left;
align: center;
font-size: 80%;
}


http://www.mybb-es.com/showthread.php?tid=3242
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.