Hi thanks for the reply, i know i just wanted to give it as example.And i know its now about extensions, but still if i can get it work by modding i dont mind also (even if its not the clean and preferred method.)John connor wrote: ↑Thu Oct 04, 2018 8:13 pmMods don't work in phpBB 3.1.x forward. Mods are now extensions.
Check this out: https://www.phpbb.com/customise/db/extension/aws_s3/
I use it and it works, but it may a have learning curve, and as of right now it only works with up to PHP 7.1.
No, it has nothing to do with external cloud servers, its simply that i want to upload attachments by url also, not only from your pc.John connor wrote: ↑Fri Oct 05, 2018 1:12 amI really don't understand what you want to do. Are you wanting to shift from attachments being stored on your forum? Or are you wanting to simply share a link to an attachment? That can be done by simply sharing a link from Google Drive, Azure, Mega, Box, etc.
Upload from a URL:
Enter the URL of the location containing the image. The image will be copied to this site.
I dont see the extra security risks besides that there already now is with uploading attachments. And in the end its restricted only for images and media files on my forum.John connor wrote: ↑Sat Oct 06, 2018 1:03 pmI'm still not clear what you are wanting. Can you give an example?
Are you wanting someone to paste their URL and that attachment shows up?
Okay, I now know what you want. Yeah, that would require an extension. But to tell you the truth, remote file upload comes with hacking potential and an open invitation to malware. There's phpmussel that can scan uploads, but it doesn't interface with phpBB and needs an extension to hook right. I aksed about that here and no one took interest.
There is a BBCode you could use if you want someone to remote upload, or rather "host" a file from a FTP directory.
Users browsing this forum: No registered users and 3 guests