• Hey,
    I have a question about the behaviour of the files in the repository. Is it possible to make it work with other plugins?
    I’d like to use it for audio files. So when opening a folder with mp3s or clicking on an audio file, it checks the file format and use an already installed audio plugin. As it is now, it only seem to download the file.

    http://wordpress.org/extend/plugins/smallerik-file-browser/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Enrico Sandoli

    (@smallerik)

    Sure, that should be possible. It could be somehow arranged from the backend, with the ability to register certain file extensions with plugins (which, of course, need to be installed for this to work). Stay tuned for new versions…

    Similar functionality, for other file types, is currently included in the commercial version (just 5 euros to support development) where you can preview files with GoogleDocs (PDFs, DOCs, etc.) or, for image files, with Lightbox by Lokesh Dhakar (which in this case is integrated with Smallerik File Browser ‘pro’).

    Thread Starter tuleki

    (@tuleki)

    Yeah, not that I’m a programmer, but it could probably be done even easier. Like, if I click on a file.. it could open it just like a post or page. Which I hope could make wordpress identify it on its own.

    Plugin Author Enrico Sandoli

    (@smallerik)

    Well, Smallerik File Browser, by default, links files to an internal download script. This is needed to support the situation where files are stores outside the web root, where a simple link would not work. It will also support, in the future, functionality to log the download actions (for logging purposes, or to update a download counter, for example).

    However, if you store your files inside the web root (which is also a default setting) you could set the plugin to use standard links to the files, so that other plugins might do their things to the files, as you suggest. To achieve this, you go to the ‘Display Options’ of the ‘Smallerik FiB’ menu entry in the backend, and change the ‘Type of link to the files’ from ‘Link through scripts’ to any of the other available options.

    This could do the trick. Please report if you manage to make it work.

    Thread Starter tuleki

    (@tuleki)

    Yeah I tried that, which seem to give files a simple path. So if I click on a file, it uses the.. MIME settings I think it’s called? Using the web browser settings, and not wordpress. It doesn’t seem to identify the files.
    I’ve been looking for a plugin that automatically enclose files, in this case audio files. But so far, everyone wants a short code in the post to make it work.
    Would be perfect with some sort of filter settings in smallerik. Like if one folder contains mp3s, it could enclose files like this: [audio:<path to mp3>]. And hopefully instead of a filename in the file list, you get a nice player. 😉

    I recently installed your plugin and it looks very promising. I hit a snag when I attempted to display files using the [wpfib] shortcode and I received the following error message:

    “Cannot display a file repository: this page was las modified by Mark Zinn, who is not in the Trusted Authors list of the Smallerik File Browser plugin.”

    The message occurs although my user ID is correctly listed in the permissions. I disabled other plugins, but the error message remained. Any suggestions would be greatly appreciated. Thanks!

    Plugin Author Enrico Sandoli

    (@smallerik)

    For Zinnmark: the ‘Trusted Authors’ list only allows post/pages created or last modified by certain users to host a file repository. You should add your username (your login name) or your user ID to this list, or set the entire list blank to allow any user (with the ability to publish a post) to host a file repository. You find the ‘Trusted Authors’ list in the permissions settings tab of the backend options of the plugin.

    Hope this helps…

    Yes, I was able to get further, thanks! When I set the entire trusted list blank and I was then able see and download my files. I don’t foresee a problem with using the plugin this way. However, it may be worth mentioning that when I re-add my user ID or my username, for some reason it reverts back to the error message (demonstrating a false positive).

    Mark

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Smallerik File Browser] Work with other plugins’ is closed to new replies.