Autor Tema: AYUDA  (Leído 761 veces)

Desconectado tu

  • PHPerit@
  • *
  • Mensajes: 2
  • Karma: 0
    • Ver Perfil
AYUDA
« en: 09 de Octubre de 2008, 20:27:03 pm »
Tengo instalado y listo el MC v12.5 pero tengo un problema, que es que en lugar de salir placas automaticas, salen Habbos del habbo imager. Yo lo que quiero es tener la placa y el habbo !!
Pero nose hacerlo :(
Diganme porfavoorrR!!

Comunidad PHPeros

AYUDA
« en: 09 de Octubre de 2008, 20:27:03 pm »

Desconectado Don-Face

  • PHPerit@
  • *
  • Mensajes: 5
  • Karma: 0
    • Ver Perfil
Re: AYUDA
« Respuesta #1 en: 09 de Octubre de 2008, 20:34:22 pm »
como asi simultaneamente la placa y el habbo osea que   hagamos de cuenta que este es la placa  O0   y este el habbo  :laugh:  entonces saldria asi?  O0 :laugh:

postea el archivo funciones.php  y el tag.php yo veo en que te peudo colaborar
« Última modificación: 09 de Octubre de 2008, 20:37:57 pm por Don-Face »

Desconectado tu

  • PHPerit@
  • *
  • Mensajes: 2
  • Karma: 0
    • Ver Perfil
Re: AYUDA
« Respuesta #2 en: 09 de Octubre de 2008, 23:27:19 pm »
Si mira, como el minichat de onhabbo.es
http://onhabbo.webcindario.com/mc/

tag.php

Citar
<?
session_start();
session_cache_limiter('nocache,private');

include("configtag.php");
include("conectar.php");
include("colores.php");
include("funciones.php");
include("language/lang-".$langactual.".php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="Minichat ">
<meta name="Author" content="Lokitox">
<meta name="Generator" content="Minichat">
   <title>Minichat</title>
<?

// opcion de actualizacion cada x tiempo configurable
if ($activarTiempo == "on")
   echo "<meta http-equiv='Refresh' content='".$tiempo."'>";
   
?>
   <link REL="STYLESHEET" HREF="style.css" TYPE="text/css">
<style type="text/css">
<!--
.CampoTexto {
   font-size: 10px;
   font-family: verdana;
   border: 1px solid <? echo $bordecampo; ?>;
   background: <? echo $fondocampo; ?>;

}
.Texto {
   font-family: Verdana;
   font-size: 10px;
   font-style: normal;
   color: <?=$colortexto; ?>;
}
   
-->
</style>
<script language="javascript">
function perfil(URL) {
   day = new Date();
   id = day.getTime();
   eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=150,height=124,left = 152,top = 134');");
}

</script>
</head>
<body bgcolor="<?=$colorfondo; ?>">
<table border="0" cellpadding="0" cellspacing="0" bgcolor="<? echo $fondotabla ?>"
style="border-left: 1px solid <? echo $bordetabla ?>; border-right: 1px solid <? echo $bordetabla ?>; border-top: 1px solid <? echo $bordetabla ?>; border-bottom: 1px solid <? echo $bordetabla ?>;"
width="100%" height="100%"><tr>
<?
if ($numMensajes == 0)
  $query = "SELECT * FROM `mensajes` order by id desc";
else
  $query = "SELECT * FROM `mensajes` order by id desc limit $numMensajes";
 
$resp = @mysql_query($query);
$rows = @mysql_num_rows($resp);

if (!$rows) {
?>
<td class="Texto" align="center">
<font color="#cc0000">
<? echo _EMPTY; ?>
</font>
</td>
<?
} else {
?>
<td class="Texto" align="center" valign="top">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<?
$i = 0;
while ($mensajes = mysql_fetch_array($resp)) {

$nuevo = "";

   if ($i % 2 == 0)
      $bg = $cpar;
   else
      $bg = $cimpar;
   
if ($mensajes['usuario'] == -1) {
         $nombre = $mensajes['nombre'];
         $rol = "Visitante";
         $subnicks = "";
}
      else {
         $query2 = "SELECT * FROM `usuarios` WHERE id = '".$mensajes['usuario']."'";
         $resp2 = @mysql_query($query2);
         $rows2 = @mysql_num_rows($resp2);
         $user = @mysql_fetch_array($resp2);
         $nombre = $user['nick'];
         if ($user['rol'] == "0"){
         $rol = "0";
         if($user['subnick']){
         $subnicks = "<br><span style=font-size:8px>".$user['subnick']."</span>";}
else{
$subnicks = "";
}}
       else   {
         $rol = $user['rol'];
      if($user['subnick']){
         $subnicks = "<br><span style=font-size:8px>".$user['subnick']."</span>";}
else{
$subnicks = "";
}
         }
}
         // Unimos el mensaje a etiquetas HTML y miramos si el usuario ha introducido una url o un email
   $ips = $mensajes['ip'];
        $keko = '<img src="http://www.habbo.es/habbo-imaging/avatarimage?user='.$nombre.'&action=wav&direction=3&head_direction=3&gesture=sml&size=s" align="left">'; //Creado por NaxOxZ
   if(isset($_SESSION['nnick']) && esmod($_SESSION['nnick'])){
}
   else {
   $ips = md5($mensajes['ip']);
}
      if ($activarIp == "on")
          $nuevo .= "<a href=\"javascript:perfil('perfil.php?ip=".$ips."&nick=".$nombre."');\" class=\"EnlaceMenu\">";
      else { 
           $web = $mensajes['web'];
           if (eregi("@", $web)) {
             $web = "mailto:".$web;
             $nuevo .= "<a href=".$web." class=\"EnlaceMenu\" target=\"_blank\"><i>";
           } else if ($web != "" && $web != "http://") {
               if (!eregi("http://", $web)) {
                  $web = "http://".$web;
               }
               $nuevo .= "<a href=".$web." class=\"EnlaceMenu\" target=\"_blank\"><i>";
            }
      }

        $nuevo .= "<font color=\"".$mensajes['color']."\" title=\"".$rol."\">";
      
       $nuevo .= "<b>".$nombre."</b></a></font>";

      if ($activarIp == "on" && isset($_SESSION['nnick']) && esAdmin($_SESSION['nnick']))
         $nuevo .= "</a>";
      else if ($web != "" && $web != "http://");
        $nuevo .= "</i></a>";
        $nuevo .= "".$subnicks."<br> ".$keko." ".$mensajes['texto']."";


        if ($activarHora == "on")
          $nuevo .= "<br><font color=\"#cc0000\">".$mensajes['fecha']."</font>";

    $total = $nuevo;

?>
<tr>
<td class="Texto" bgcolor="<?=$bg; ?>" style="border-bottom: 1px solid <?=$bordetabla ?>">
<? echo $total; ?>
</td>
</tr>
<? $i ++; } ?>
</table></td>
<? } ?>
</tr>
</table>
</body>
</html>
<? if ($raton == "on") {?>
<? }?>
<script language="Javascript">

<!-- Begin

document.oncontextmenu = function(){return false}

// End -->

</script>
<script language="JavaScript">

<!-- Begin

function right(e) {

var msg = "  [ Función desactivada - Habbotechno.Com ] ";

if (navigator.appName == 'Netscape' && e.which == 3) {

alert(msg);  // Delete this line to disable but not alert user

return false;

}

else

if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {

alert(msg); // Delete this line to disable but not alert user

return false;

}

return true;

}

document.onmousedown = right;

// End -->

</script>

Desconectado Don-Face

  • PHPerit@
  • *
  • Mensajes: 5
  • Karma: 0
    • Ver Perfil
Re: AYUDA
« Respuesta #3 en: 10 de Octubre de 2008, 01:16:53 am »
aja ahi ya tienes el keko entonces necesitas las placas para las placas es en el archivo funciones.php

Desconectado Deviljoker

  • PHPer@
  • **
  • Mensajes: 67
  • Karma: 0
    • Ver Perfil
Re: AYUDA
« Respuesta #4 en: 10 de Octubre de 2008, 17:36:09 pm »
En el funciones solo deverias incorporar la placa que ya te viene en los otros MC's coje las placas y el funciones que sea igual y lo cambias y ya estara.