quote:
Originally posted by Choli
well, there may be a script with a timeout. Once you clic preview to have X seconds/minutes to post or the atachment wil l be deleted.
I don't really like the idea of having a PHP script running for a long time like that... kinda half-assed solution.
As for the "storing attachment before post" idea in general: attachments need to be associated with posts. If there's no post stored, you can't associate an attachment with it. This can be worked around, but I don't really want to.
* WDZ wonders how the great Invision Board handles this problem... and vBulletin...
quote:
You could show an image attached to your own post without editing
Blahs... you need the post id to have the attachment URL, and that's not available until you post the message.
There's a feature in MyBB to always show attached images, but I'm not going to enable that because sometimes large images are attached, or you just don't want it shown right away.
There are 2 solutions I can think of...
1) Have an [attachment] bbcode that will be replaced by the attachment URL after posting, so you could do [img=100x100][attachment][/img], for example.
2) The cleaner, but more difficult-to-add option: make the "show attached image in post" feature optional on a per-post basis, as signatures are. This wouldn't allow the attachment to be shown anywhere in the post though, only at the bottom.