¡Bienvenido! Para acceder al chat y realizar descargas, es necesario tener una cuenta activa. Regístrate aquí y asegúrate de utilizar un correo electrónico válido para completar tu activación.
Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5

La publicación que has solicitado no existe
#1

0
Capturas
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]



En c.monitor.php --> inc --> class --> c.monitor.php

Buscar:
case 14:
                if(
$data['obj_dos'] == 2)
                    return 
'SELECT pub_id AS obj_uno, c_body FROM u_muro_comentarios WHERE cid = \''.(int)$data['obj_uno'].'\'';
                else return array(
'value' => 'hack');
            break; 


Reemplazar por:
case 14:
                if(
$data['obj_dos'] == 2)                
                    return 
'SELECT p.p_user, c.pub_id, c.c_body FROM u_muro_comentarios AS c LEFT JOIN u_muro AS p ON c.pub_id = p.pub_id WHERE cid = \''.(int)$data['obj_uno'].'\'';
                else
                    return 
'SELECT p.pub_id, p.p_body, u.user_name FROM u_muro AS p LEFT JOIN u_miembros AS u ON p.p_user_pub = u.user_id WHERE p.pub_id = \''.(int)$data['obj_uno'].'\' LIMIT 1';
            break; 
 
 
Buscar:
case 14:
                
// CUANTOS
                
$no_total $data['not_total'];
                
// MAS DE UNA ACCION
                
if($no_total 1) {
                    
$text $this->monitor[$no_type]['text'][1].' '.$ln_text;
                    
$oracion['text'] = str_replace('_REP_''<b>'.$no_total.'</b>'$text);
                }
                else 
$oracion['text'] = $this->monitor[$no_type]['text'][0];
                
//
                
$oracion['text'] = ($this->show_type == 1) ? $oracion['text'] : $oracion['text'].' '.$ln_text;
                
$oracion['link'] = $site_url.'/perfil/'.$tsUser->nick.'/'.$data['obj_uno'];
                
$oracion['ltext'] = ($this->show_type == 1) ? $ln_text substr($data['c_body'],0,20).'...';
                
$oracion['ltit'] = ($this->show_type == 1) ? substr($data['c_body'],0,20).'...' '';
            break; 
 
 
Reemplazar por:
case 14:
                
// CUANTOS
                
$no_total $data['not_total'];
                
// DE LOS COMENTARIOS
                
if($data['obj_dos'] == 2) {
                    
$data['obj_uno'] = $data['pub_id'];
                    
$auser $tsUser->getUserName($data['p_user']);
                    
$body $data['c_body'];
                } else {
                    
$auser $tsUser->nick ;
                    
$body $data['p_body'];    
                }
                
// MAS DE UNA ACCION
                
if($no_total 1) {
                    
$text $this->monitor[$no_type]['text'][1].' '.$ln_text;
                    
$oracion['text'] = str_replace('_REP_''<b>'.$no_total.'</b>'$text);
                }
                else 
$oracion['text'] = $this->monitor[$no_type]['text'][0];
                
//
                
$oracion['text'] = ($this->show_type == 1) ? $oracion['text'] : $oracion['text'].' '.$ln_text;
                
$oracion['link'] = $site_url.'/perfil/'.$auser.'/'.$data['obj_uno'];
                
$oracion['ltext'] = ($this->show_type == 1) ? $ln_text substr($body,0,20).'...';
                
$oracion['ltit'] = ($this->show_type == 1) ? substr($body,0,20).'...' '';
            break; 




Creditos: Debes agradecer para ver el contenido...
Responder


Compartir en:

Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)