request: upload pdf and view pdf in nodeBB

Plugin Requests
  • Hi,

    I want to let users upload pdf files and let other users see the pdf in the browser.
    The Idea is that the users upload a business idea and that the other users can comment using the standard nodebb interface.

    I would also like to know your estimates how long it would take a programming beginner like me to develop this 😄

  • If I'm understanding what you're asking, you just have to add pdf in the Allowed File Extensions.

    Admin > Settings > Uploads > Allowed File Extensions

    I discovered this possibly a month ago when I attempted to add a pdf to a file and received an error. Thought I remembered a settings and found it after checking other spots...didn't notice Upload right away. Lol. Anyway hope that helps.

  • Thank you very much, i will check that out later, i didnt find it either 😄

  • FYI you could also implement to automatically embedd uploaded pdfs in iframes directly if you want with a simple setup and a proper configuration of the ns-embedd plugin.

  • thanks @schajuli .That is definetly an option for me. A more time consuming option but more beautyfull. I will try that later.
    So i basically need to install the plugin and find the right spot to copy paste the iframe code in?

  • @Topper

    Yes, you have install it and then set up a new profile for e.g. all uploaded files ending on .pdf and use that one as variable for the iframe. It's actually just copy/paste and a matter of seconds.

  • Ok thank you very much! I just love that this is possible with nodebb and all the contributers!

  • T Topper referenced this topic on

Suggested Topics