rolandash With FoF extension installed, how can i enable upload of PDF file? Only images can be uploaded now. I tried to input ^application\/pdf in MIME mapping section, but did not work. Do i miss anyting?
Justoverclock i see pdf in the default mimetype, isn't it? (video\/(3gpp|mp4|mpeg|quicktime|webm))|(audio\/(aiff|midi|mpeg|mp4))|(image\/(gif|jpeg|png))|(application\/(x-(7z|rar|zip)-compressed|zip|arj|x-(bzip2|gzip|lha|stuffit|tar)|pdf))
rolandash Justoverclock where can i find this MIME string? I set the mapping in forum admin GUI panel, only ^image\/.* is shown there, nothing else.
Justoverclock rolandash is in the first post of the extension https://discuss.flarum.org/d/4154-friendsofflarum-upload-the-intelligent-file-attachment-extension
rolandash thanks Justoverclock what i mean is where can i find/edit/input this string in flarum code (or GUI setting). Currently i am doing setting on forum administration panel and i not sure the right place to input this string. By default the configure GUI only shows ^image\/.* I would like to add a new entry, and input the string for pdf.
rolandash I would like to upload a screenshot to explain what i got on my side, but just find out that i can not upload image here? The 'Add image' icon only insert a MD code. Make an external reference here.
rolandash Justoverclock I tried input ^application\/pdf in the field(new entry). But still not working. Is that format correct?
rolandash Justoverclock That seems not working either. What template should i select for pdf type? complete image view template or default download file template
rolandash Justoverclock Ah my bad, did not click on the tiny '+' button to make the string valid... Now it seems can work. thanks for your help!