Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - live@ct

Pages: 1 2 3 4 5 [6] 7 8 9 10 11
76
I try this and its working, now a simple problem...

when you already voted, this display the msgs that says that you akready voted, but it display a java script error:

document.getElementByld(...) that its null  or itsnot and object

thanks for your help

77
Mods & Plugins (Releases & Support) / Re: [MOD] Last comments v1
« on: May 10, 2006, 04:08:36 AM »
how can I integrate this script to cut the last comments in a numbers of characters

I found this code

Code: [Select]
function limit_string($cadena,$limite)
{
    $cadena=explode('<rup> ',wordwrap( $cadena, $limite,'<rup>'));
    return $cadena[0]."...";
}

$cadena="Este es un texto de prueba para ver el funcionamiento de la funcion
de cortar el texto sin cortar las palabras";

echo limit_string($cadena,50);

78
encontre este codigo para cortar parrafos espero me puedan ayudar a integrarlo a la galeria, para el mod de ltest comments in pictures

Code: [Select]
<?
function limit_string($cadena,$limite)
{
    $cadena=explode('<rup> ',wordwrap( $cadena, $limite,'<rup>'));
    return $cadena[0]."...";
}

$cadena="Este es un texto de prueba para ver el funcionamiento de la funcion
de cortar el texto sin cortar las palabras";

echo limit_string($cadena,50);

?>

79
igual y ando perdido pero donde puedo poner q se ordenen por nombre mis ultimas imagenes nuevas?!?!?!
ya le movi al panel de control pero no siguen ordenando por fecha
estaba pensando q a lo mejor es por el orden en q puse q se acomodaran las imagenes de la categoria pero aun asi quisiera q el orden de las imagenes nueva sea diferente

gracias

80
Hola alguien sabe como se podria hacer para cortar los ultimos mensajes escritos a las imagenes, esos que se muestran al inicio de la galeria?!?!
Tengo instalado el MOD Lasta comments on images creo asi se llama...

y pues me muestra los comentarios q escriben los usuarios pero hay usuarios q escriben msgs muy largos q hacen q la estructura de la pagina se alargue demasiado
entonces quisiera saber como hacerle para cortar esos msgs a un numero determinado de caracteres y q cuando pulsen en la imagen en su respectiva seccion de mensajes puedan ver el msg completo...

gracias por su ayuda

81
it will be interesting this mod can help me alot! if you can publicate it will be great

82
In one reply of the MOD Avatar 2.0.1
in the add on for select the avatar when register
http://www.4homepages.de/forum/index.php?topic=3978.msg32232#msg32232

