31
Desarrollo de Mods 2.3 / Re: que mod te gustaria que hiciera
« en: Octubre 31, 2010, 10:57:24 pm »
Notificaciones en monitor compatible con todos los themes y navegadores xD
y borradores =a T!
y borradores =a T!
Bitdate
Blog y comunidad sobre tecnología, programación, diseño web, marketing online, descargas y más de lo que esperas. |
Nuthost webhosting
Líderes desde 2003. Servicios de Web Hosting Individuales y Multicuentas (Revendedores), Registro de Dominios, Certificados SSL, Web Marketing, Email Marketing y Soluciones de Data Center a medida de tus necesidades. |
Tú página puede estar aquí. |
Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.
yo escuche por ahi que alguien lo estaba armando,ya lo habian pedidoeso espero

echo'</center></div></div>Y antes de eso Agregas:
//Estadisticas del usuario 2.3 by Mr.Freack
$stats = mysql_query("select * from {$db_prefix}members");
$Mr = mysql_result($stats, $Freack, 'totalTimeLoggedIn');
$MrFreack=($Mr)/7;
if ($MrFreack<1) {$MrFreack=1;}
if ($MrFreack>101){$MrFreack=101;}
$topic=($message['member']['topics'])/7;
if ($MrFreack>101){$MrFreack=101;}
$coment=($context['comentuser'])/7;
if ($topic<1) {$topic=1;}
if ($topic>101) {$topic=101;}
$money=($message['member']['money'])/30;
if ($money<1){$money=1;}
if ($money>101) {$money=101;}
//activo
echo'
<b>Estadisticas <br>de <a href="/perfil/', $message['member']['username'], '" title="', $message['member']['username'], '">', $message['member']['username'], '</a></b>
<br><img src="',$settings['images_url'],'/lineap.jpg"><br>
<table title="Tiempo activo de ', $message['member']['username'], '" cellSpacing="0" cellPadding="0" width="115" border="0"><b>Activo</b><br><tr>
<td width="2" height="13"><img alt="" src="', $settings['images_url'], '/borde-izquierdo.gif" width="2" height="13"></td>
<td colspan="2" style="background: url(', $settings['images_url'], '/fondo-barra.gif) repeat-x left top;line-height: 13px" width="115" height="11"><img height="11" src="', $settings['images_url'], '/activo.gif" width="', $MrFreack, '" style="opacity:0.9;">
<img src="', $settings['images_url'], '/activo-exp.gif" style="margin-left:-3px;width:1px;height:11px;opacity:0.9;"></td>
<td width="2" height="13"><img height="13" alt="" src="', $settings['images_url'], '/borde-derecho.gif" width="2"></td></tr></table>';
//Experiencia
echo'<table title="Experiencia de ', $message['member']['username'], '" cellSpacing="0" cellPadding="0" width="115" border="0"><b>Experiencia</b> <br><tr>
<td width="2" height="13"><img alt="" src="', $settings['images_url'], '/borde-izquierdo.gif" width="2" height="13"></td>
<td colspan="2" style="background: url(', $settings['images_url'], '/fondo-barra.gif) repeat-x left top;line-height: 13px" width="115" height="11"><img height="11" src="', $settings['images_url'], '/experiencia.gif" width="', $money, '" style="opacity:0.9;">
<img src="', $settings['images_url'], '/experiencia-exp.gif" style="margin-left:-3px;width:1px;height:11px;opacity:0.9;"></td>
<td width="2" height="13"><img height="13" alt="" src="', $settings['images_url'], '/borde-derecho.gif" width="2"></td></tr></table>';
//Publicacion
echo'<table title="Publica ', $message['member']['username'], '" cellSpacing="0" cellPadding="0" width="115" border="0"> <b>Publicación</b><br><tr>
<td width="2" height="13"><img alt="" src="', $settings['images_url'], '/borde-izquierdo.gif" width="2" height="13"></td>
<td colspan="2" style="background: url(', $settings['images_url'], '/fondo-barra.gif) repeat-x left top;line-height: 13px" width="115" height="11">
<IMG height="11" src="', $settings['images_url'], '/publicacion.gif" width="', $topic, '" style="opacity:0.9;">
<img src="', $settings['images_url'], '/publicacion-exp.gif" style="margin-left:-3px;width:1px;height:11px;opacity:0.9;"></td>
<td width="2" height="13"><img height="13" alt="" src="', $settings['images_url'], '/borde-derecho.gif" width="2"></td></tr></table>';
//Comenta
echo'<table title="Comenta ', $message['member']['username'], '" cellSpacing="0" cellPadding="0" width="115" border="0"> <b>Comenta</b><br><tr>
<td width="2" height="13"><img alt="" src="', $settings['images_url'], '/borde-izquierdo.gif" width="2" height="13"></td>
<td colspan="2" style="background: url(', $settings['images_url'], '/fondo-barra.gif) repeat-x left top;line-height: 13px" width="115" height="11"><IMG height="11" src="', $settings['images_url'], '/comenta.gif" width="', $coment, '" style="opacity:0.9;">
<img src="', $settings['images_url'], '/comenta-exp.gif" style="margin-left:-3px;width:1px;height:11px;opacity:0.9;"></td>
<td width="2" height="13"><img height="13" alt="" src="', $settings['images_url'], '/borde-derecho.gif" width="2"></td></tr></table>';
//Fin de Estadisticas del usuario 2.3 by Mr.Freack


