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.


Topics - ascanio

Pages: 1 [2] 3 4 5
16
Hi everyone
Im trying to put css on the description field
Quote
<style> Body{background-color:FFFFFF;background-image:url(http://s1.simpload.com/1025435e4ee69e4d0.gif);}</style>
when i upload the image i just put that code on the description field and is insert on the database correctly cuz i change
this on the member.php file
Quote
  $image_description = un_htmlspecialchars(trim($HTTP_POST_VARS['image_description']));
for this
Quote
  $image_description = $HTTP_POST_VARS['image_description'];
but when i go to the gallery and i go to see a image the code show up different
there is some line of code that is replacing the http://s1.simpload.com/1025435e4ee69e4d0.gif for a link
so i would see this
Quote
<style> Body{background-color:FFFFFF;background-image:url(<a href="http://s1.simpload.com/1025435e4ee69e4d0.gif" target="_blank">http://s1.simpload.com/1025435e4ee69e4d0.gif</a>);}</style>
so the css will not work
how can i change that?
thanks

17
Espaņol / Castellano / codigo html y css en el campo description
« on: March 07, 2006, 09:28:12 PM »
Hola!
estoy intentando usar en campo descripcion para poner un codigo de css o html y luego mostrarlo en un input textarea como muestro en la imagen de abajo
pero si os dais cuanta 4image inserta unos <br> tags en el codigo
por lo tanto si alguien copia y pega el codigo dejaria de funciona
como puedo evitar eso? alguna idea?


18
Hola estoy intenando entonctrar el archivo php donde se encuentran los img tag que muesta los thumbnails en la pagina principal, categorias etc ... para poder ponerle esto width="200"
la razon por la que quiero hacer esto
es xq estoy usando {thumbnail} en la pagina detials.html ya que mi {image} tag es un archivo .txt entonces no se me ocurre otra manera de tener thumbnail + image +txt

entra en la pagina que estoy haciando por si no entiendes lo que estoy diciendo www.mspremade.com

gracias

19
Espaņol / Castellano / Estadisticas graficas
« on: March 02, 2006, 08:04:43 AM »
Hola excitex me ha encantado lo que has echo con las Estadisticas graficas
buen trabajo
podrias compartirlo?
http://www.excitex.net/galerias/estadisticas_graficas.php

20
Espaņol / Castellano / Mostrar TOP 10 en la pagina pricinpal
« on: March 02, 2006, 08:02:56 AM »
Hola a todos!
me gustaria saber si hay alguna forma de mostrar un top 10 by hits en el mismo formato que en la pagina top.html pero en home.html

Jaime Ascanio

21
hi every on I would like to know if is it possible to remove the <br> tags that the script add on the description section in add images on the control panel
Im going to use the description as a css code section so if i get those tags on the code it will not work



22
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM myspace_images i, myspace_categories c LEFT JOIN myspace_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) AND i.image_date >= 1134061441 ORDER BY RAND() LIMIT 3
Got error 122 from table handler
Hola, he recivido este error en mi galeria de un dia para el otro sin haber cambiado nada en mi pagina
alguien sabe que puedo hacer para arreglarlo?

23
Hi, from some day to the next with out modifging anything i got this error, what i should do to fix it
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM myspace_images i, myspace_categories c LEFT JOIN myspace_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) AND i.image_date >= 1134061441 ORDER BY RAND() LIMIT 3
Got error 122 from table handler

24
Mods & Plugins (Requests & Discussions) / php question (user rating)
« on: July 11, 2005, 03:17:02 PM »
hi i'm trying to make a user rating so the user can vote others users like the  Karma system in this forum

i'm a newbie in php but i have almost finished

i have this code

Code: [Select]
$total = $vote_a+$vote_b+$vote_c+$vote_d+$vote_e;
$sum = round(((($vote_a*1)+($vote_b*2)+($vote_c*3)+($vote_d*4)+($vote_e*5))/$total)*2 , 2);

but when the $total is cero i get this error

Quote
Warning: Division by zero in /home/ascanio/domains/girlsandgirls.net/public_html//index.php on line 66

what can i do?

25
Espaņol / Castellano / [MOD] Hot or Not
« on: July 02, 2005, 09:52:21 PM »
Demo: http://www.girlsandgirls.net/details.php?image_id=6197


abrir rate_form.html borra todo el contenido y substituyelo por este

Code: [Select]
<FORM action={self} method=post target=_top>
  <TABLE borderColor=#000000 cellSpacing=0 cellPadding=0 width=331>
    <TBODY>
      <TR vAlign=center>
        <TD align=middle width="462"> <TABLE borderColor=#000000 cellSpacing=0 cellPadding=1 width="100%" border=1>
            <TBODY>
              <TR vAlign=center>
                <TD align=middle> <TABLE width=254 border=0>
                    <TBODY>
                      <TR>
                        <TD align=middle colSpan=3 width="418"> <b class="title"> <font size="4">{image_name}</font></b>{if image_is_new} <sup class="new">{lang_new}</sup>{endif image_is_new} <font size="2"><b>&nbsp; Vota Me!</b></font></TD>
                      </TR>
                      <TR>
                        <TD width="62"></TD>
                        <TD align=middle width="319"> <table border="0" cellspacing="1" width="100%">
                            <tr>
                              <td align="center">1</td>
                              <td align="center">2</td>
                              <td align="center">3</td>
                              <td align="center">4</td>
                              <td align="center">5</td>
                              <td align="center">6</td>
                              <td align="center">7</td>
                              <td align="center">8</td>
                              <td align="center">9</td>
                              <td align="center">10</td>
                            </tr>
                            <tr>
                              <td><input type="radio" value="1" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="2" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="3" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="4" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="5" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="6" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="7" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="8" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="9" name="rating"></td>
                              <td><input onclick=submit() type="radio" value="10" name="rating"></td>
                            </tr>
                          </table></TD>
                        <TD width="29"></TD>
                      </TR>
                      <TR>
                        <TD width="62"><FONT color=#006699 size=2><B>NOT</B></FONT></TD>
                        <TD align=middle width="319"> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                            <TBODY>
                              <TR height=5>
                                <TD bgColor=#f00000> <img border="0" src="{template_url}/images/hotornot.png" width="261" height="12"></TD>
                              </TR>
                            </TBODY>
                          </TABLE></TD>
                        <TD width="29"><FONT color=#cc3300 size=2><B>HOT</B></FONT></TD>
                      </TR>
                    </TBODY>
                  </TABLE></TD>
              </TR>
            </TBODY>
          </TABLE></TD>
      </TR>
    </TBODY>
  </TABLE>
  <input type="hidden" name="action" value="rateimage">
  <input type="hidden" name="id" value="{image_id}">
</FORM>


salva esta imagen en template/tutemplate/images/

http://69.56.196.226/~ascanio/myspacepics/show.php/144/hotornot.jpg
abrir include constants.php

buscar

Code: [Select]

// Max rating value
define('MAX_RATING', 5);


Code: [Select]
// Max rating value
define('MAX_RATING', 10);

en details.html

pon {rate_form} donde kieras que aparezca la tabla de votacion hot or not



26
Chit Chat / PHP Help forums
« on: June 26, 2005, 12:36:10 AM »
hi, does anyone knows a good forum where i can get some php help about image resize on upload?

27
hi every one is there any way to make a redirect when a user edit his proflie and when he finish editing his profile and press the button go to his profile or member.php?action=showprofile&user_id={user_id}

thanks

28
hi every one,

Is there anyway to put in the profile when a user select private email put this user has private email or something like that I don't like to see a blank space in the profiles.

thanks

29
Espaņol / Castellano / Como arreglo este error?
« on: May 17, 2005, 11:01:38 PM »
Hola a todos, hoy he reinstaldo mi galeria en otro servidor y todo ha ido bien menos un error que me sale cuando entro en las categorias el error es el siguiente:

Code: [Select]
Warning: fopen(slideshow_-1.xml): failed to open stream: Permission denied in /home/bhfqyruw/public_html/categories.php on line 220
como puedo arreglarlo?

30
Espaņol / Castellano / que quiere decir este error?
« on: May 16, 2005, 04:32:43 PM »
Quote
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 709 is not allowed to access /home/ascanio/domains/girlsandgirls.net/public_html/chicasmsn/data/media/126 owned by uid 48 in /home/ascanio/domains/girlsandgirls.net/public_html/chicasmsn/includes/upload.php on line 124

Pages: 1 [2] 3 4 5