It says something about conditional tags, and when a user asked for this bug you refer to this topic, conditional tags
this conditionals didnt work for me  :(
when i check my form the only thing that I wach its this:


I hope this can help
thanks for your help


83
and how to annotate like the anotate of vano site that ads a black section at the bottom?!?!

thanks

and for the error that I posted anyone?" can help?"!?

84
for the 1.7 version ?!?!
because in the avatar mod that has this structure

Code: [Select]
Avatar:
{if user_avatar_file} Upload avatar:
Max. allowed 50x50px
ODER
{endif user_avatar_file} Select from the list:    {if user_avatar_file}

{endif user_avatar_file}

it didt show
thanks for your help!

85
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: May 04, 2006, 09:59:24 AM »
How can I add the avatar selection in the register form?!?!?!

thanks for your help!!

87
muchas gracias!!  :D :D

88
im having the same problem

No category selected, nothing to annotate...

Finished!

what I need to do to correct that problem?!?!?!

thanks

89
Mods & Plugins (Requests & Discussions) / Re: a question 2 v@no
« on: April 24, 2006, 04:26:29 AM »
why some smiles didnt show this is my code

Code: [Select]
function smilies($text,$enablesmilies = 1) {
  global $smileyfromcache, $smileytocache;
  $imagesdir = TEMPLATE_PATH."/smiles";
  if(gettype($smileyfromcache) != "array") {
   $smilesfrom = get_smiles();
   foreach ($smilesfrom as $key => $val) {
           $smileyfromcache[] ='/(((>[^<]*)|(^[^<]*))([\s\n\r]|^|<br( \/)?[>]))('.str_replace('|','\|', quotemeta(str_replace("<", "&lt;", str_replace(">", "&gt;", str_replace("\/", "\\\/", $key))))).')/s';
           $smileytocache[] = "\\1<img src=\"$imagesdir/$val.gif\" alt=\"\" border=\"0\">";
   }
  }
  if ($enablesmilies) {
   $text = parsesmilies($text);
  }
  return $text;
}
function parsesmilies($text) {
  global $smileyfromcache, $smileytocache;
  $oldtext = "";
  while($oldtext != $text) {
   $oldtext = $text;
   $text = preg_replace($smileyfromcache, $smileytocache, $text);
  }
  return $text;
}
function get_smiles(){
      $smilesfrom = array(
               ":)" => "happy",
               "(:" => "happy",
               ":-))" => "laughing",
               ":lol:" => "laughing",
               ":D" => "big_grin",
               ":O" => "surprise",
               ":o" => "surprise",
               ";)" => "winking",
               ":wink:" => "winking",
               ":(" => "sad",
               ":*(" => "crying",
               ":cry:" => "crying",
               ":confused:" => "confused",
               ":shy:" => "blushing",
               ":vicious:" => "smug",
               ":|" => "straight_face",
               ":pig:" => "pig",
               ":P" => "tongue",
               ":p" => "tongue",
               "B)" => "cool",
               ":B" => "nerd",
               "X(" => "angry",
               ":X" => "love_struck",
               "|)" => "sleepy",
               "=;" => "talk_to_the_hand",
               "@};-" => "rose",
               "):)" => "cowboy",
               "8X" => "skull",
               "=:)" => "alien",
               "0:)" => "angel",
               ":devil:" => "devil",
               ":clown:" => "clown",
               "3:O" => "cow",
               "3:o" => "cow",
               ":monkey:" => "monkey",
               "(~~)" => "pumpkin",
               "[-(" => "not_talking",
               "*:)" => "idea",
               ":$" => "dont_tell_anyone",
               ":chicken:" => "chicken",
               "~o)" => "coffee",
               "%%-" => "good_luck",
               "b(" => "feeling_beat_up",
               ":E:" => "peace_sign",
               ":&" => "sick",
               "=*" => "kiss",
               ";;)" => "batting_eyelashes",
               ":?)" => "raised_eyebrow",
               "(%)" => "yin_yang",
               "o-+" => "april",
               ":billy:" => "billy",
               ":hiro:" => "hiro",
               ":mad:" => "frustrated",
               ":R:" => "praying",
               "[-x" => "shame_on_you",
               "[:D]" => "big_hug",
               ":dance:" => "dancing",
               "=D" => "applause",
               "(?)" => "thinking",
               ":^o" => "liar",
               "@)" => "hypnotized",
               "8|" => "rolling_eyes",
               "8}" => "silly",
               "?|" => "yawn",
               "=p~" => "drooling",
               "$)" => "money_eyes",
               ":whistle:" => "whistling",
               "#o" => "doh",
               ":alien:" => "bug",
               ":S" => "worried",
   "~X(" => "at_wits_end",
   "o=>" => "billy",
   ">:b" => "bring_it_on",
   "=((" => "broken_heart",
   ":-c" => "call_me",
   ":-@" => "chatterbox",
   "8->" => "daydreaming",
   ";))" => "hee_hee",
   ":-??" => "i_dont_know",
   "L-)" => "loser",
   ":-SS" => "nailbiting",
   "%-(" => "not_listening",
   "^:)^" => "not_worthy",
   ":-j" => "oh_go_on",
   ":)]" => "on_the_phone",
   "<:-p" => "party",
   ">:-p" => "phbbbbt",
   "=))" => "rolling_on_the_floor",
   ":-<" => "sigh",
   "(*)" => "star",
   ":-t" => "time_out",
   ":-w" => "waiting",
   ":-h" => "wave",
   "w:-S" => "whew",
   
         );

   return $smilesfrom;
}
function get_smiles_text() {
     $smilesfrom = get_smiles();
     $val_old = "";
     $i = 0;
     $val_old = array();
        foreach ($smilesfrom as $key => $val) {
           if (!in_array($val, $val_old)) {
              $smiles_text .= "<a href=\"javascript:emoticon('$key')\"><img src=\"".TEMPLATE_PATH."/smiles/$val.gif\" alt=\"$key\" border=\"0\"></a> ";
            }
            $val_old[] = $val;
            $i++;
            if ($i > 100) {
               $smiles_text .= "<a href=\"smiles.php\" onclick=\"window.open('smiles.php', '_4imagessmilies', ',',',',','HEIGHT=310,resizable=yes,scrollbars=yes,WIDTH=225');return false;\" target=\"_4imagessmilies\">&nbsp;&nbsp;&nbsp;Mostrar Todas</a>";
            return $smiles_text;
            }
   }
   return $smiles_text;
}
//------End Smiles-------

the smilies like <:-p dindt show, it show like text and didnt show the image


thanks for your help

90
Hola quisiera saber como le puedo hacer q las nuevas imagenes q aparecen al inicio de la galeria sean las nuevas imagenes de una categoria en especial y no de toda la galeria

gracias por su ayuda! :D

Pages: 1 2 3 4 5 [6] 7 8 9 10 11