PDFファイルを添付する方法

Hello

We are using Discourse as a tool to exchange and share experiences.
I was going to publish PDF content but the file attachment only allows jpg, jpeg, png, gif, heic, heif, webp extensions.

Could someone give me a way to attach the PDF file in the platform please ?

Thanks

It’s in your Files settings:

In this example, only staff are allowed to upload pdf files.

「いいね!」 1

Thank you for your help.

I have changed the settings and now the PDF can be attached.
However, when I reach 50% of the download, it stops and gives this message:
“Sorry, there was an error sending the file. Please try again.”
I tried more than 5 times but it gives this again.

What would be the problem ? and how to fix it please ?

You might need to update your nginx config too if the files are very large:

Yes, after compressing the file, it worked !

Thanks a lot for your help !

「いいね!」 1

You can also try in first instance to increase this value:

image

「いいね!」 2

@merefield PDFをすべてのユーザーで有効にする方法はありますか。ただし、プライベートメッセージのみを対象とします。

いいえ、少なくとも簡単ではありません。

PMは単なるトピックです。PDFのアップロードを有効にすると、すべてのトピックで有効になります。

「いいね!」 2

@pfaffman さん、ありがとうございます!ドキュメント(画像以外)のアップロード制限について、TLごとに教えていただけますか?

ロバートさん! コミュニティのユーザーがPDFをコメントに添付しようとしていますが(「Attachment Pena Network.pdf is missing」というエラーが表示されます)、うまくいきません。PDFのアップロードを有効にするには、Discourseのファイル設定をどこで見つけられますか? 見つけるのに苦労しています。

「いいね!」 1

スタッフ用の設定は別にありますが、tl用はありません。

@VVoPham アップロードまたは拡張機能でサイト設定を検索すると、見つかるはずです。jpgで検索して、その値を持つ設定を見つけることもできます。

「いいね!」 2

ありがとうございます!見つけました。PDFのアップロードも無事完了しました!:grin:

「いいね!」 2

素晴らしい!私の質問に回答したことを示すチェックボックスをクリックしていただけますか?

「いいね!」 1

ジェイさん、喜んでお手伝いします。チェックボックスはどこにありますか?どこかで見落としているかもしれません…

「いいね!」 1

そうですか。すみません。あなたのトピックではないので、そのオプションはありません。気にしないでください。:person_shrugging:

「いいね!」 2

おっと、すみません!まだでしたら、Mpitilyにフォローアップして対応してもらえるといいのですが!:slightly_smiling_face:

「いいね!」 2