What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Todo :p (again) Preview thing bug

Pages: (4): « First « 1 [ 2 ] 3 4 » Last »
Todo :p (again) Preview thing bug
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Todo :p (again) Preview thing bug
quote:
Originally posted by Choli
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.
quick thought: Can't you do a check for that?
I would love to see the feature....
.-= A 'frrrrrrrituurrr' for Wacky =-.
01-08-2004 10:31 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Todo :p (again) Preview thing bug
quote:
Originally posted by CookieRevised
quick thought: Can't you do a check for that?
I would love to see the feature....
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
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
01-08-2004 10:40 PM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Todo :p (again) Preview thing bug
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. :p

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 ^o) 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.
01-09-2004 05:25 AM
Profile PM Web Find Quote Report
Chrono
forum admin
*******

Avatar
;o

Posts: 6022
Reputation: 116
39 / Male / Flag
Joined: Apr 2002
Status: Away
RE: Todo :p (again) Preview thing bug
first one (Y)
[Image: wdz_discrate.png]
01-09-2004 05:35 AM
Profile PM Web Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Todo :p (again) Preview thing bug
quote:
Originally posted by WDZ
* WDZ wonders how the great  Invision Board handles this problem... and vBulletin...
a temporal posts table in the DB?
quote:
Originally posted by WDZ
you need the post id to have the attachment URL, and that's not available until you post the message.
:$ so true
quote:
Originally posted by Chrono
first one (Y)
yep. Add the [attachment] code ;)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
01-09-2004 10:06 AM
Profile PM Find Quote Report
Tochjo
forum super mod
******

Avatar

Posts: 4205
Reputation: 78
37 / Male / Flag
Joined: Sep 2003
Status: Online
RE: Todo :p (again) Preview thing bug
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 :P

[*]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.

And something else has been bothering me much too, lately:
[*]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.

So, should they be fixed? *-)

Edit: forgot to say I'd like the [attachment] code too :)

This post was edited on 01-09-2004 at 03:17 PM by Tochjo.
01-09-2004 03:17 PM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Todo :p (again) Preview thing bug
quote:
Originally posted by Tochjo
[*]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.

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

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.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
01-09-2004 03:28 PM
Profile PM Find Quote Report
Tochjo
forum super mod
******

Avatar

Posts: 4205
Reputation: 78
37 / Male / Flag
Joined: Sep 2003
Status: Online
RE: Todo :p (again) Preview thing bug
quote:
Originally posted by Choli
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.
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 fix it avoid this problem, don't worry :P

This post was edited on 01-09-2004 at 05:45 PM by Tochjo.
01-09-2004 03:42 PM
Profile PM Find Quote Report
fluffy_lobster
Veteran Member
*****

Avatar
Posts: -2

Posts: 1391
Reputation: 23
36 / Male / Flag
Joined: Nov 2002
RE: Todo :p (again) Preview thing bug
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...
01-09-2004 05:22 PM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Todo :p (again) Preview thing bug
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"? :S I guess it's time for some WDZ vocabulary expansion... :p

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" :dodgy: 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... (Y) :refuck:

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. :refuck:

quote:
And I know how to fix it, don't worry :P
^o) Really? Since when do you know PHP, and since when do you have my code? :tongue:

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.

This post was edited on 01-09-2004 at 06:13 PM by WDZ.
01-09-2004 06:10 PM
Profile PM Web Find Quote Report
Pages: (4): « First « 1 [ 2 ] 3 4 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On