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
Un pequeño error.
iNFAMOUS   23 Dec, 2014, 5:47 am
#1
Hola a todos, aquí yo de nuevo. Les vengo a pedir si me pueden ayudar a solucionar un pequeño problema, resulta que quiero poner una imagen para los grupos de usuarios, pero lo que pasa es que. cuando voy a crear un tema, la imagen no sale abajo de la informacion del usuario, y luego cuando voy al perfil de "X" usuario con tal rango asignado, sale la imagen. Pero solamente en el perfil

Aqui un ejemplo:

Esto es cuando voy a crear un tema:
[Imagen: mERvNJg.png]

Y esto es en el perfil del usuario, que entonces si sale la imagen. Pero solo en los perfiles

[Imagen: GKXbvaO.png]
iNFAMOUS   23 Dec, 2014, 1:43 pm
#2
alguien ayuda? :c:c:Cccc
angeluz   23 Dec, 2014, 3:14 pm
#3
Pasa la plantilla member_profile y la que se llama postbit_classic, alguna variable cambiaste Tongue

Addio!!!
iNFAMOUS   23 Dec, 2014, 3:59 pm
#4
(23 Dec, 2014, 3:14 pm)angeluz escribió: Pasa la plantilla member_profile y la que se llama postbit_classic, alguna variable cambiaste Tongue

Addio!!!

Código PHP:
<?php 
<html>
<
head>
<
title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{
$headerinclude}
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<
script src="images/vienna/jquery.tabs.pack.js" type="text/javascript"></script>  

</head>
<
body id="forums">
{
$header}
<
table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<
tr>
<
td valign="top" width="25%">

<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2">
<
tr>
<
td class="thead2">
   <div class="userss" id="userss">
<
input type="checkbox" id="drop3" />
       <label for="drop3" class="dropdown_button3">
         <span class="proname" style="font-size:20px;"><strong>{$formattedname}
           <i style="font-size: 14px;" class="fa fa-angle-down fa-fw"></i> </strong></span>
         <font color="#22242d"><span class="arrow3"></span></font></label>
       <ul class="dropdown_content3">
       {$contact_details}
       </ul>      
   
</div>
   <script type="text/javascript">
$(
document).click(function (e)
{

 var container = $(".dropdown_content3");

  if ($(e.target).closest('.userss').length === 0)
 {
container.fadeOut('slow');

  }

});

$(
'.dropdown_button3').click( function() {
  $(".dropdown_content3").fadeToggle('slow');
});
</
script>
</
td>
</
tr>
<
tr>
<
td class="trow3">
<
center><div class="proav">{$avatar}</div></center>
<
br />{$reputation}
<
span class="smalltext">
{
$groupimage}
<
br />
<
span class="largetext">Se registro:</span>&nbsp;{$memregdate}<br />
<
span class="largetext">D.O.B:</span>&nbsp; {$membday} {$membdayage}<br />
<
span class="largetext">Tiempo:</span>&nbsp; {$localtime}<br />
                 <div class="border"></div><br />              
{$website}              
<span class="largetext"><a href="search.php?action=finduserthreads&amp;uid={$uid}"><i style="font-size: 14px;" class="fa fa-bookmark fa-fw"></i></span> Ver sus mensajes</a><br />    
                 
<span class="largetext"><a href="search.php?action=finduser&amp;uid={$uid}"><i style="font-size: 14px;" class="fa fa-bookmark-o fa-fw"></i></span> Ver mis temas</a>
<
br />
 {$adminoptions}
 {$modoptions}
</
td>
</
tr>
</
table>
 

 
</td>
<
td>&nbsp;</td>
<
td valign="top">
<
div class="float_left"><strong><span class="smalltext">{$online_status}</span></strong></div>
<
br/>
<
div class="backimage">
<
div class="navMenu">
<
div class="float_left"><span class="smalltext">({$usertitle})</span></div>
<
div class="float_right">{$userstars}</div> </div> <br/>

 
 
 
 
