quote:
Originally posted by Tochjo
[*]Wrongly checking boxes automaticallyWhen the option to send an email when a reply is posted is disabled by default, and you post a reply to a thread without checking the box manually, you will not receive a reply (which is a good thing). But when you edit your post and choose to Preview it, the box for email notification will be checked automatically. This is probably a bug and thus it requires fixing.
I believe I've already fixed this in the upgrade I'm preparing.
quote:
[*]Wrong interpretation of hyperlinksWhen you type a hyperlink and add a comma after it, the comma will be included in the link. This is not the case with other diacritic symbols, is probably a bug and thus it requires fixing.
"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:
Edit: forgot to say I'd like the [attachment] code too
Good, people like my brilliant attachment code idea...
quote:
Originally posted by Choli
Talking about links, I've just remembered this bug:
code:
click here: http://www.example.com
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.
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:
Originally posted by Tochjo
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.
Not really... as I made it exclude the dot intentionally. I didn't add support for commas, so it's a missing feature.
quote:
And I know how to fix it, don't worry
Really? Since when do you know PHP, and since when do you have my code?
Edit: Ohh... dodgy edit. =P
quote:
Originally posted by fluffy_lobster
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...
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.