• Recently upgraded to the PRO version but the preview for both images and google docs does not seem to be working. the error appears to be when its calling the files URL. The Google preview seems to be omitting the “m” on my URL file. Click Here for a screenshot.
    The image preview adds the direct path of the url,

    /home/public_html/wp-file-browser-top/

    at the end of my domain. The “link through script” feature works just fine but when i tell the plugin to link directly, it breaks. any help would be great.

    thanks.

    https://www.ads-software.com/extend/plugins/smallerik-file-browser/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nyxerus

    (@nyxerus)

    For the Google Docs preview to work, I change line 2738 on wpfib.php from

    ."<a href='https://docs.google.com/viewer?url=".urlencode($base_url.$dir_relpath.DS.$a_file["name"])."' target='_blank'>"

    to

    ."<a href='https://docs.google.com/viewer?url=".$file_link_href_nonced."' target='_blank'>"

    and for the image preview to work change line item 2754 on the same file to;

    ."href=\"".$dir_path.DS.$a_file["name"]."\">"

    to

    ."href=\"".$file_link_href_nonced."\">"

    Thread Starter nyxerus

    (@nyxerus)

    well that resolved it for a short period of time, after another file upload, the links broke again, so back to square one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Smallerik File Browser] Pro features not working’ is closed to new replies.