</div>
<
div class="set set-1">
<
div class="panel panel-1">
<
h2>Forum stats</h2>
<
p>
                 
                 
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder3">
<
tr>
<
td class=""><div class="largetext">{$lang->lastvisit}</strong></td>
<
td class=""><div class="smalltext">{$memlastvisitdate}</div></td>
</
tr>
<
tr>
<
td class=""><div class="largetext">{$lang->total_posts}</strong></td>
<
td class=""><div class="smalltext">{$memprofile['postnum']} ({$lang->ppd_percent_total})</div></td>
</
tr>
<
tr>
<
td class=""><div class="largetext">{$lang->total_threads}</strong></td>
<
td class=""><div class="smalltext">{$memprofile['threadnum']} ({$lang->tpd_percent_total}) </div></td>
</
tr>
<
tr>
<
td class=""><div class="largetext">{$lang->timeonline}</strong></td>
<
td class=""><div class="smalltext">{$timeonline}</div></td>
</
tr>
{
$referrals}
{
$warning_level}
</
table>
                 
                   
</p>
</
div>

<
div class="panel panel-2">
<
h2>About me</h2>
<
p>{$profilefields}</p>
</
div>

<
div class="panel panel-3">
<
h2>Signature</h2>
<
p>{$signature}</p>
</
div>

<
div class="panel panel-4">
<
h2>Extra content</h2>
<
p>HispanoAmerica</p>
</
div>
</
div>
 
 
<script src="images/vienna/mtabs.js"></script>
<
script>
$(function() {
$(
".set-1").mtabs();

$(
".set-2").mtabs({
tab_text_el: ".heading, .head, header",
onTabSelect: function(idx) {
console.log("Selected tab is: " + idx);
},
onReady: function () {
console.log('Set 2 ready!');
}
});

$(
'.set-1 .panel-1 .btn').on('click', function(event) {
$(
'.set-1').mtabs('show', 2);

event.preventDefault();
});

$(
'.set-1 .panel-1 .destroy').on('click', function(event) {
$(
'.set-1').mtabs('destroy');

event.preventDefault();
});

$(
'.set-1 .panel-1 .apply').on('click', function(event) {
$(
'.set-1').mtabs();

event.preventDefault();
});

$(
'.set-2 .panel-1 .btn').on('click', function(event) {
$(
'.set-2').mtabs('show', 1);

event.preventDefault();
});
});
</
script>
 
 
 
<div id="float_left"><br />{$buddy_options}{$ignore_options}{$report_options}</div>
</
td>
</
tr>
</
table> <br />
{
$footer}
</
body>
</
html>
aca va la postbit classic

Código PHP:
<?php 
{$ignore_bit}
<
a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<
div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<
div class="post_author scaleimages">
 <div class="arrow_box">
<
div class="author_information">
      {$post['onlinestatus']} <strong><span class="protext">{$post['profilelink']}</span></strong>  
     
<br />
     {$post['useravatar']}
