Viewing 3 replies - 1 through 3 (of 3 total)
  • I got this fixed by changing these lines (at around 281-289 in file dropbox-folder-share.php)

    foreach ($archivos->find('div[class=filename] span') as $datos) {
        $id_nombre = $datos->id;
        $data_all_files['id'][] = $datos->id;
    }
    foreach ($archivos->find('span[id=' . $id_nombre . ']') as $datos) {
        $data_all_files['nombre'][] = eregi_replace('\"', '', $datos->innertext);
        //$id_archivo = eregi_replace('\"','',$this->formatFileNames($id_archivo));
        //echo $datos->innertext."<br >";
    }

    to these

    foreach ($archivos->find('div[class=filename-col] a[class=file-link] div') as $datos) {
        $id_nombre = $datos->id;
        $data_all_files['id'][] = $datos->id;
    }
    foreach ($archivos->find('div[class=filename] a') as $datos) {
        $data_all_files['nombre'][] = eregi_replace('\"', '', $datos->innertext);
        //$id_archivo = eregi_replace('\"','',$this->formatFileNames($id_archivo));
        //echo $datos->innertext."<br >";
    }

    There’s no more span in filename div and the only ID I could find was around comments-bubble and it didn’t contain the name anymore. I’m not sure if this is the best fix but atleast the name is visible now. I think you wouldn’t even need to get the ID anymore but I left it there anyway. Plugin developer can make the decisions ??

    For Hyno:
    I also noticed there is a foreach to format the name using the formatFileNames function but this formatted name is not used anywhere. Is it some old feature which was just left there?

    ?Thank you very much! your solution works perfectly.

    Plugin Author Hyno

    (@hyno)

    Thank you mmoovs,

    now pluging is updated

    thx to all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘there is no filename, same story as on hynotech’ is closed to new replies.