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
Post's al Estilo BLOG!!!!
Páginas (4):    1 2 3 4   
DarkFinder   27 Apr, 2011, 5:16 pm
#21
@sebasXDD: me parece que no has hecho el tutorial todo completo ya que te falto sustituir tu plantilla postbit_classic por el codigo que esta en el post principal.

@leocarlos te estoy modificando el codigo de la plantilla. Espera un Momento
sebasXDD   27 Apr, 2011, 5:24 pm
#22
tampoco me da aqui te dejo el codigo

Código PHP:
<?php 
<if $postcounter - 1 then>
{
$ignore_bit}

<
table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tr>
<
td width="20%" valign="top">
<
tr>
<
td width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<
div class="postbit3_header"><div class="postbit5_header"<strong><span class="largetext">{$post['profilelink']}</span></strong> </div>
<
span class="smalltext">
{
$post['useravatar']}
</
span></div>
</
td>
</
td><br />

<
td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="2%" alt=""/></td>

<
td width="78%" valign="top">

<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}" style="width: 50px;">

<
tr>
<
td class="tcat" colspan="2" valign="middle">
<
span style="float: right;">{$post['posturl']}</span>
<
img src="{$theme['imgdir']}/folder.gif" height="13" style="margin-top: 2px;" /> <b>{$post['postdate']} {$post['posttime']}</b>
</
td>
</
tr>
<
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']}
<
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="trow2" colspan="2" align="left">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
<
span style="float: 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']}</span>
</
td>
</
tr>
</
table></td></td>
</
tr>
</
table>

