herve wrote:
Hi,
When you delete a post, the attached files are not deleted.
Is there any plan to do it ?
Bye,
Hervé
|
Yes ... although we redesigned the forum and tables significantly to achieve it.
We preferred to have another table which contained the mappings to the message and the attachments, eg called wwf_Attachments.
All this table has is the TopicID and an AttachmentID.
When attachments are made (any number) they are added in here ... and
the displaying message shows links at the bottom of the message.
This has allowed us to delete messages as well as attachments.
The prime motive was because we had Messages being posted via Email
(with attachments) and we needed a better way to handle attachments
with messages.
Such a MOD is not suitable for the general populace and has taken our
install of WWF down a route where we pick and choose what we add to it
from new releases.
As Borg has stated ... in a default install of WWF it really isn't
possible, since no individual message knows, at a database level, if
there are any attachments ... since an attachment is merely stored in
the message HTML.