Desde Admin > Paquetes > Descargar paquetes
:hi:
Ahora se queda cargando todo el rato
Debes esperara un poco o resube el add_compr.php a la raiz, endonde lo estás probando, en localhost?
Tienes que agregar al acciones-sp-1.1.js [este archivo está en la carpeta de tu theme] esto:
Busca:Citar//Funciones botones especiales
antes de eso pon esto:Citar//ajax en muro de comentarios by j0n4th4ntub3
function comentarmuro(comment,ID_MEMBER,userid){
if($('#comment').val() == ''){
$('#comment').focus();
$('#nohaypensamientomuro').show("slow");
return;
}
else{
$('#cargando_gif_muro').css('display', 'block');
$('#comment').attr('disabled', 'true');
$('#muro-btn').attr('disabled', 'true');
$('#nohaypensamientomuro').hide("slow");
$('#comentadormuro').slideUp("fast");
$.ajax({
type: 'POST',
url: '/add_compr.php',
data: 'ID_MEMBER='+ ID_MEMBER +'&userid='+ userid +'&comment='+ encodeURIComponent($('#comment').val()),
success: function(h){
$('#comentadormuro').slideDown("slow");
$('#comentadormuro').html(h);
$('#comment').css('color','#088A08');
$('#comment').val('agregado!');
$('#cargando_gif_muro').css('display', 'none');
},
error: function(){
$('#span_opciones1').addClass('status_error');
$('#span_opciones1').css('text-align', 'center');
$('#span_opciones1').removeClass('size10');
$('#span_opciones1').html('Error al intentar procesar lo solicitado');
$("#span_opciones1").slideDown("slow");
}
});
}
}
Con eso te deberían funcionar los comentarios :hi:
Tienes que agregar al acciones-sp-1.1.js [este archivo está en la carpeta de tu theme] esto:
Busca:Citar//Funciones botones especiales
antes de eso pon esto:Citar//ajax en muro de comentarios by j0n4th4ntub3
function comentarmuro(comment,ID_MEMBER,userid){
if($('#comment').val() == ''){
$('#comment').focus();
$('#nohaypensamientomuro').show("slow");
return;
}
else{
$('#cargando_gif_muro').css('display', 'block');
$('#comment').attr('disabled', 'true');
$('#muro-btn').attr('disabled', 'true');
$('#nohaypensamientomuro').hide("slow");
$('#comentadormuro').slideUp("fast");
$.ajax({
type: 'POST',
url: '/add_compr.php',
data: 'ID_MEMBER='+ ID_MEMBER +'&userid='+ userid +'&comment='+ encodeURIComponent($('#comment').val()),
success: function(h){
$('#comentadormuro').slideDown("slow");
$('#comentadormuro').html(h);
$('#comment').css('color','#088A08');
$('#comment').val('agregado!');
$('#cargando_gif_muro').css('display', 'none');
},
error: function(){
$('#span_opciones1').addClass('status_error');
$('#span_opciones1').css('text-align', 'center');
$('#span_opciones1').removeClass('size10');
$('#span_opciones1').html('Error al intentar procesar lo solicitado');
$("#span_opciones1").slideDown("slow");
}
});
}
}
Con eso te deberían funcionar los comentarios :hi:
resube el display.php y el display.template.php