Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Resuelto]: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube  (Read 13838 times)

0 Members and 1 Guest are viewing this topic.

NicoMansi

  • Coppermine newbie
  • Offline Offline
  • Posts: 2

EL TITULO LO DICE TODO..
HAY ALGUN MOD PARA QUE PUEDA PONER VIDEOS DE YOUTUBE EN ALGUN ALBUM?

ESPERO SUS RESPUESTAS..

ATTE NICO MANSI..
« Last Edit: December 06, 2008, 11:04:18 pm by Fabricio Ferrero »
Logged

Fabricio Ferrero

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #1 on: November 13, 2008, 09:17:51 pm »

Si, la hay, y además, te esucho fuerte y claro.. No hay necesidad de usar mayúsculas..

Quiero hacer una aclaracion antes de continuar, y es que se necesitan conocimientos extras para hacer funcionar este MOD, los cuales los puedes adquirir buscando y leyendo información al respecto. Este MOD funciona perfectamente, y no produce ningún error, por lo tanto, si sigues todo al pie de la letra, no debe aparecer nada imprevisto. ok? Vamos,

Demo: http://gelipo.com/members/Nibbler/pictures/61993

Vas a necesitar otras cosas extra:


Luego, vamos a cambiar los siguientes archivos:
Primero upload.php, luego theme.php.

Edita upload.php, agregá este código al principio del archivo, luego de los comentarios de los desarrolladores:

Code: [Select]
if (!function_exists('file_put_contents')) {
function file_put_contents($n,$d) {
$f=@fopen($n,"w");
if (!$f) {
return false;
} else {
fwrite($f,$d);
fclose($f);
return true;
}
}
}


Luego buscá:
Code: [Select]
       // Add the control device.
            $form_array[] = array('control', 'phase_1', 4);

Antes de eso, agrega:
Code: [Select]
// Youtube
           if (USER_ID) {
            $form_array[] = 'Youtube uploads';
              $form_array[] = array('', 'YT_array[]', 0, 256, 3);
              $form_array[] = 'Note: YouTube videos must be added in the form http://www.youtube.com/watch?v=xxxxxxxxxxx';
}

Busca:
Code: [Select]
//Now we must prepare the inital form for adding the pictures to the database, and we must move them to their final location.
Y antes de eso agrega:
Code: [Select]
  // youtube
   
   $YT_array = count($_POST['YT_array']);

if ($YT_array) {
$YT_failure_array = array();

for ($counter = 0; $counter < $YT_array; $counter++) {

// Create the failure ordinal for ordering the report of failed uploads.

$failure_cardinal = $counter + 1;

$failure_ordinal = ''.$failure_cardinal.'. ';
           
$YT_URI = $_POST['YT_array'][$counter];

if (!$YT_URI) continue;


if (preg_match('/youtube\.com\/watch\?v=(.*)/', $YT_URI, $matches)){

$vid = $matches[1];
                     
$xurl = "http://www.youtube.com/api2_rest?method=youtube.videos.get_details&dev_id=xxxxxxxxxxx&video_id=$vid";
                     
$xdata = file_get_contents($xurl);

file_put_contents($CONFIG['fullpath'] . "edit/yt_$vid.xml", $xdata);

// todo: parse the xml properly
if (preg_match('/<thumbnail_url>(.*)<\/thumbnail_url>/', $xdata, $xmatches)){

$thumbnail = $xmatches[1];

$rh = fopen($thumbnail, 'rb');
$wh = fopen($CONFIG['fullpath'] . "edit/yt_$vid.jpg", 'wb');


        while (!feof($rh)) fwrite($wh, fread($rh, 1024));

fclose($rh);
fclose($wh);
     
$escrow_array[] = array('actual_name'=>"youtube_$vid.jpg", 'temporary_name'=> "yt_$vid.jpg");

} else {
$YT_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $YT_URI, 'error_code'=> $xdata);
}
             
             } else {
                 $YT_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $YT_URI, 'error_code'=> 'Failed to find video');
             }
         }
     }

En esa sección del código debes reemplazar "xxxxxxxxxxx" con tu ID de developer the youtube.

Luego, buscá:
Code: [Select]
  $zip_error_count = count($zip_failure_array);
Y agregá en la linea de abajo:
Code: [Select]
  $YT_error_count = count($YT_failure_array);
