Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author lynton_reed

    (@lynton_reed)

    hi kahuitel,

    thanks for your question. Its a good one.

    At the moment the show_files tag is mainly geared to displaying image thumbnails, so if there is no image and the ‘file_type’ attribute is ‘image’ (which is the default) then the broken image link is displayed if there is no available thumbnail for the file, but clearly this is no good for non image files.

    So perhaps an option for text only display would be more appropriate for non image files, or some file type detection is needed to appropriately format the display.

    The upload process allows playback of local audio files, i.e. while still on on your pc. After they are uploaded then they would need to be streamed back again which is somewhat inefficient, but possible if needed.

    I’ll have a think about how to improve the options for the wtf_fu_show_files tag and get back to you. Give me a day or two or three :).

    If you have suggestions on how you would like the wtf_fu_show_files tag options to work, let me know and I’ll try and incorporate them.

    ie what attribute would you like to see in the shortcode options ?

    perhaps [wtf_fu_show_file display=text_only]
    or [wtf_fu_show_file display=auto_detect]

    there you go, I’m getting ideas already :).

    thanks for your feedback, I will get back to you soon.

    regards,

    Lynton

    Plugin Author lynton_reed

    (@lynton_reed)

    I had a look at this and it may already be able to do what you want.

    try adding file_type=”music” this will then display audio controls for the files.

    e.g. something like :
    [wtf_fu_show_files wtf_upload_dir="dirwiththefiles" file_type="music"]

    This should work for music files but any images will then not be displayed as thumbnails but just render as links.

    So, if you have separate music and image locations you can just include two separate shortcodes one file_type=”music” and one file_type=”image”

    I’ll look at adding in some auto detection for a future release so that file types can be mixed.

    Thread Starter kahuitel

    (@kahuitel)

    Hi Lynton Reed !

    Sorry for the delay, quite busy these days.

    I’ve tried the file_type=music tag : it’s working perfectly !I was trying either =sound or =audio, I didn’t tried that one ??

    I’m using the module so users can submit their MP3 mixset. I’ve followed instructions for emailing administrator and user that the file was uploaded.

    A nice feature would be that emailing management could be setup from admin panel ?

    Thank you for your support.

    Sincerely,

    Plugin Author lynton_reed

    (@lynton_reed)

    Hi kahuitel,

    That’s great, I thought that might be all you needed and I’d forgotten about it myself until i looked :).

    I may need to add some extra documentation on the fle_type attribute, I may have missed that one in the docs.

    I am currently working on some extra features for the pro version.

    A way to attach automated emails to a stage with the ability to include ‘show_files’ displays as in-lined images / audio etc ( instead of having to write your own hook functions ) is one that is on the list.

    As a step in that direction I am currently updating the example hooks function (included with the free version) to trial out inlined css in emails, so that the ‘demo’ emails will send users a table of thumbnail images.

    Have a look at wtf-fu_hooks_example.php in the next release (1.2.2) if you wish to embed file output in your emails to users.

    I’m not sure if audio controls will work reliably inside an email yet though …. so cant promise anything … but stay tuned.

    Thanks for your feedback.

    cheers,

    Lynton.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't list audio files ?’ is closed to new replies.