07-20-2022, 10:48 AM
0
Capturas
En c.monitor.php --> inc --> class --> c.monitor.php
Buscar:
Reemplazar por:
Buscar:
Reemplazar por:
Creditos: Debes agradecer para ver el contenido...
[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:
Código PHP: ( Seleccionar Todo )
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:
Código PHP: ( Seleccionar Todo )
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:
Código PHP: ( Seleccionar Todo )
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:
Código PHP: ( Seleccionar Todo )
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...


Facebook
Twitter
Reddit
Digg
del.icio.us
Tumblr
Pinterest
Blogger
Fark
LinkedIn
Mix
Google