Busca:
Code: [Select]
    // Create error report if we have errors.
    if (($file_error_count + $URI_error_count + $zip_error_count) > 0) {

Y reemplazalo por:
Code: [Select]
   // Create error report if we have errors.
    if (($file_error_count + $URI_error_count + $zip_error_count + $YT_error_count) > 0) {

Busca:
Code: [Select]
             // Close the error report table.
        endtable()

Antes de eso, colocá:
Code: [Select]
                // Look for YT upload errors.
        if ($YT_error_count > 0) {

            // There are URI upload errors. Generate the section label.
            form_label("YT errors:");
            echo "<tr><td>URI</td><td>Error message</td></tr>";

            // Cycle through the file upload errors.
            for ($i=0; $i < $YT_error_count; $i++) {

                // Print the error ordinal, file name, and error code.
                echo "<tr><td>{$YT_failure_array[$i]['failure_ordinal']} {$YT_failure_array[$i]['URI_name']}</td><td>{$YT_failure_array[$i]['error_code']}</td></tr>";

            }

        }


Busca:
Code: [Select]
                $form_array = array(
        sprintf($lang_upload_php['max_fsize'], $CONFIG['max_upl_size']),
        array($lang_upload_php['album'], 'album', 2),
        array('MAX_FILE_SIZE', $max_file_size, 4),
        array($lang_upload_php['picture'], 'userpicture', 1, 1),
        array($lang_upload_php['pic_title'], 'title', 0, 255, 1),
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
        array('event', 'picture', 4)
        );

Y reemplazalo por:
Code: [Select]
  if (preg_match('/^youtube_(.*)\.jpg$/', $file_set[0], $ytmatches)){

         $vid = $ytmatches[1];

$xdata = file_get_contents($CONFIG['fullpath'] . "edit/yt_$vid.xml");


// todo: parse the xml properly
preg_match('/<description>(.*)<\/description>/', $xdata, $xmatches);
$description = substr($xmatches[1], 0, $CONFIG['max_img_desc_length']);

// todo: parse the xml properly
preg_match('/<tags>(.*)<\/tags>/', $xdata, $xmatches);
$keywords = $xmatches[1];

// todo: parse the xml properly
preg_match('/<title>(.*)<\/title>/', $xdata, $xmatches);
$title = substr($xmatches[1], 0, 255);


                $form_array = array(
        array($lang_upload_php['album'], 'album', 2),
        array($lang_upload_php['pic_title'], 'title', 0, 255, 1, $title),
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length'], $description),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1, $keywords),
    array('control', 'phase_2', 4),
    array('unique_ID', $_POST['unique_ID'], 4),
        );
       
   
    } else {

                $form_array = array(
        sprintf($lang_upload_php['max_fsize'], $CONFIG['max_upl_size']),
        array($lang_upload_php['album'], 'album', 2),
        array('MAX_FILE_SIZE', $max_file_size, 4),
        array($lang_upload_php['picture'], 'userpicture', 1, 1),
        array($lang_upload_php['pic_title'], 'title', 0, 255, 1),
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
        array('event', 'picture', 4)
        );

}

Cerrá el archivo y guardalo. Ahora, abrí theme.php,

Busca:
Code: [Select]
if (isset($image_size['reduced'])) {
Y reemplazalo por:
Code: [Select]
if (preg_match('/^youtube_(.*)\.jpg$/', $CURRENT_PIC_DATA['filename'], $ytmatches)){
   
    $vid = $ytmatches[1];
      $pic_html = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/'. $vid . '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/'. $vid . '" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br />';
   
    } elseif (isset($image_size['reduced'])) {

Cerra el archivo y guardalo.

Si recibís este mensaje cuando intentas subir videos es porque te has equivocado de ID de developer.

Quote
  1YouTube internal error. Please report this issue -- including the exact method of producing this error -- to YouTube.

Saludos,
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

NicoMansi

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #2 on: November 28, 2008, 07:52:34 pm »

Si, la hay, y además, te esucho fuerte y claro.. No hay necesidad de usar mayúsculas..

Quiero hacer una aclaracion antes de continuar, y es que se necesitan conocimientos extras para hacer funcionar este MOD, los cuales los puedes adquirir buscando y leyendo información al respecto. Este MOD funciona perfectamente, y no produce ningún error, por lo tanto, si sigues todo al pie de la letra, no debe aparecer nada imprevisto. ok? Vamos,

Demo: http://gelipo.com/members/Nibbler/pictures/61993

Vas a necesitar otras cosas extra:


Luego, vamos a cambiar los siguientes archivos:
Primero upload.php, luego theme.php.

Edita upload.php, agregá este código al principio del archivo, luego de los comentarios de los desarrolladores:

Code: [Select]
if (!function_exists('file_put_contents')) {
function file_put_contents($n,$d) {
$f=@fopen($n,"w");
if (!$f) {
return false;
} else {
fwrite($f,$d);
fclose($f);
return true;
}
}
}


Luego buscá:
Code: [Select]
       // Add the control device.
            $form_array[] = array('control', 'phase_1', 4);

Antes de eso, agrega:
Code: [Select]
// Youtube
           if (USER_ID) {
            $form_array[] = 'Youtube uploads';
              $form_array[] = array('', 'YT_array[]', 0, 256, 3);
              $form_array[] = 'Note: YouTube videos must be added in the form http://www.youtube.com/watch?v=xxxxxxxxxxx';
}

Busca:
Code: [Select]
//Now we must prepare the inital form for adding the pictures to the database, and we must move them to their final location.
Y antes de eso agrega:
Code: [Select]
  // youtube
   
   $YT_array = count($_POST['YT_array']);

if ($YT_array) {
$YT_failure_array = array();

for ($counter = 0; $counter < $YT_array; $counter++) {

// Create the failure ordinal for ordering the report of failed uploads.

$failure_cardinal = $counter + 1;

$failure_ordinal = ''.$failure_cardinal.'. ';
           
$YT_URI = $_POST['YT_array'][$counter];

if (!$YT_URI) continue;


if (preg_match('/youtube\.com\/watch\?v=(.*)/', $YT_URI, $matches)){

$vid = $matches[1];
                     
$xurl = "http://www.youtube.com/api2_rest?method=youtube.videos.get_details&dev_id=xxxxxxxxxxx&video_id=$vid";
                     
$xdata = file_get_contents($xurl);

file_put_contents($CONFIG['fullpath'] . "edit/yt_$vid.xml", $xdata);

// todo: parse the xml properly
if (preg_match('/<thumbnail_url>(.*)<\/thumbnail_url>/', $xdata, $xmatches)){

$thumbnail = $xmatches[1];

$rh = fopen($thumbnail, 'rb');
$wh = fopen($CONFIG['fullpath'] . "edit/yt_$vid.jpg", 'wb');


        while (!feof($rh)) fwrite($wh, fread($rh, 1024));

fclose($rh);
fclose($wh);
     
$escrow_array[] = array('actual_name'=>"youtube_$vid.jpg", 'temporary_name'=> "yt_$vid.jpg");

} else {
$YT_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $YT_URI, 'error_code'=> $xdata);
}
             
             } else {
                 $YT_failure_array[] = array( 'failure_ordinal'=>$failure_ordinal, 'URI_name'=> $YT_URI, 'error_code'=> 'Failed to find video');
             }
         }
     }

En esa sección del código debes reemplazar "xxxxxxxxxxx" con tu ID de developer the youtube.

Luego, buscá:
Code: [Select]
  $zip_error_count = count($zip_failure_array);
Y agregá en la linea de abajo:
Code: [Select]
  $YT_error_count = count($YT_failure_array);
Busca:
Code: [Select]
    // Create error report if we have errors.
    if (($file_error_count + $URI_error_count + $zip_error_count) > 0) {

Y reemplazalo por:
Code: [Select]
   // Create error report if we have errors.
    if (($file_error_count + $URI_error_count + $zip_error_count + $YT_error_count) > 0) {

Busca:
Code: [Select]
             // Close the error report table.
        endtable()

Antes de eso, colocá:
Code: [Select]
                // Look for YT upload errors.
        if ($YT_error_count > 0) {

            // There are URI upload errors. Generate the section label.
            form_label("YT errors:");
            echo "<tr><td>URI</td><td>Error message</td></tr>";

            // Cycle through the file upload errors.
            for ($i=0; $i < $YT_error_count; $i++) {

                // Print the error ordinal, file name, and error code.
                echo "<tr><td>{$YT_failure_array[$i]['failure_ordinal']} {$YT_failure_array[$i]['URI_name']}</td><td>{$YT_failure_array[$i]['error_code']}</td></tr>";

            }

        }


Busca:
Code: [Select]
                $form_array = array(
        sprintf($lang_upload_php['max_fsize'], $CONFIG['max_upl_size']),
        array($lang_upload_php['album'], 'album', 2),
        array('MAX_FILE_SIZE', $max_file_size, 4),
        array($lang_upload_php['picture'], 'userpicture', 1, 1),
        array($lang_upload_php['pic_title'], 'title', 0, 255, 1),
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
        array('event', 'picture', 4)
        );

Y reemplazalo por:
Code: [Select]
  if (preg_match('/^youtube_(.*)\.jpg$/', $file_set[0], $ytmatches)){

         $vid = $ytmatches[1];

$xdata = file_get_contents($CONFIG['fullpath'] . "edit/yt_$vid.xml");


// todo: parse the xml properly
preg_match('/<description>(.*)<\/description>/', $xdata, $xmatches);
$description = substr($xmatches[1], 0, $CONFIG['max_img_desc_length']);

// todo: parse the xml properly
preg_match('/<tags>(.*)<\/tags>/', $xdata, $xmatches);
$keywords = $xmatches[1];

// todo: parse the xml properly
preg_match('/<title>(.*)<\/title>/', $xdata, $xmatches);
$title = substr($xmatches[1], 0, 255);


                $form_array = array(
        array($lang_upload_php['album'], 'album', 2),
        array($lang_upload_php['pic_title'], 'title', 0, 255, 1, $title),
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length'], $description),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1, $keywords),
    array('control', 'phase_2', 4),
    array('unique_ID', $_POST['unique_ID'], 4),
        );
       
   
    } else {

                $form_array = array(
        sprintf($lang_upload_php['max_fsize'], $CONFIG['max_upl_size']),
        array($lang_upload_php['album'], 'album', 2),
        array('MAX_FILE_SIZE', $max_file_size, 4),
        array($lang_upload_php['picture'], 'userpicture', 1, 1),
        array($lang_upload_php['pic_title'], 'title', 0, 255, 1),
        array($captionLabel, 'caption', 3, $CONFIG['max_img_desc_length']),
        array($lang_upload_php['keywords'], 'keywords', 0, 255, 1),
        array('event', 'picture', 4)
        );

}

Cerrá el archivo y guardalo. Ahora, abrí theme.php,

Busca:
Code: [Select]
if (isset($image_size['reduced'])) {
Y reemplazalo por:
Code: [Select]
if (preg_match('/^youtube_(.*)\.jpg$/', $CURRENT_PIC_DATA['filename'], $ytmatches)){
   
    $vid = $ytmatches[1];
      $pic_html = '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/'. $vid . '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/'. $vid . '" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object><br />';
   
    } elseif (isset($image_size['reduced'])) {

Cerra el archivo y guardalo.

Si recibís este mensaje cuando intentas subir videos es porque te has equivocado de ID de developer.

Saludos,

Fabri gracias por tu ayuda.. y pido disculpas estoy acostumbrado a escribir en mayuscula..

y te hago una consulta.

Un ID de Youtube API dev. (Primero http://www.youtube.com/dev y luego http://www.youtube.com/my_profile_dev) Ambos en español.

me explicas un poco mas que es eso? xD lo del  API y para que sirve..

muchas gracias..
Logged

Fabricio Ferrero

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #3 on: December 03, 2008, 02:57:29 am »

De nada, recorda que para contestar debes hacer click en 'reply' no en 'quote' porque ensucia un poco el post y hace que la lectura sea más difícil.

Quote
me explicas un poco mas que es eso? xD lo del  API y para que sirve..
Con respecto a tu consulta cae fuera de Coppermine. Por lo tanto debes 'Googlearlo' o mmm... ¿Wikipediarlo?  :P Hace click en: http://es.wikipedia.org/wiki/API

Aún así no te aconsejo que te quedes con esa definición ya que si no sabes del tema te va a complicar en vez de facilitar las cosas. Buscá ayuda por la web, esta lleno de tutoriales.

Tema resuelto? Espero respuesta, si encontras un buen tuto sería lindo que colocaras un link para que el resto de los usuarios se beneficien con tu aporte. ;)

Saludos,
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

vinyols

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #4 on: December 06, 2008, 06:05:59 pm »

No encuentro theme
Logged

vinyols

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #5 on: December 06, 2008, 06:15:59 pm »

No encuentro theme

El ultimo paso para mi noes nada claro busco theme (imagino en el tema que elija) pero no encuntro nada parecido a lo que tu descrives. Por favor para mi seria muy de agradewcer que me lo explicaras bien.

Si quieres podemos hacer un privado para poder ver donde estoy fallando
Logged

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #6 on: December 06, 2008, 06:40:49 pm »

Theme es un archivo. Llamado theme.php

Deberia estar ubicado en la carpeta Themes, alli dentro escoges la carpeta del theme que uses (Por ejemplo el Default), y dentro de esa carpeta esta el theme.php
Logged

vinyols

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #7 on: December 06, 2008, 07:21:11 pm »

Theme es un archivo. Llamado theme.php

Deberia estar ubicado en la carpeta Themes, alli dentro escoges la carpeta del theme que uses (Por ejemplo el Default), y dentro de esa carpeta esta el theme.php

Lo que no encuentro son las lineas de codigo que tu me descrives.

Te pego el theme.php

<?php define('THEME_HAS_RATING_GRAPHICS', 1);  $template_sys_menu_spacer ='<img src="themes/siteground8/images/line.gif" width="9" height="11" border="0" alt="" />';   function theme_display_film_strip(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $pos, $sort_options, $mode = 'thumb') {     global $CONFIG, $THEME_DIR;     global $template_film_strip, $lang_film_strip;      static $template = '';     static $thumb_cell = '';     static $empty_cell = '';     static $spacer = '';      if ((!$template)) {         $template = $template_film_strip;         $thumb_cell = template_extract_block($template, 'thumb_cell');         $empty_cell = template_extract_block($template, 'empty_cell');     }      $cat_link = is_numeric($aid) ? '' : '&amp;cat=' . $cat;      $thumbcols = $CONFIG['thumbcols'];     $cell_width = ceil(100 / $CONFIG['max_film_strip_items']) . '%';      $i = 0;     $thumb_strip = '';     foreach($thumb_list as $thumb) {          $new_size = 65;         preg_match('/(?<=width=")[0-9]*/',$thumb['image'],$matches,PREG_OFFSET_CAPTURE);         $srcWidth=$matches[0][0];         preg_match('/(?<=height=")[0-9]*/',$thumb['image'],$matches,PREG_OFFSET_CAPTURE);         $srcHeight=$matches[0][0];         $ratio = max($srcWidth, $srcHeight) / $new_size;         $ratio = max($ratio, 1.0);         $destWidth = (int)($srcWidth / $ratio);         $destHeight = (int)($srcHeight / $ratio);         $thumb['image']=preg_replace('/width="[^"]*"/','width="'.$destWidth.'"',$thumb['image']);         $thumb['image']=preg_replace('/height="[^"]*"/','height="'.$destHeight.'"',$thumb['image']);         $i++;         if ($mode == 'thumb') {             $params = array('{CELL_WIDTH}' => $cell_width,                 '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&amp;pos={$thumb['pos']}",                 '{THUMB}' => $thumb['image'],                 '{CAPTION}' => $thumb['caption'],                 '{ADMIN_MENU}' => ''                 );         } else {             $params = array('{CELL_WIDTH}' => $cell_width,                 '{LINK_TGT}' => "index.php?cat={$thumb['cat']}",                 '{THUMB}' => $thumb['image'],                 '{CAPTION}' => '',                 '{ADMIN_MENU}' => ''                 );         }         $thumb_strip .= template_eval($thumb_cell, $params);     }      if (defined('THEME_HAS_FILM_STRIP_GRAPHICS')) {         $tile1 = $THEME_DIR . 'images/tile1.gif';         $tile2 = $THEME_DIR . 'images/tile2.gif';     } elseif (defined('THEME_HAS_FILM_STRIP_GRAPHIC')) {         $tile1=$tile2=$THEME_DIR . 'images/tile.gif';     } else {         $tile1=$tile2= 'images/tile.gif';     }      $params = array('{THUMB_STRIP}' => $thumb_strip,         '{COLS}' => $i,         '{TILE1}' => $tile1,         '{TILE2}' => $tile2,         );      ob_start();     starttable($CONFIG['picture_table_width']);     echo template_eval($template, $params);     endtable();     $film_strip = ob_get_contents();     ob_end_clean();      return $film_strip; } ?>
Logged

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #8 on: December 06, 2008, 07:31:14 pm »

Hola

1ro Yo no fui el que te escribio antes jeje

2do Ok, ahora que entendi lo que no encontrabas, yo lo busque tambien y no lo encontre. Solo queda esperar q la persona que te respondio lea el post y te diga.
Logged

vinyols

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #9 on: December 06, 2008, 07:45:08 pm »

Aqui va la solucion.


Si no encuentras (isset ($ image_size [ 'reducido'])) (theme.php en el archivo, abra el archivo theme.php (coppermine_carpeta/themes/sample/theme.php) y copiar / pegar l theme_html_picture toda la función ()
Logged

vinyols

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #10 on: December 06, 2008, 08:02:14 pm »

No consigo que funcione .

Espero que alguno de vosortos lo haya instalado EL fisicamente i podewr comentar la jugada
Logged

Fabricio Ferrero

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #11 on: December 06, 2008, 11:03:38 pm »

Acaban de aruinar el hermoso post que epxlicaba de manera muy simple como obtener lo que había pedido NicoMansi:

No encuentro theme
Son una persona y como tal merezco una pregunta coherente. "No encuentro theme" realmente parece que sos un robot o algo por el estilo. El punto número 6 que deberías haber leído antes de postear podría ayudarte, leelo: ¿Quieres respuesta a tu problema? LEER SI O SI Dice algo como:
Quote
6 - Por último. De este lado hay personas de carne y hueso contestando tus preguntas GRATIS y sin pedirte NADA a cambio. Asi que por favor, trata con el respeto que se merecen y se agradecido.

Además, cuando logres solucionar el problema, postea nuevamente diciendo que fue solucionado de la forma que te indicamos. Si fue solucionado de otra manera, indica como lo hiciste, de esta forma ayudas a cualquier persona que se encuentre con el mismo problema en un futuro.

Quote
Si quieres podemos hacer un privado para poder ver donde estoy fallando
Luego te contestas sólo y además pedis un MP, no enviamos MP, el soporte es público, hacia todos.

Luego vemos la respuesta de AlexBarTender, pero luego dice:
Quote
1ro Yo no fui el que te escribio antes jeje
Quién fue entonces? Yo?


No se permite 'speed posting', es decir, no tiene sentido varios post si no sabes la respuesta, esperen que alguien que la sepa se conecte y les conteste.


En fin, para no arruinar más el tema, antes de cerralo lo aclaro, lo que explicas acá es correcto:
Quote
Aqui va la solucion.


Si no encuentras (isset ($ image_size [ 'reducido'])) (theme.php en el archivo, abra el archivo theme.php (coppermine_carpeta/themes/sample/theme.php) y copiar / pegar l theme_html_picture toda la función ()


Por último, si tenes algún problema relacionado con Coppermine, crea un nuevo tema, pero antes lee ¿Quieres respuesta a tu problema? LEER SI O SI. Entonces, tus dudas serán bienvenidas.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Fabricio Ferrero

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: [Resuelto]: Ayuda: Existe Algun Mod Para Cargar Videos De Youtube
« Reply #12 on: December 07, 2008, 03:13:02 am »

Encima, el usuario envió otro mensaje privado. No están permitido enviar PM!

No te estoy pidiendo ayuda ni nada por el estilo, era solo para aclarar que cuando dije "1ro Yo no fui el que te escribio antes jeje" Me referia a ti precisamente, que fuiste el que dio la solucion.

Mas obvio imposible, cuando luego digo "Solo queda esperar q la persona que te respondio lea el post y te diga."

Y todavia si quedaba alguna duda, y para ser mas evidente. Luego de que le dije cual era el theme.php. El escribio

Asumiendo que fui yo el que le escribi la solucion, osea no se que mas pistas necesitas.

Pero decir escribir lo que escribiste de mi comentario. Simplemente sin palabras :S

No estoy aqui para discutir reglas o cosas por el estilo. Hablemos de coppermine o nada. Baneado por 3 dias.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 18 queries.