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 - ascanio

Pages: [1] 2 3 4 5 ... 35
when i use the change owner option using the 1.7.4 i get a white screen ... the rest of the options works but not the multi change owner tool
could you check that please?

Español / Castellano / Re: Mostrar TOP 10 en la pagina pricinpal
« on: September 10, 2007, 12:47:02 AM »
muchas gracias!!!
pues ya llevo un año viviendo en madrid (estudiando y trabajando) , pero sigo visitando mis islas :)
y tu que tal?

Español / Castellano / Re: Mostrar TOP 10 en la pagina pricinpal
« on: September 09, 2007, 09:54:07 PM »
hola!! cuanto tiempo eh! estoy intentando usar este mod con la 1.74 y
me da este error

Code: [Select]
DB Error: Bad SQL Query: SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND i.cat_id = c.cat_id ORDER BY i.image_hits DESC, i.image_name ASC LIMIT 10
Unknown column 'i.user_id' in 'on clause'


Español / Castellano / Re: [MOD] Integrar Google VIDEO y YouTube
« on: August 24, 2007, 09:34:40 PM »
add this code on member_uploadform.html to allow users upload videos
Code: [Select]
            <td class="row2"><b>{lang_youtube_id}</b></td>
            <td class="row2"><input type="text" name="youtube_id"  size="30" value="{youtube_id}" class="input" /></td>

hello every one
im trying to do this

Code: [Select]
$sql = "SELECT youtube_id
       WHERE image_id = $image_id";
$image_row = $site_db->query_firstrow($sql);

so i can use the youtube_id inside of the thumbnail function and i also had to add $site_db
but when i did this it worked but it slowed down the home page

did i made something wrong?


Code: [Select]
function get_thumbnail_code($media_file_name, $thumb_file_name = "", $image_id, $cat_id, $image_name = "", $mode = "", $show_link = 1, $open_window = 0) {
  global $site_db, $site_sess, $config, $user_info, $setting;

$sql = "SELECT youtube_id
       WHERE image_id = $image_id";
$image_row = $site_db->query_firstrow($sql);

$thumbnails_rating = $config['starrating_thumbs'];

  if (!check_media_type($media_file_name)) {
    $thumb = "<img src=\"".ICON_PATH."/404.gif\" border=\"0\" alt=\"\" />";
  else {
    if (!get_file_path($thumb_file_name, "thumb", $cat_id, 0, 0)) {
      $file_src = ICON_PATH."/".get_file_extension($media_file_name).".gif";
      $image_info = @getimagesize($file_src);
      $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
      $thumb = "<img src=\"".$file_src."\" border=\"0\"".$width_height." alt=\"".$image_name."\" />";
    else {
      $file_src = get_file_path($thumb_file_name, "thumb", $cat_id, 0, 1);
      $image_info = @getimagesize($file_src);
      $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
        $thumb = "<img src=\"".$file_src."\" border=\"".$config['image_border']."\" width=\"128\" alt=\"".$image_name."\" onMouseOver=\"mousOverImage(this,'".$image_row['youtube_id']."',1)\" onMouseOut=\"clearTimeout(timer)\" />";

// ################## Start Mod Star Rating * Mouseover/ Hover * Rating without pagereload ##############
    if (check_permission("auth_vote", $cat_id)) {
      $thumb .= rating_bar(''.$image_id.'','$thumbnails_rating_images','$rating_images','$thumbnails_rating_image_width',''.$thumbnails_rating.'');
    else {
      $thumb .= rating_bar(''.$image_id.'','$thumbnails_rating_images','$rating_images','$thumbnails_rating_image_width',''.$thumbnails_rating.'');
// ################## End Mod Star Rating * Mouseover/ Hover * Rating without pagereload ##############

  if ($show_link) {
    if ($open_window) {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".$thumb."</a>";
    else {
      $thumb = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$thumb."</a>";
  return $thumb;

Español / Castellano / Re: Problema en header.html
« on: August 22, 2007, 01:20:26 PM »
Hola encontre la solucion a tu problema:
by V@no:
there are some characters showed on top of each page. . I've experienced such myself in the past, and it turned out caused by my php editor that saved files in Unicode (UTF-8) encoding and added "BOM" identifications at the beginning of each file. Normaly any editor that supports Unicode/UTF8 does not show these characters, but PHP seems to treat them as a plane text and send them to the browser as plain text.

So, make sure you save your files in 8-bit ecoding (ISO) and not in unicode.

P.S. if you copy text from a web page that uses Unicode or UTF-8 and then paste it into notepad/wordpad and save it, it will save the file in Unicode or UTF-8 encoding.

hello everyone
all images in my gallery are pngs and i would like to convert them to jpgs
and my png are like 150 kb and if i convert them to jpg would be like 50kb
is there any function to convert them automaticaly

Hola a todos! me gustaria saber si seria posible poder crear un archivo xml donde contenga todas las imagenes de la galeria

el formato xml que nesesito seria algo asi

<?xml version="1.0"?>
      <caption><![CDATA[Colorful Layout]]></caption>

asi con todas las imagenes de la galeria
podrias ayurdarme??

Mods & Plugins (Requests & Discussions) / Re: [MOD] Top uploaders v1.0
« on: October 14, 2006, 03:00:52 PM »
esta muy guapo el mod! gracias por compartirlo nacho! xD

awesome!! just what i wanted! V@no u rock!
thanks :)

Hi im trying to modify the validateimages.php cuz i don't want to be able to change the owner of the image when i validate an image
and anther reason is becuase it takes a lot of time more than 50 seconds to load the whole list of users so it make the process of validation really slow, ive been trying to makes the changes myself but when i save validate the image it change the owner to the admin

i know that what i have to change is this line right here but i don't know how to change it

show_user_select_row($lang['user'], $image_row['user_id']);

this is what is would like to have

how can i use this on a linux server?

Hi everyone how could i send a private message to all my users using phpmyadmin or making a modification in the mod
any ideas of how the queri would be?

Chit Chat / Re: How many uniques are you making??
« on: May 28, 2006, 05:32:04 PM »
this is a good statistic tool for ur site
just sign up there and put the code on the footer.html

Pages: [1] 2 3 4 5 ... 35
Post your comments here