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

Pages: [1]
1
Ahora sí.
muchas gracias

2
Gracias lo voy a probar ahora mismo, no se yo entonces donde he visto que habia que poner el codigo en images y details.

3
ESTO EN IMAGES.PHP

  $title = $lang['field_description_ext'].((isset($file_src)) ? get_iptc_insert_link($file_src, "caption", "image_description") : "");
  show_textarea_row($title, "image_description", $image_row['image_description'], $textarea_size);

  $title = $lang['field_keywords_ext'].((isset($file_src)) ? get_iptc_insert_link($file_src, "keyword", "image_keywords") : "");
  show_textarea_row($title, "image_keywords", $image_row['image_keywords'], $textarea_size);

  show_cat_select_row($lang['field_category'], $image_row['cat_id'], 3);
  show_user_select_row($lang['user'], $image_row['user_id']);

  $title = $lang['field_date'].$lang['date_desc'].$lang['date_format'].((isset($file_src)) ? get_iptc_insert_link   ($file_src, "date_created", "image_date", 0) : "");
  show_input_row($title, "image_date", $image_row['image_date'], $textinput_size);
  show_radio_row($lang['field_allow_comments'], "image_allow_comments", $image_row['image_allow_comments']);
  show_additional_fields("image", $image_row, IMAGES_TABLE);
  show_form_footer($lang['save_changes'], $lang['reset'], 2, "", " onClick='showProgress()'");
   :arrow:  $additional_image_fields['descripcion2'] = array($lang['descripcion2'], "textarea", 1);   

}
if ($action == "saveimages") {
  $date = time();
  $ip = getenv("REMOTE_ADDR");
  $error_msg = "";
  $num_newimages = $HTTP_POST_VARS['num_newimages'];


ESTO EN DETAILS.PHP

  }
}
else {
  $prev_image_name = REPLACE_EMPTY;
  $prev_image_url = REPLACE_EMPTY;
  $prev_image_file = REPLACE_EMPTY;
  $prev_thumb_file = REPLACE_EMPTY;
}

$site_template->register_vars(array(
  "next_image_id" => $next_image_id,
  "next_image_name" => $next_image_name,
  "next_image_url" => $next_image_url,
  "next_image_file" => $next_image_file,
  "next_thumb_file" => $next_thumb_file,
  "prev_image_id" => $prev_image_id,
  "prev_image_name" => $prev_image_name,
  "prev_image_url" => $prev_image_url,
  "prev_image_file" => $prev_image_file,
  "prev_thumb_file" => $prev_thumb_file
));
unset($next_prev_cache);
    :arrow:  $additional_image_fields['descripcion2'] = array($lang['descripcion2'], "textarea", 1);

//-----------------------------------------------------
//--- Save Comment ------------------------------------
//-----------------------------------------------------
$error = 0;
if ($action == "postcomment" && isset($HTTP_POST_VARS[URL_ID])) {
  $id = intval($HTTP_POST_VARS[URL_ID]);
  $sql = "SELECT cat_id, image_allow_comments
          FROM ".IMAGES_TABLE."
          WHERE image_id = $id";
  $row = $site_db->query_firstrow($sql);

ESTO EN LANG/SPANISH/MAIN.PHP


$lang['image_file_required'] = "¡Elige un Archivo de Imagen!";
$lang['new_upload_emailsubject'] = "Nuevo envío a {site_name}";
$lang['new_upload_validate_desc'] = "Tu imagen será validada una vez que esto sea revisado.";
   :arrow:  $lang['descripcion2] = "Carasteristicas técnicas:";
//-----------------------------------------------------
//--- Caja de Favoritos -------------------------------
//-----------------------------------------------------
$lang['lightbox_no_images'] = "No hay imágenes guardadas en su caja de favoritos.";

Es que no sabia donde ponerlo y la verdad que lo he puesto a boleo..., el campo de la BBDD se llama igual = descripcion2


4
Español / Castellano / Re: ayuda con instalacion
« on: June 23, 2005, 07:12:59 PM »
Si esta en tu maquina prueba a utilizar el usuario root;
Si esta en un servidor remoto ¿le has metido la contraseña?


5
Español / Castellano / Re: ayuda con instalacion
« on: June 23, 2005, 07:05:49 PM »
El servidor es remoto o lo tienes en tu maquina??

6
Mods & Plugins (Requests & Discussions) / Add new text field
« on: June 23, 2005, 06:52:11 PM »
How can i do to add a new text field???
I follow the intructions of includes/db_field_descriptions.php but it doesnt work , someone know how to do it?
Thanks

7
Exactamente sobre la 399 en images.php  y 487 en details.php ;

8
Sobre la línea 500

9
Español / Castellano / Como agregar más campos de texto...problemas
« on: June 22, 2005, 04:45:41 PM »
Hola a todos/as ; estoy intentando agregar más campos de texto, he seguido las instrucciones del archivo db_field_definitions.php,

$additional_image_fields['%column_name%'] = array("%field_description%", "%admin_field_type%", %is_required%);  lo convierto

en   $additional_image_fields[descripcion2] = array($lang['descripcion2'], "textarea", 1);

Luego una copia de esta nueva variable o array a images.php, otra a details.php y en main.php añado= $lang['descripcion2'] = "Descripcion completa:";

Pues bien el panel de control (agregar imagenes) me muestra este campo al que yo añado texto, y he visto con phpmyadmin que lo ha metido en el campo descripcion2 de mi base de datos,pero no los saca, en details.html lo pongo como lang_descripcion2, o descripcion2 , o image_descripcion2; pero nada, alguien que hubiera tenido el mismo problema o que sepa como es, podría postear el fallo o como se hace ?

Gracias

Pages: [1]