<else>
{
$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" valign="middle">
<
span style="float: right;">{$post['posturl']}</span>
<
img src="{$theme['imgdir']}/folder.gif" height="13" style="margin-top: 2px;" /> <b>{$post['postdate']} {$post['posttime']}</b>
</
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="postbit3_header"><div class="postbit5_header"<strong><span class="largetext">{$post['profilelink']}</span></strong> </div>
<
span class="smalltext">
{
$post['useravatar']}
{
$post['groupimage']}
{
$post['user_details']}
</
span></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="trow2" colspan="2" align="left">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
<
span style="float: 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']}</span>
</
td>
</
tr>
</
table>
</if>
Ignnacio Ausente   27 Apr, 2011, 5:41 pm
#23
Para pedir ayuda están las secciones de soporte, saludos.
DarkFinder   27 Apr, 2011, 6:06 pm
#24
@leocarlos aqui te dejo la plantilla:

Código PHP:
<?php 
<if $postcounter - 1 then>
{
$ignore_bit}

<
table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<
tr>
<
td width="20%" valign="top">
<
tr>
<
td width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<
div class="postbit3_header"><div class="postbit5_header"><strong><span class="largetext"><a href="{$post['profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}&nbsp;<img src="{$theme['imgdir']}/arrow_down.gif"></a> <div id="profile_{$post['pid']}_popup" class="popup_menu smalltext" style="display: none;"><div class="popup_item_container">

<
table style="text-align: left;"><tr><td ><a href="{$post['profilelink_plain']}">

Ver Perfil</a></td><td>

<
a href="private.php?action=send&amp;uid={$post['uid']}">Enviar MP</a></td></tr><tr><td>
<
a href="search.php?action=finduserthreads&amp;uid={$post['uid']}">Ver sus Temas</a></td><td>
<
a href="member.php?action=emailuser&amp;uid={$post['uid']}"> Enviar E-mail</a></td></tr><tr><td>
<
a href="search.php?action=finduser&amp;uid={$post['uid']}">Ver sus Post's</a></td><td>{$post['buddy_post']}</td></tr></table></div>

<script type="text/javascript">if(use_xmlhttprequest == "1"){new PopupMenu("profile_{$post['
pid']}");}</script> </div></div>
<span class="smalltext">
{$post['
useravatar']}
</span></div>
</td>
</td><br />

<td><img src="{$theme['
imgdir']}/pixel.gif" height="1" width="2%" alt=""/></td>

<td width="78%" valign="top">

<table border="0" cellspacing="{$theme['
borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}" style="width: 50px;">

<tr>
<td class="tcat" colspan="2" valign="middle">
<span style="float: right;">{$post['
posturl']}</span>
<img src="{$theme['
imgdir']}/folder.gif" height="13" style="margin-top: 2px;" /> <b>{$post['postdate']} {$post['posttime']}</b>
</td>
</tr>
<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']}
<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="trow2" colspan="2" align="left">
<span style="float: 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']}</span>
</td>
</tr>
</table></td></td>
</tr>
</table>

<else>
{$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" valign="middle">
<span style="float: right;">{$post['
posturl']}</span>
<img src="{$theme['
imgdir']}/folder.gif" height="13" style="margin-top: 2px;" /> <b>{$post['postdate']} {$post['posttime']}</b>
</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="postbit3_header"><div class="postbit5_header"<strong><span class="largetext"><a href="{$post['
profilelink_plain']}" id="profile_{$post['pid']}">{$post['username_formatted']}&nbsp;<img src="{$theme['imgdir']}/arrow_down.gif"></a> <div id="profile_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container">

<table style="text-align: left;"><tr><td ><a href="{$post['
profilelink_plain']}">

Ver Perfil</a></td><td>

<a href="private.php?action=send&amp;uid={$post['
uid']}">Enviar MP</a></td></tr><tr><td>
<a href="search.php?action=finduserthreads&amp;uid={$post['
uid']}">Ver sus Temas</a></td><td>
<a href="member.php?action=emailuser&amp;uid={$post['
uid']}"> Enviar E-mail</a></td></tr><tr><td>
<a href="search.php?action=finduser&amp;uid={$post['
uid']}">Ver sus Post's</a></td><td>{$post['buddy_post']}</td></tr></table></div></div>

<
script type="text/javascript">if(use_xmlhttprequest == "1"){new PopupMenu("profile_{$post['pid']}");}</script> </div>
<
span class="smalltext">
{
$post['useravatar']}
{
$post['groupimage']}
{
$post['user_details']}
</
span></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="trow2" colspan="2" align="left">
<
span style="float: 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']}</span>
</
td>
</
tr>
</
table>
</if>

Cualquier duda mas ponganla en la seccion de soporte
-evil-   14 May, 2011, 8:46 pm
#25
ami no me funciona... ayuda por favor Big Grin, uso el tema MycleanBlue.
Omar G.   14 May, 2011, 8:51 pm
#26
(14 May, 2011, 8:46 pm)-evil- escribió: ami no me funciona... ayuda por favor Big Grin, uso el tema MycleanBlue.

Descargaste y activaste este plugin?
-evil-   14 May, 2011, 9:27 pm
#27
ya me sirvio Big Grin!
lo tenia que poner en el postbit
Omar G.   17 May, 2011, 6:48 am
#28
Aquí usan:
Código PHP:
<?php 
<if $postcounter - 1 then>

Pero yo intente con:
Código PHP:
<?php 
<if $post['pid'] == 1 then>

Cual es mejor?
DARKNESSDH   17 May, 2011, 9:55 am
#29
(17 May, 2011, 6:48 am)Sama34 escribió: Aquí usan:
Código PHP:
<?php 
<if $postcounter - 1 then>

Pero yo intente con:
Código PHP:
<?php 
<if $post['pid'] == 1 then>

Cual es mejor?
bueno por lo que veo

Código PHP:
<?php 
<if $postcounter - 1 then>
toma el contador de post, pero de una variable propuesta.

y
Código PHP:
<?php 
<if $post['pid'] == 1 then>

lo toma de la variable directamente con la bd
Omar G.   17 May, 2011, 4:51 pm
#30
Ok, usare el <if $postcounter - 1 then> then

Gracias.
Páginas (4):    1 2 3 4   
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.