Support » Plugin: MimeTypes Link Icons » MS Publisher

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor jrf

    (@jrf)

    @hypeon,

    Please don’t modify WP core files as it will make upgrading so much harder….

    You can find a nice explanation (+code sample) of how to add more filetypes to the allowed list in a upgrade-friendly manner here.

    Will look into adding the filetype to the plugin too. What extensions does MS Publisher use ?

    Smile,
    Juliette

    Thanks for that link, really useful.

    Publisher uses ‘.pub’ as far as I know. I think there are more but I’ve never used them. See here for more.

    Another feature that would be really helpful, would be to have a custom icon where a user could specify what the URL would contain to include that custom uploaded icon. This will help with things like external links to document repositories that generate sequential URLs for version control therefore they do not have file extensions on them.

    e.g. if I wanted to have an icon for a file on Google Drive, the icon (presumably a Google Drive icon) would only appear on URLs containing something I have specified: in this case “docs.google.com”.

    Furthermore Google Drive also uses the specific file type in the path so I could use a different icon for “docs.google.com/spreadsheet” etc etc

    Just an idea that would be cool to have.

    Plugin Contributor jrf

    (@jrf)

    I’ve put .pub on the list, no promises 😉

    I’m currently working on a new version, but the feature request you’ve just formulated is outside of the scope.
    Will need to look into if and how we could implement this in a save manner… (code) suggestion always welcome of course 😉

    A ‘google doc’, ‘google spreadsheet’ etc option without the user specification, i.e. just added as file types would possibly be something I’d be inclined to implement in the foreseeable future. Is that the only implementation you had in mind or do you have other examples ?

    Thanks for the reply.

    Well actually where I work we use an internal system called Documentum. A typical URL for a file on Documentum looks like this:

    http://documents:1234/webtop/drl/objectId/567891a2345b678c

    So there is no extension to identify what the document is but where it is located.

    I figured that this request would be limited to only businesses or individuals who use Documentum (of which I know no other), therefore it should be expandable for both lesser known and/or popular cloud doc services like Google Drive, Dropbox, Sugar sync etc (mainly the ones with version control) to use the plugin too.

    From my perspective I would only need an icon to be added for Documentum. This I can send to you if you wish to add it. However there is no consistent file extension except that the URL (interally) starts with ‘http://documents’

    Here is a list of ones I can think of off the top of my head.

    Google Drive – https://drive.google.com
    Google Spreadsheet – https://docs.google.com/spreadsheet
    Google Text Doc – https://docs.google.com/document
    Google Presentation – https://docs.google.com/presentation
    Google Forms – https://docs.google.com/forms

    Gona have to get back to you on the other ones if you need em.

    Plugin Contributor jrf

    (@jrf)

    @hypeon,

    Thanks for the reply. I will look into this and discuss it with Toby.

    Plugin Contributor jrf

    (@jrf)

    @hypeon .pub is now included in v3

    The rest is on the discussion roadmap for a future version

    Smile,
    Juliette

    Excellent. Thanks.

    Hi I just downloaded and installed version 3.1.3 and set the settings that needs to be set. But when I uploaded a .pub file this is the result that it’s showing me.

    ““Postcard Template.pub” has failed to upload due to an error
    Sorry, this file type is not permitted for security reasons.”

    Plugin Contributor jrf

    (@jrf)

    @dz0i13 You should really have opened a new topic as that is another issue.

    Even so, your issue has nothing to do with MTLI. MTLI displays icons next to file links, it doesn’t change the WP upload settings.

    WP restricts the file types you can upload. Have a look at the FAQ, the question called “I want to be able to upload more file types to my WordPress blog!” near the end of the FAQ.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘MS Publisher’ is closed to new replies.