Todo :p (again) Preview thing bug - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: General (/forumdisplay.php?fid=11) +---- Forum: Forum & Website (/forumdisplay.php?fid=13) +----- Thread: Todo :p (again) Preview thing bug (/showthread.php?tid=20236) Todo :p (again) Preview thing bug by Huuf on 01-08-2004 at 04:11 PM
When you select a attachment and then choose preview and click "Post Thread" then the attachment aint there RE: Todo :p (again) Preview thing bug by Choli on 01-08-2004 at 04:19 PM It's a know bug, but I don't think WDZ fixes it, because you may decide not to post the post and the attachmen will remain at the server taking space RE: Todo :p (again) Preview thing bug by musicalmidget on 01-08-2004 at 07:56 PM Maybe there could be a "remove attachment" page? RE: Todo :p (again) Preview thing bug by WDZ on 01-08-2004 at 07:58 PM
quote:Yep. RE: Todo :p (again) Preview thing bug by Chrono on 01-08-2004 at 07:59 PM maybe its fixed in RC1? RE: Todo :p (again) Preview thing bug by WDZ on 01-08-2004 at 07:59 PM
quote:Who would use this page? RE: Todo :p (again) Preview thing bug by WDZ on 01-08-2004 at 08:01 PM
quote:I don't think so. It's not really a bug, but a limitation. (Hmm... I'm spamming this thread... ) RE: Todo :p (again) Preview thing bug by musicalmidget on 01-08-2004 at 08:18 PM
quote: Blah, I didn't mean a whole page, I just meant a section on the preview page... Those who would use would be those who choose not to keep their attachments, meaning the attachment can still be shown in the preview bit...if that makes sense to anyone but me. RE: Todo :p (again) Preview thing bug by Choli on 01-08-2004 at 09:22 PM
quote:that's not the problem but someone attaches a file in prewiev and then close the page without doing anything more. The file would stay at the server taking space. RE: Todo :p (again) Preview thing bug by musicalmidget on 01-08-2004 at 09:31 PM Oh right. Nevermind then. RE: Todo :p (again) Preview thing bug by CookieRevised on 01-08-2004 at 10:31 PM
quote:quick thought: Can't you do a check for that? I would love to see the feature.... RE: Todo :p (again) Preview thing bug by Choli on 01-08-2004 at 10:40 PM
quote: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'm not sure if that is possible and easyly doable. Let's ask WDZ. That way, it'd be nice. You could show an image attached to your own post without editing RE: Todo :p (again) Preview thing bug by WDZ on 01-09-2004 at 05:25 AM
quote: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: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. RE: Todo :p (again) Preview thing bug by Chrono on 01-09-2004 at 05:35 AM first one RE: Todo :p (again) Preview thing bug by Choli on 01-09-2004 at 10:06 AM
quote:a temporal posts table in the DB? quote:so true quote:yep. Add the [attachment] code RE: Todo :p (again) Preview thing bug by Tochjo on 01-09-2004 at 03:17 PM
I've given it some thought, and technically, what I'm going to say now isn't offtopic, as it does involve another Preview bug RE: Todo :p (again) Preview thing bug by Choli on 01-09-2004 at 03:28 PM
quote:Hyperlinks may have comas, so MyBB add the coma to the link bacuse it thinks it's part of the link. That's a right behavior. If you don't want the coma at the link, put a space or use the [url] tag. Talking about links, I've just remembered this bug: code:click here: http://www.example.com move your mouse over the "click here" and the url. The underlined does not take both thing. MyBB puts two links instead of only one. RE: Todo :p (again) Preview thing bug by Tochjo on 01-09-2004 at 03:42 PM
quote:Hyperlinks can also contain dots, but when I place a dot at the end of a hyperlink, it will not be included in the hyperlink. Yet a comma will: that sounds like a bug to me. And I know how to RE: Todo :p (again) Preview thing bug by fluffy_lobster on 01-09-2004 at 05:22 PM Back to the preview thing, couldn't the preview page reinsert the path of the attachment into the new preview box? The user is hardly going to change the path in between previewing and posting... RE: Todo :p (again) Preview thing bug by WDZ on 01-09-2004 at 06:10 PM
quote:I believe I've already fixed this in the upgrade I'm preparing. quote:"Diacritic"? I guess it's time for some WDZ vocabulary expansion... I intentionally made the parser exclude any "." character at the end of a URL from the link. I did this because people often want a link at the end of a sentence... http://www.example.com. I didn't do the same with any other "diacritic" characters because they're not used as commonly, and I'd have to add them all individually. Also, the more characters you're checking for, the less efficient your code is going to be. If you really want the comma though, I'll look into adding it. quote:Good, people like my brilliant attachment code idea... quote:Sorry, but I'm not going to fix that. First of all, it's near impossible to fix completely, second, you're not using the bbcode correctly (or in way that makes sense), so it's a user error, and third, there's no visible problem with the result. quote:Not really... as I made it exclude the dot intentionally. I didn't add support for commas, so it's a missing feature. quote:Really? Since when do you know PHP, and since when do you have my code? Edit: Ohh... dodgy edit. =P quote:That's not allowed by browsers for security reasons. I could steal any file off your PC if I had the path entered by default there. Try adding the value="" attribute to an <input type="file"> tag... it will be ignored. RE: Todo :p (again) Preview thing bug by Huuf on 01-09-2004 at 06:10 PM
I was thinking about RE: Todo :p (again) Preview thing bug by WDZ on 01-09-2004 at 06:28 PM
quote:Well, as I just said in reply to fluffy_lobster, that's not possible. If it was, I definitely would have already added it, because it's the easiest and most obvious solution. RE: Todo :p (again) Preview thing bug by Choli on 01-09-2004 at 06:34 PM
quote:wdz... quote:i use MyBB code well Usually that makes no sense, but once I had to post it so I found the bug. I don't care it you don't fix that oh, btw, there IS a visible problem. Who reads that may think there are 2 different links instead of only one RE: RE: Todo :p (again) Preview thing bug by Tochjo on 01-09-2004 at 07:16 PM
quote: quote:Sorry, partly my fault: diacritic isn't the correct word to use here (that's what you get when English isn't your native language ), should've used "punctuation mark"; a diacritic btw is a mark added to a letter to indicate a special pronunciation, so ñ has a diacritic. quote: quote: Yeah right quote:I know, I saw you reading this thread when I looked at the Who's Online list, then I reread my post and corrected that little thing in my post RE: Todo :p (again) Preview thing bug by Choli on 01-09-2004 at 07:27 PM
quote:in spanish, ñ is a different letter, not n with diacritic. diacritics would be the accents áéíóú and dieresis (umlauts or whatever they're called) ü RE: Todo :p (again) Preview thing bug by Tochjo on 01-09-2004 at 07:29 PM
quote:Really? Dodgy article at http://www.thefreedictionary.com/diacritic RE: Todo :p (again) Preview thing bug by Choli on 01-09-2004 at 08:39 PM
quote: ñ sounds similar to n but it's a different letter. if you look at a spanish dictionary you'll see first all the words that begin with n and then the ones that begin with ñ in spanish, the accents (áéíóú) doesn't change the sound of those vowels, but they change the stress of the word (where you pronounce it louder). They're the same letters (a=á, e=é...) and in dontionaries you see them all togheter. about the dieresis, it's the same as accents. RE: Todo :p (again) Preview thing bug by rav0 on 01-10-2004 at 02:05 PM
how about code:and how about enabling multiple attachments say 5-8 and applying a total attachment size limit to make it look nicer y not put an "add attachment" button which open a popup with the multi "Attachment:" fields RE: Todo :p (again) Preview thing bug by Choli on 01-10-2004 at 03:00 PM no, it's better to have only one attachment per post. This way, the DB is less complex. why do you want more attachments per post? usually you cdon't attach anything and when you do it's only one. finally, you can post twice and attache 2 files RE: Todo :p (again) Preview thing bug by fluffy_lobster on 01-10-2004 at 03:59 PM Or attach a zip RE: Todo :p (again) Preview thing bug by Guido on 01-10-2004 at 09:29 PM
New PhpBB version will have multiple attachments... (or was it the new IPB? whatever...) RE: Todo :p (again) Preview thing bug by WDZ on 01-10-2004 at 10:06 PM
Blah... multiple attachments... RE: Todo :p (again) Preview thing bug by Guido on 01-10-2004 at 10:57 PM
quote:But the size limit can be kept. I.e. lets say you currently can upload a file of up to 500kb, with multiple attachments you could attach up to 5 of 100kb each or similar combinations, with, for example, a 10-file limit. It's handy... and will save some posts when wanting to post 9 images RE: Todo :p (again) Preview thing bug by WDZ on 01-10-2004 at 11:05 PM
I don't want 9 images in a post though. |