<
span class="smalltext">
{
$post['usertitle']}<br />
{
$post['userstars']}
</
span>
</
div>
<
div class="author_statistics">
{
$post['user_details']}
     <div class="postbit_buttons author_buttons float_left" style="padding-top: 8px;">
{
$post['iplogged']} {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
</
div>
</
div></div></div>
<
div class="post_content">
<
div class="post_head">
{
$post['posturl']}
{
$post['icon']}
<
span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{
$post['subject_extra']}
</
div>
 
<div class="post_body scaleimages" id="pid_{$post['pid']}">
    {$post['message']}
</
div>
<
center>{$post['attachments']}
     {$post['signature']}</center>
<
div class="post_meta" id="post_meta_{$post['pid']}">
</
div>
</
div>
<
div class="post_controls">

<
div class="postbit_buttons post_management_buttons float_right">
{
$post['button_rep']} {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</
div>
</
div>
</
div>
iNFAMOUS   23 Dec, 2014, 3:59 pm
#5
(23 Dec, 2014, 3:14 pm)angeluz escribió: Pasa la plantilla member_profile y la que se llama postbit_classic, alguna variable cambiaste Tongue

Addio!!!

Código PHP:
<?php 
<html>
<
head>
<
title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{
$headerinclude}
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<
script src="images/vienna/jquery.tabs.pack.js" type="text/javascript"></script>  

</head>
<
body id="forums">
{
$header}
<
table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<
tr>
<
td valign="top" width="25%">

<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2">
<
tr>
<
td class="thead2">
   <div class="userss" id="userss">
<
input type="checkbox" id="drop3" />
       <label for="drop3" class="dropdown_button3">
         <span class="proname" style="font-size:20px;"><strong>{$formattedname}
           <i style="font-size: 14px;" class="fa fa-angle-down fa-fw"></i> </strong></span>
         <font color="#22242d"><span class="arrow3"></span></font></label>
       <ul class="dropdown_content3">
       {$contact_details}
       </ul>      
   
</div>
   <script type="text/javascript">
$(
document).click(function (e)
{

 var container = $(".dropdown_content3");

  if ($(e.target).closest('.userss').length === 0)
 {
container.fadeOut('slow');

  }

});

$(
'.dropdown_button3').click( function() {
  $(".dropdown_content3").fadeToggle('slow');
});
</
script>
</
td>
</
tr>
<
tr>
<
td class="trow3">
<
center><div class="proav">{$avatar}</div></center>
<
br />{$reputation}
<
span class="smalltext">
{
$groupimage}
<
br />
<
span class="largetext">Se registro:</span>&nbsp;{$memregdate}<br />
<
span class="largetext">D.O.B:</span>&nbsp; {$membday} {$membdayage}<br />
<
span class="largetext">Tiempo:</span>&nbsp; {$localtime}<br />
                 <div class="border"></div><br />              
{$website}              
<span class="largetext"><a href="search.php?action=finduserthreads&amp;uid={$uid}"><i style="font-size: 14px;" class="fa fa-bookmark fa-fw"></i></span> Ver sus mensajes</a><br />    
                 
<span class="largetext"><a href="search.php?action=finduser&amp;uid={$uid}"><i style="font-size: 14px;" class="fa fa-bookmark-o fa-fw"></i></span> Ver mis temas</a>
<
br />
 {$adminoptions}
 {$modoptions}
</
td>
</
tr>
</
table>
 

 
</td>
<
td>&nbsp;</td>
<
td valign="top">
<
div class="float_left"><strong><span class="smalltext">{$online_status}</span></strong></div>
<
br/>
<
div class="backimage">
<
div class="navMenu">
<
div class="float_left"><span class="smalltext">({$usertitle})</span></div>
<
div class="float_right">{$userstars}</div> </div> <br/>

 
 
 
 
</div>
<
div class="set set-1">
<
div class="panel panel-1">
<
h2>Forum stats</h2>
<
p>
                 
                 
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder3">
<
tr>
<
td class=""><div class="largetext">{$lang->lastvisit}</strong></td>
<
td class=""><div class="smalltext">{$memlastvisitdate}</div></td>
</
tr>
<
tr>
<
td class=""><div class="largetext">{$lang->total_posts}</strong></td>
<
td class=""><div class="smalltext">{$memprofile['postnum']} ({$lang->ppd_percent_total})</div></td>
</
tr>
<
tr>
<
td class=""><div class="largetext">{$lang->total_threads}</strong></td>
<
td class=""><div class="smalltext">{$memprofile['threadnum']} ({$lang->tpd_percent_total}) </div></td>
</
tr>
<
tr>
<
td class=""><div class="largetext">{$lang->timeonline}</strong></td>
<
td class=""><div class="smalltext">{$timeonline}</div></td>
</
tr>
{
$referrals}
{
$warning_level}
</
table>
                 
                   
</p>
</
div>

<
div class="panel panel-2">
<
h2>About me</h2>
<
p>{$profilefields}</p>
</
div>

<
div class="panel panel-3">
<
h2>Signature</h2>
<
p>{$signature}</p>
</
div>

<
div class="panel panel-4">
<
h2>Extra content</h2>
<
p>HispanoAmerica</p>
</
div>
</
div>
 
 
<script src="images/vienna/mtabs.js"></script>
<
script>
$(function() {
$(
".set-1").mtabs();

$(
".set-2").mtabs({
tab_text_el: ".heading, .head, header",
onTabSelect: function(idx) {
console.log("Selected tab is: " + idx);
},
onReady: function () {
console.log('Set 2 ready!');
}
});

$(
'.set-1 .panel-1 .btn').on('click', function(event) {
$(
'.set-1').mtabs('show', 2);

event.preventDefault();
});

$(
'.set-1 .panel-1 .destroy').on('click', function(event) {
$(
'.set-1').mtabs('destroy');

event.preventDefault();
});

$(
'.set-1 .panel-1 .apply').on('click', function(event) {
$(
'.set-1').mtabs();

event.preventDefault();
});

$(
'.set-2 .panel-1 .btn').on('click', function(event) {
$(
'.set-2').mtabs('show', 1);

event.preventDefault();
});
});
</
script>
 
 
 
<div id="float_left"><br />{$buddy_options}{$ignore_options}{$report_options}</div>
</
td>
</
tr>
</
table> <br />
{
$footer}
</
body>
</
html>
aca va la postbit classic

Código PHP:
<?php 
{$ignore_bit}
<
a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<
div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<
div class="post_author scaleimages">
 <div class="arrow_box">
<
div class="author_information">
      {$post['onlinestatus']} <strong><span class="protext">{$post['profilelink']}</span></strong>  
     
<br />
     {$post['useravatar']}
<
span class="smalltext">
{
$post['usertitle']}<br />
{
$post['userstars']}
</
span>
</
div>
<
div class="author_statistics">
{
$post['user_details']}
     <div class="postbit_buttons author_buttons float_left" style="padding-top: 8px;">
{
$post['iplogged']} {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
</
div>
</
div></div></div>
<
div class="post_content">
<
div class="post_head">
{
$post['posturl']}
{
$post['icon']}
<
span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{
$post['subject_extra']}
</
div>
 
<div class="post_body scaleimages" id="pid_{$post['pid']}">
    {$post['message']}
</
div>
<
center>{$post['attachments']}
     {$post['signature']}</center>
<
div class="post_meta" id="post_meta_{$post['pid']}">
</
div>
</
div>
<
div class="post_controls">

<
div class="postbit_buttons post_management_buttons float_right">
{
$post['button_rep']} {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</
div>
</
div>
</
div>
angeluz   23 Dec, 2014, 8:04 pm
#6
En la plantilla del postbit classic busca:
{$post['userstars']}

y abajo agrega:
<br />{$post['groupimage']}

O si deseas quitar las estrellas y dejar solo la imagen como en el perfil:

Buscas:
{$post['userstars']}

Y reemplazas por:
{$post['groupimage']}

Addio, si hay algún problema o duda me avisas Tongue
iNFAMOUS   23 Dec, 2014, 8:57 pm
#7
(23 Dec, 2014, 8:04 pm)angeluz escribió: En la plantilla del postbit classic busca:
{$post['userstars']}

y abajo agrega:
<br />{$post['groupimage']}

O si deseas quitar las estrellas y dejar solo la imagen como en el perfil:

Buscas:
{$post['userstars']}

Y reemplazas por:
{$post['groupimage']}

Addio, si hay algún problema o duda me avisas Tongue

Gracias man, pueden cerrar!
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.