2014-06-13, 02:56 PM
Hi guys, I would like for MyBB to support referencing the same file on more than 1 thread instead of uploading it a few times.
Currently this BBCode: [attachment=NumHere] only works if the thread has the attachment already uploaded to thread. But if you try to use it on other threads where it wasn't originally uploaded to, the post parser won't parse it.
From permissions perspectives, the user who uploaded his file should be able to refrence his files wherever he wants to.
I found this comment on line 49 in functions_upload.php:
So am I missing something? Is it already coded? This is a bug or a new feature?
Currently this BBCode: [attachment=NumHere] only works if the thread has the attachment already uploaded to thread. But if you try to use it on other threads where it wasn't originally uploaded to, the post parser won't parse it.
From permissions perspectives, the user who uploaded his file should be able to refrence his files wherever he wants to.
I found this comment on line 49 in functions_upload.php:
Quote:// Check if this attachment is referenced in any other posts. If it isn't, then we are safe to delete the actual file.
So am I missing something? Is it already coded? This is a bug or a new feature?